Logo: Cyber Sentinel MCP Server

Cyber Sentinel MCP Server

Communautéit
jx888-max

đŸ›Ąïž Comprehensive threat intelligence aggregation MCP server

Editeurjx888-max
Repositorycyber-sentinel-mcp
SproochPython
Forks
3
StÀren
8
Disponibel Tools
0
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Cyber Sentinel MCP Server bitt MCP-Funktiounen un, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • Disponibel Tools: 0

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopĂ©ieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an deem MCP-Client ze konfiguréieren, deen Dir am léifste benotzt.

  • Interessi vun der CommunautĂ©it um Open-Source-Projet

    Zuele vum verlinkte Repository – StĂ€ren: 8, Forks: 3.

đŸ›Ąïž Cyber Sentinel MCP Server

A comprehensive threat intelligence aggregation MCP (Model Context Protocol) server that provides unified access to multiple threat intelligence sources for security analysis.

🎯 Overview

Cyber Sentinel eliminates the tedious manual process of querying multiple threat intelligence sources by providing a single, unified interface. Security analysts can now analyze indicators (IPs, domains, hashes, URLs) across multiple sources with a single command, getting aggregated results with confidence scoring.

✹ Features

🔍 Threat Intelligence

  • Multi-Source Intelligence: Aggregates data from VirusTotal v3, AbuseIPDB, URLhaus, Shodan, ThreatFox, and MalwareBazaar
  • Smart Indicator Detection: Automatically detects IP addresses, domains, file hashes, and URLs
  • Intelligent Aggregation: Combines results from multiple sources with confidence scoring
  • Async Performance: High-performance concurrent processing
  • Smart Caching: Reduces API calls and improves response times (1-hour TTL)
  • Rate Limiting: Respects API limits across all sources (60 req/min default)
  • Error Recovery: Graceful handling of API failures and timeouts

đŸ›Ąïž Code Security Analysis

  • Multi-Language Support: Analyzes Python, JavaScript, Java, C#, PHP, Go, Rust, C++, and SQL code
  • Vulnerability Detection: Identifies hardcoded secrets, SQL injection, XSS, path traversal, and more
  • Network Indicator Analysis: Extracts and analyzes IPs, domains, and URLs found in code
  • Secure Alternatives: Provides secure coding recommendations and alternatives
  • Risk Scoring: Calculates comprehensive security risk scores

📩 Dependency Security

  • Multi-Platform Support: Scans NPM, Python, Maven, Cargo, Go, and Composer dependencies
  • Vulnerability Detection: Identifies known malicious packages and outdated dependencies
  • Security Recommendations: Provides actionable security improvement suggestions
  • Risk Assessment: Comprehensive dependency risk scoring

🐳 Infrastructure Security

  • Docker Security: Analyzes Dockerfile configurations for security best practices
  • Kubernetes Security: Scans K8s manifests for security misconfigurations
  • CI/CD Integration: Provides security analysis for DevOps pipelines

📊 Reporting & Visualization

  • Rich Reports: Generates comprehensive security analysis reports
  • Visual Dashboards: Creates security metrics and trend visualizations
  • Export Options: Supports multiple output formats (JSON, HTML, PDF)
  • MCP Protocol: Full compatibility with MCP-enabled AI assistants

🚀 Quick Start

Prerequisites

  • Python 3.8 or higher
  • MCP-compatible client (Claude Desktop, Cursor, etc.)

Installation

  1. Clone the repository:
bash
git clone https://github.com/jx888-max/cyber-sentinel-mcp.git
cd cyber-sentinel-mcp
  1. Install dependencies:
bash
pip install -e .
  1. é…çœźAPI毆钄:
bash
# èżèĄŒèźŸçœźć‘ćŻŒ
python -m cyber_sentinel.setup_wizard

# æˆ–è€…ç›ŽæŽ„èźŸçœźçŽŻćąƒć˜é‡
export VIRUSTOTAL_API_KEY=your_virustotal_api_key_here
export ABUSEIPDB_API_KEY=your_abuseipdb_api_key_here
  1. Verify installation:
bash
python -c "from cyber_sentinel.server import app; print('✅ Installation successful!')"

API Key Setup

VirusTotal (Highly Recommended)

  • Free Tier: 1,000 requests/day
  • Capabilities: IP, domain, hash, and URL analysis
  1. Visit VirusTotal
  2. Create a free account
  3. Get your API key from the API section
  4. Add to .env: VIRUSTOTAL_API_KEY=your_key_here

AbuseIPDB (Highly Recommended)

  • Free Tier: 1,000 requests/day
  • Capabilities: IP address reputation and abuse reporting
  1. Visit AbuseIPDB
  2. Create a free account
  3. Get your API key from the account settings
  4. Add to .env: ABUSEIPDB_API_KEY=your_key_here

Shodan (Optional)

  • Free Tier: 100 results/month
  • Capabilities: Internet-connected device intelligence
  1. Visit Shodan
  2. Create an account and get your API key
  3. Add to .env: SHODAN_API_KEY=your_key_here

URLhaus (No API Key Required)

  • Free: Works without API key for basic usage
  • Capabilities: Malware URL and payload tracking

🔧 MCP Client Configuration

Claude Desktop

Add to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "cyber-sentinel": {
      "command": "python",
      "args": ["-m", "cyber_sentinel.server"],
      "cwd": "/path/to/cyber-sentinel",
      "env": {
        "VIRUSTOTAL_API_KEY": "your_virustotal_key",
        "ABUSEIPDB_API_KEY": "your_abuseipdb_key",
        "SHODAN_API_KEY": "your_shodan_key"
      }
    }
  }
}

Cursor/VS Code

Add to your MCP configuration:

json
{
  "mcp.servers": {
    "cyber-sentinel": {
      "command": ["python", "-m", "cyber_sentinel.server"],
      "cwd": "/path/to/cyber-sentinel",
      "env": {
        "VIRUSTOTAL_API_KEY": "your_virustotal_key",
        "ABUSEIPDB_API_KEY": "your_abuseipdb_key"
      }
    }
  }
}

📖 Usage Examples

Once configured in your MCP client, you can use natural language to analyze security indicators:

🔍 Threat Intelligence Analysis

Analyze the IP address 8.8.8.8 for any malicious activity
Check if 1.1.1.1 is safe to use
Is google.com safe?
Check the security status of example.com
Analyze this MD5 hash: d41d8cd98f00b204e9800998ecf8427e
Is this URL safe: https://example.com/suspicious-path
Show me the status of all threat intelligence sources

đŸ›Ąïž Code Security Analysis

Analyze this Python code for security vulnerabilities:
[paste your code here]

Check this JavaScript function for XSS vulnerabilities:
[paste your code here]

Scan this SQL query for injection risks:
[paste your code here]

📩 Dependency Security Scanning

Scan these project dependencies for vulnerabilities:
package.json: [paste content]
requirements.txt: [paste content]

Check my Python project for outdated packages:
[provide requirements.txt content]

🐳 Infrastructure Security

Analyze this Dockerfile for security issues:
[paste Dockerfile content]

Check this Kubernetes deployment for security misconfigurations:
[paste K8s YAML content]

📊 Security Reporting

Generate a comprehensive security report for my project
Create a security dashboard with current threat landscape
Export security findings to HTML report

đŸ› ïž Available MCP Tools

🔍 Threat Intelligence Tools

analyze_indicator

Analyzes security indicators across multiple threat intelligence sources.

Supported Indicators:

  • IP Addresses: IPv4 addresses (e.g., 8.8.8.8)
  • Domain Names: Any domain (e.g., google.com)
  • File Hashes: MD5, SHA1, SHA256 hashes
  • URLs: Complete URLs (e.g., https://example.com)

Returns:

  • Overall reputation (clean/malicious/unknown)
  • Confidence score (0-100%)
  • Results from individual threat intelligence sources
  • Geographic and ISP information (for IPs)
  • Detailed analysis data

check_api_status

Checks the configuration and status of all threat intelligence sources.

Returns:

  • API key validation status
  • Available capabilities per source
  • Rate limiting configuration
  • Overall system health

đŸ›Ąïž Security Analysis Tools

analyze_code_security

Performs comprehensive security analysis of source code.

Parameters:

  • code_content: Source code to analyze
  • language: Programming language (auto-detected if not specified)
  • locale: Output language (zh/en)

Returns:

  • Security vulnerabilities and their severity
  • Hardcoded secrets and credentials
  • Network indicators found in code
  • Secure coding recommendations
  • Risk score and remediation guidance

scan_project_dependencies

Scans project dependencies for security vulnerabilities.

Parameters:

  • project_files: Dictionary of dependency files (package.json, requirements.txt, etc.)

Returns:

  • Known malicious packages
  • Outdated dependencies with vulnerabilities
  • Security recommendations
  • Risk assessment and scoring

analyze_docker_security

Analyzes Docker configurations for security best practices.

Parameters:

  • dockerfile_content: Dockerfile content to analyze

Returns:

  • Security misconfigurations
  • Best practice violations
  • Hardening recommendations
  • Risk assessment

scan_kubernetes_config

Scans Kubernetes manifests for security issues.

Parameters:

  • k8s_manifests: Dictionary of Kubernetes YAML files

Returns:

  • Security policy violations
  • Privilege escalation risks
  • Network security issues
  • Compliance recommendations

generate_security_report

Generates comprehensive security reports with visualizations.

Parameters:

  • analysis_results: Combined results from security analyses
  • report_format: Output format (json/html/markdown)

Returns:

  • Formatted security report
  • Executive summary
  • Detailed findings
  • Remediation roadmap

📊 Example Response

json
{
  "indicator": "8.8.8.8",
  "type": "ip",
  "overall_reputation": "clean",
  "confidence": 100.0,
  "sources_checked": 4,
  "sources_responded": 3,
  "malicious_sources": 0,
  "clean_sources": 3,
  "countries": ["US"],
  "isps": ["Google LLC"],
  "detailed_results": [
    {
      "source": "VirusTotal",
      "reputation": "clean",
      "malicious_count": 0,
      "total_engines": 89
    }
  ],
  "errors": [],
  "timestamp": "2024-01-15T10:30:00Z"
}

⚡ Performance & Reliability

🚀 High Performance

  • Async Architecture: High-performance concurrent processing across all analysis tools
  • Smart Caching: 1-hour TTL reduces API calls and improves response times
  • Parallel Processing: Simultaneous analysis across multiple threat intelligence sources
  • Optimized Algorithms: Efficient pattern matching and vulnerability detection

đŸ›Ąïž Reliability & Resilience

  • Rate Limiting: Configurable limits (default: 60 requests/minute) with intelligent throttling
  • Timeout Handling: 30-second request timeouts prevent hanging operations
  • Error Recovery: Graceful handling of API failures and network issues
  • Fallback Mechanisms: Continues analysis even when some sources are unavailable
  • Retry Logic: Automatic retry with exponential backoff for transient failures

🔒 Security & Privacy

đŸ›Ąïž Data Protection

  • Zero Data Storage: No indicators, code, or analysis results are permanently stored
  • Memory-Only Processing: All analysis happens in memory with automatic cleanup
  • API Key Security: Keys managed securely through environment variables and encrypted storage
  • Source Isolation: Each threat intelligence source operates independently with isolated credentials

🔐 Privacy Safeguards

  • Local Processing: Code analysis happens locally without external transmission
  • Error Isolation: Sensitive information is never exposed in error messages or logs
  • Audit Trail: Optional security event logging for compliance requirements
  • Data Minimization: Only necessary data is processed and immediately discarded

đŸ§Ș Testing

Run the test suite to verify functionality:

bash
# Run unit tests
python -m pytest tests/ -v

# Test with your API keys
python -c "
from cyber_sentinel.server import check_api_status
import asyncio
print(asyncio.run(check_api_status()))
"

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

đŸ€ Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes and add tests
  4. Commit your changes (git commit -m 'Add amazing feature')
  5. Push to the branch (git push origin feature/amazing-feature)
  6. Open a Pull Request

🆘 Support

🙏 Acknowledgments

  • Anthropic for the MCP protocol and Claude AI
  • VirusTotal for comprehensive malware analysis
  • AbuseIPDB for IP reputation intelligence
  • URLhaus for malware URL tracking
  • Shodan for internet device intelligence
  • ThreatFox for IOC sharing platform
  • MalwareBazaar for malware sample intelligence
  • OWASP for security best practices and vulnerability patterns
  • Open source security community for continuous threat intelligence sharing

đŸ›Ąïž Threat Intelligence, Simplified.

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

{
  "mcpServers": {
    "jx888-max-cyber-sentinel-mcp": {
      "command": "",
      "args": []
    }
  }
}

Cyber Sentinel MCP Server MCP mat verschiddene KI-Modeller benotzen

TypingMind verbĂ«nnt MCP-Tools um Niveau vum AarbechtsberĂ€ich. Soubal Cyber Sentinel MCP Server verbonnen ass, kĂ«nnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. DĂ«s MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung, fir de lokale Connector ze benotzen

Benotzt dĂ«s Optioun, wann den MCP-Server ZougrĂ«ff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „DĂ«sen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector: D'Optioun „DĂ«sen Apparat“ ass ausgewielt
2

De Connector-Befeel ausféieren

Wielt „DĂ«sen Apparat“, kopĂ©iert de Befeel aus TypingMind a fĂ©iert en am Terminal aus. Loosst de Prozess lafen, wĂ€rend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Setzt de kopéierte Befeel an a féiert en aus.
  4. BestÀtegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wÀrend Dir MCP-Tools benotzt.
3

Cyber Sentinel MCP Server als Server derbÀisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren Ă€nneren“ a setzt d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren Ă€nneren“.
  3. Setzt d'MCP-Serverkonfiguratioun fir Cyber Sentinel MCP Server an.
  4. SpÀichert d'Serverlëscht.
  5. Aktualiséiert d'SÀit, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem KnĂ€ppchen „Serveren Ă€nneren“
{
  "mcpServers": {
    "jx888-max-cyber-sentinel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "cyber-sentinel-mcp"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

SpĂ€ichert d'ServerlĂ«scht, maacht „Plugins“ op an aktivĂ©iert d'MCP-Tools vun der Integratioun Cyber Sentinel MCP Server. Wielt dann e belibegen Ă«nnerstĂ«tzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'SĂ€it „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vun der Integratioun Cyber Sentinel MCP Server.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierten MCP-Tools an engem ausgewielte KI-Modell
Kënnt Dir mir mat Cyber Sentinel MCP Server bei dëser Aufgab hëllefen?
Cyber Sentinel MCP Server
Jo. Ech hunn et gelies.
Dat hunn ech mat Cyber Sentinel MCP Server fonnt.

Heefeg gestallte Froen

Fir wat gëtt den MCP-Server Cyber Sentinel MCP Server benotzt?

Cyber Sentinel MCP Server ass en MCP-Server, deen et kompatibele KI-Clienten erlaabt, op extern Tools a Kontextinformatioune zouzegrĂ€ifen. An TypingMind kĂ«nnt Dir dĂ«sen MCP-Server eemol derbĂ€isetzen a seng Tools an Ärem KI-AarbechtsberĂ€ich zur VerfĂŒgung stellen.

Kann ech Cyber Sentinel MCP Server MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum AarbechtsberÀich. Sou kënnt Dir Cyber Sentinel MCP Server mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni den MCP-Server fir all Modell separat anzeriichten.

Firwat Cyber Sentinel MCP Server MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte BenotzeruewerflĂ€che fir LLM-Chat, well et mĂ©i KI-Modeller, Prompts, Plugins, KI-Agenten, API-SchlĂ«sselen a MCP-Tools an engem AarbechtsberĂ€ich zesummebrĂ©ngt. Wann Cyber Sentinel MCP Server verbonnen ass, kĂ«nnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a glĂ€ichzĂ€iteg Ären Aarbechtsoflaf beim Chatten an TypingMind organisĂ©ieren.

Wéi verbannen ech Cyber Sentinel MCP Server MCP mat TypingMind?

Cyber Sentinel MCP Server leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann den MCP-Server ZougrĂ«ff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

WĂ©i eng Tools stellt Cyber Sentinel MCP Server MCP an TypingMind zur VerfĂŒgung?

Cyber Sentinel MCP Server stellt MCP-Funktioune zur VerfĂŒgung, dĂ©i Dir op der Plugins-SĂ€it vun TypingMind aktivĂ©iere kĂ«nnt, fir se am Chat ze benotzen oder KI-Agente zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Cyber Sentinel MCP Server MCP ze benotzen?

Nee. TypingMind ass nom Local-first-Prinzip opgebaut a lĂ©isst Iech d'Kontroll iwwer Är Modellubidder, API-SchlĂ«sselen, Prompts a MCP-Konfiguratioun. Wann Cyber Sentinel MCP Server eng AuthentifizĂ©ierung verlaangt, setzt dĂ©i nĂ©ideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir deen MCP-Server derbĂ€i, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

Alleguer weisen

Elo Ären eegene KI-AarbechtsberĂ€ich ariichten

AbonnĂ©iert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukĂŒnfteg GewĂ«nnspiller informĂ©iert ze ginn 👇