Logo de Cyber Sentinel MCP Server

Cyber Sentinel MCP Server

Comunidade
jx888-max

🛡️ Comprehensive threat intelligence aggregation MCP server

Publicado porjx888-max
Repositóriocyber-sentinel-mcp
IdiomaPython
Forks
3
Estrelas
8
Ferramentas disponíveis
0
Tipo de transportestdio
Categorias
LicençaMIT
Links
  • Conecte ferramentas a fluxos de trabalho de IA

    Cyber Sentinel MCP Server disponibiliza recursos MCP que podem ser usados por clientes e agentes de IA compatíveis.

  • Ferramentas disponíveis: 0

    Confira abaixo as ações que o cliente MCP pode executar, com nomes e descrições quando fornecidos pelo servidor.

  • Configuração pronta para copiar

    Use os exemplos de instalação para configurar este servidor no seu cliente MCP preferido.

  • Indicadores da comunidade de código aberto

    Estrelas: 8 e forks: 3 no repositório vinculado.

🛡️ 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.

Instalação

TypingMind
Pré-requisitos:

Node.js 18+

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

Use o MCP de Cyber Sentinel MCP Server com vários modelos de IA

O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho. Assim, após conectar Cyber Sentinel MCP Server, é possível usá-lo com diferentes modelos de IA no TypingMind, em vez de configurá-lo separadamente para cada modelo. Este MCP é executado localmente no seu dispositivo por meio do conector MCP do TypingMind.

Guia de configuração para usar o conector local

Use esta opção quando o servidor MCP precisar acessar arquivos locais, aplicativos ou recursos privados no seu computador.

1

Abra as configurações de MCP

No TypingMind, acesse Configurações > Configurações avançadas > Model Context Protocol e selecione Configurar conector.

  1. Abra o TypingMind no navegador.
  2. Clique no ícone de Configurações.
  3. Acesse Configurações avançadas.
  4. Abra a seção Model Context Protocol.
  5. Clique em Configurar conector e selecione Este dispositivo.
Tela de configuração do conector MCP do TypingMind com a opção Este dispositivo selecionada
2

Execute o comando do conector

Selecione Este dispositivo, copie o comando do TypingMind e execute-o no Terminal. Mantenha o processo em execução enquanto usa o MCP.

  1. Copie o comando de configuração exibido pelo TypingMind.
  2. Abra o Terminal no macOS ou o Windows Terminal no Windows.
  3. Cole e execute o comando.
  4. Autorize a instalação do pacote se o Terminal pedir confirmação para continuar.
  5. Mantenha o processo em execução na janela do Terminal enquanto usa as ferramentas MCP.
3

Adicione Cyber Sentinel MCP Server como servidor

Quando o status do conector for Pronto, clique em Editar servidores e cole a configuração do servidor MCP.

  1. Aguarde até que o status do conector mostre Pronto.
  2. Clique em Editar servidores.
  3. Cole a configuração do servidor MCP de Cyber Sentinel MCP Server.
  4. Salve a lista de servidores.
  5. Se quiser confirmar que o conector ainda está pronto para uso, atualize a página.
Configurações de MCP do TypingMind mostrando um servidor ativo e o botão Editar servidores
{
  "mcpServers": {
    "jx888-max-cyber-sentinel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "cyber-sentinel-mcp"
      ]
    }
  }
}
4

Use a conexão com diferentes modelos

Salve a lista de servidores, abra Plugins, ative as ferramentas MCP de Cyber Sentinel MCP Server, selecione qualquer modelo de IA compatível no TypingMind e use as ferramentas no chat ou atribua-as a um agente de IA.

  1. Abra a página Plugins no TypingMind.
  2. Ative as ferramentas MCP de Cyber Sentinel MCP Server.
  3. Inicie um chat e escolha o modelo de IA que deseja usar.
  4. Use as ferramentas MCP no chat ou atribua-as a um agente de IA.
  5. Mude para outro modelo de IA sempre que necessário, sem reconectar o MCP.
Chat do TypingMind usando ferramentas MCP ativadas com um modelo de IA selecionado
Pode usar Cyber Sentinel MCP Server para me ajudar nesta tarefa?
Cyber Sentinel MCP Server
Claro. Já li.
Veja o que encontrei usando Cyber Sentinel MCP Server.

Perguntas frequentes

Para que serve o servidor MCP Cyber Sentinel MCP Server?

Cyber Sentinel MCP Server é um servidor MCP que permite que aplicativos de IA compatíveis se conectem a ferramentas externas e informações de contexto. No TypingMind, basta adicionar esse servidor MCP uma vez para disponibilizar suas ferramentas no seu espaço de trabalho com IA.

Posso usar o MCP Cyber Sentinel MCP Server com vários modelos de IA no TypingMind?

Sim. O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho, permitindo usar Cyber Sentinel MCP Server com diferentes modelos de IA, como Claude, ChatGPT, Gemini ou outros modelos configurados no TypingMind, sem configurar o servidor MCP separadamente para cada modelo.

Por que usar o MCP Cyber Sentinel MCP Server com o TypingMind?

O TypingMind é uma das melhores interfaces de chat com LLMs porque reúne vários modelos de IA, prompts, plugins, agentes de IA, chaves de API e ferramentas MCP em um só espaço de trabalho. Com Cyber Sentinel MCP Server conectado, é possível usar suas ferramentas MCP nos seus modelos preferidos e manter seu fluxo de trabalho de chat organizado no TypingMind.

Como conecto o MCP Cyber Sentinel MCP Server ao TypingMind?

Cyber Sentinel MCP Server funciona por meio do conector MCP local do TypingMind. Essa é a melhor opção quando o servidor MCP precisa acessar arquivos locais, apps de desktop, ferramentas de linha de comando ou recursos privados no seu computador.

Quais ferramentas o MCP Cyber Sentinel MCP Server oferece no TypingMind?

Cyber Sentinel MCP Server disponibiliza recursos MCP que podem ser ativados na página Plugins do TypingMind e usados no chat ou atribuídos a agentes de IA.

Preciso compartilhar minhas chaves de API com o TypingMind para usar o MCP Cyber Sentinel MCP Server?

Não. O TypingMind prioriza o uso local e permite manter seus provedores de modelos, chaves de API, prompts e configuração MCP sob seu controle. Se Cyber Sentinel MCP Server exigir autenticação, adicione os cabeçalhos, as configurações OAuth ou a configuração local exigidos por esse servidor MCP ao criar a conexão.

Servidores MCP relacionados

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇