
bornpresident/misp-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
A Model Context Protocol (MCP) server that integrates with the MISP (Malware Information Sharing Platform) to provide threat intelligence capabilities to Large Language Models.
Обзор
A Model Context Protocol (MCP) server that integrates with the MISP (Malware Information Sharing Platform) to provide threat intelligence capabilities to Large Language Models. - : Search for the latest macOS-related malware samples - : Search for threats affecting Windows, macOS, Linux, Android, iOS, and IoT devices - : Search by attribute type, tag, threat actor, or TLP classification - : Submit new Indicators of Compromise directly to your MISP instance - : Generate comprehensive reports based on MISP data - : Get insights into your MISP instance's data - Python 3.10 or higher - MISP instance with API access - API key with appropriate permissions 2. Create a virtual environment and install dependencies: Set the following environment variables to connect to your MISP instance: - MISP_URL - URL of your MISP instance (e.g., "https://misp.example.
README
Показан фрагмент оригинального README. Открыть оригинал.
MISP MCP Server
A Model Context Protocol (MCP) server that integrates with the MISP (Malware Information Sharing Platform) to provide threat intelligence capabilities to Large Language Models.
Features
- Mac Malware Detection: Search for the latest macOS-related malware samples
- Cross-Platform Threat Intelligence: Search for threats affecting Windows, macOS, Linux, Android, iOS, and IoT devices
- Advanced Search Capabilities: Search by attribute type, tag, threat actor, or TLP classification
- IoC Submission: Submit new Indicators of Compromise directly to your MISP instance
- Threat Intelligence Reports: Generate comprehensive reports based on MISP data
- MISP Statistics: Get insights into your MISP instance’s data
Prerequisites
- Python 3.10 or higher
- MISP instance with API access
- API key with appropriate permissions
Installation
-
Clone this repository:
git clone https://github.com/yourusername/misp-mcp-server.git cd misp-mcp-server -
Create a virtual environment and install dependencies:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install "mcp[cli]" pymisp
Configuration
Set the following environment variables to connect to your MISP instance:
MISP_URL- URL of your MISP instance (e.g., “https://misp.example.com”)MISP_API_KEY- Your MISP API keyMISP_VERIFY_SSL- Whether to verify SSL certificates (True/False)
Usage
Running as a standalone server
python misp_server.py
Testing with MCP Inspector
mcp dev misp_server.py
Installing in Claude Desktop
Edit your Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the MISP MCP server configuration:
{
"mcpServers": {
"misp-intelligence": {
"command": "python",
"args": ["/path/to/misp_server.py"],
"env": {
"MISP_URL": "https://your-misp-instance.com",
"MISP_API_KEY": "your-api-key-here",
"MISP_VERIFY_SSL": "True"
}
}
}
}
Alternatively, use the MCP CLI:
mcp install misp_server.py --name "MISP Threat Intelligence" -v MISP_URL=https://your-misp-instance.com -v MISP_API_KEY=your-api-key
Available Tools
get_mac_malware
Get the latest Mac-related malware samples from MISP.
Parameters:
days(default: 30): Number of days to look backlimit(default: 10): Maximum number of results to return
get_platform_malware
Get the latest malware samples for a specific platform from MISP.
Parameters:
platform: Platform to search for (windows, macos, linux, android, ios, iot)days(default: 30): Number of days to look backlimit(default: 10): Maximum number of results to return
advanced_search
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"misp-intelligence": {
"command": "python",
"args": ["/path/to/misp_server.py"],
"env": {
"MISP_URL": "https://your-misp-instance.com",
"MISP_API_KEY": "your-api-key-here",
"MISP_VERIFY_SSL": "True"
}
}
}
}