misp-mcp
This server provides an MCP interface to a MISP (Malware Information Sharing Platform) instance, enabling LLMs to perform comprehensive threat intelligence operations.
Event Management
Search, retrieve, create, update, publish, tag/untag, and delete MISP events
Filter by IOC value, type, tags, date range, or organization
Attribute (IOC) Management
Search IOCs across all events with filters for type, category, tags, and time range
Add single or bulk IOCs to events with type, value, category, and IDS flags
Delete attributes (soft or hard delete)
Correlation & Analysis
Correlate observable values (IPs, domains, hashes, URLs) across all MISP events
Find related events through shared attributes and correlations
Check values against MISP warninglists for known benign/false positive indicators
Export
Export IOCs in CSV, STIX, Suricata, Snort, text, or RPZ formats with time/tag/type filters
Export file hashes (MD5, SHA1, SHA256) for HIDS integration
Tags & Taxonomy
List, search, and apply tags (TLP, MITRE ATT&CK, custom) to events and attributes
Browse available taxonomies and tag usage statistics
Sightings
Report IOC sightings — confirm seen in the wild, mark as false positive, or set expiration
MITRE ATT&CK & Galaxy
Search ATT&CK galaxy clusters and attach techniques to events or attributes
Structured Objects
List and add structured objects (file, domain-ip, email) with grouped attributes using templates
Feed Management
List, toggle, fetch, and cache threat intelligence feeds
Organizational & Server Administration
List local and remote sharing partner organizations and their details
Check server status, version, permissions, and list sharing groups
Information Browsing
Access supported attribute types, instance statistics, and available taxonomies
Guided Workflows (Prompts)
Facilitate guided IOC investigations, incident event creation, and threat report generation
Provides tools to export threat intelligence Indicators of Compromise (IOCs) from a MISP instance in Snort format, facilitating integration with network intrusion detection and prevention systems.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@misp-mcpCheck if the domain malicious-site.com has any correlations or sightings"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
misp-mcp is a Model Context Protocol server for MISP, the open-source threat-intelligence sharing platform. It lets an LLM client such as Claude run IOC lookups, manage events, discover cross-event correlations, and export indicators directly against your own MISP instance. Unlike a generic HTTP wrapper, it ships 36 purpose-built tools, MISP-aware resources and prompts, and a confirmation gate that refuses destructive writes (delete, publish, untag) unless you explicitly approve them.
What it does
misp-mcp connects an AI agent to a MISP (Malware Information Sharing Platform & Threat Intelligence Sharing) instance over MISP's REST API and exposes it as Model Context Protocol tools, resources, and prompts. Point it at your MISP server with an API key and an LLM can search threat-intelligence events, look up and add indicators of compromise (IOCs), correlate indicators across events, attach MITRE ATT&CK galaxy clusters, check warninglists for false positives, and export IOCs as Suricata, Snort, STIX, CSV, RPZ, or hash lists. Read paths are safe by default; state-changing and destructive operations are guarded behind explicit confirmation flags so an agent cannot delete an event or publish to sharing partners without approval.
36 MCP tools covering events, attributes, correlations, tags, exports, sightings, warninglists, objects, galaxies, feeds, organisations, and server administration.
3 MCP resources for browsing attribute types, instance statistics, and available taxonomies.
3 MCP prompts for guided IOC investigation, incident event creation, and threat reporting.
Confirmation-gated writes so destructive tools refuse to run without
confirm: true(andconfirmHard: truefor permanent deletes).MITRE ATT&CK integration via galaxy cluster search and attachment.
Export formats including CSV, STIX, Suricata, Snort, text, RPZ, and hash lists.
SSL flexibility for the self-signed certificates common in on-prem MISP deployments.
Related MCP server: ThreatMCP
Quickstart
No checkout required. With Node.js 20+ installed, register the published package with any MCP client. For Claude Code:
claude mcp add misp \
--env MISP_URL=https://misp.example.com \
--env MISP_API_KEY=your-api-key-here \
--env MISP_VERIFY_SSL=false \
-- npx -y misp-mcpAdd --scope user to make it available from any directory instead of only the current project.
MCP client config (copy-paste)
For Claude Desktop, Cursor, or any client that reads a JSON mcpServers block, add:
{
"mcpServers": {
"misp": {
"command": "npx",
"args": ["-y", "misp-mcp"],
"env": {
"MISP_URL": "https://misp.example.com",
"MISP_API_KEY": "your-api-key-here",
"MISP_VERIFY_SSL": "false"
}
}
}
}Claude Desktop reads this from ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows). Restart the client after editing.
Prerequisites
Node.js 20 or later.
A running MISP instance with API access.
A MISP API key (MISP UI: Administration > List Auth Keys).
Configuration
Variable | Required | Default | Description |
| Yes | - | MISP instance base URL |
| Yes | - | API authentication key |
| No |
| Set |
| No |
| Request timeout in seconds |
| No |
| Set |
Destructive action safety
State-changing and destructive tools are guarded and refuse to run unless explicitly confirmed:
misp_delete_event,misp_delete_attribute,misp_delete_object,misp_publish_event, andmisp_tag_event(whenremove: true) requireconfirm: true.Setting
MISP_ALLOW_DESTRUCTIVE=truepre-authorizes these so theconfirmflag can be omitted (useful for trusted automation).Permanent hard deletes (
hard: trueonmisp_delete_attribute/misp_delete_object) require a second confirmation,confirmHard: true, in addition toconfirm: true. The env opt-in does not bypassconfirmHard.
A guarded call returns an error (isError: true) with a Refused: message and performs no MISP request.
Why not the MISP web UI or raw API?
The MISP web UI and PyMISP are excellent for analysts working a console. misp-mcp is for the case where the operator is an LLM agent, not a human at a browser. It gives the model a typed, named tool for each common MISP operation, validates inputs with Zod, and shapes responses so a model can reason over them, rather than handing the model a raw REST endpoint and an OpenAPI dump. It also adds a guardrail layer the bare API does not: destructive operations fail closed unless the caller opts in, so an over-eager agent cannot publish or delete intelligence by accident. If you want a human-driven console, use the MISP UI. If you want PyMISP scripting, use PyMISP. Use misp-mcp when you want a chat or agent client to drive MISP safely.
What misp-mcp is not
Not a MISP server. It talks to an existing MISP instance over the REST API; it does not store, host, or replace MISP.
Not a general HTTP proxy. It exposes a curated set of MISP operations as MCP tools, not arbitrary passthrough to every MISP endpoint.
Not a SIEM, EDR, or alerting system. It reads and writes threat intelligence; it does not collect logs or generate alerts on its own.
Not a credential vault. It reads
MISP_URLandMISP_API_KEYfrom the environment; manage and rotate those keys with your own secrets tooling.Not an autonomous deleter. Destructive and publishing actions are confirmation-gated by design.
Tools
Verified against the server source (36 tools, registered in src/tools/).
Event tools (6)
Tool | Description |
| Search events by IOC value, type, tags, date range, organization |
| Get full event details including attributes, objects, galaxies, related events |
| Create a new event with threat level, distribution, and analysis status |
| Update event metadata (info, threat level, analysis, publish state) |
| Publish an event to trigger alerts to sharing partners (requires |
| Add or remove tags (TLP, MITRE ATT&CK, custom) from an event (removal requires |
Attribute tools (4)
Tool | Description |
| Search IOCs across all events with type, category, and correlation filters |
| Add a single IOC to an event |
| Add multiple IOCs to an event in one operation |
| Soft or hard delete an attribute (requires |
Correlation & intelligence tools (3)
Tool | Description |
| Find all events and attributes matching a value, with cross-event correlations |
| Discover events related through shared IOCs |
| Get all available attribute types and category mappings |
Tag & taxonomy tools (2)
Tool | Description |
| List available tags with usage statistics |
| Find events or attributes by tag |
Export tools (2)
Tool | Description |
| Export IOCs in CSV, STIX, Suricata, Snort, text, or RPZ format |
| Export file hashes (MD5, SHA1, SHA256) for HIDS integration |
Sighting & warninglist tools (2)
Tool | Description |
| Report a sighting, false positive, or expiration for an IOC |
| Check if a value appears on known benign/false positive lists |
Object tools (4)
Tool | Description |
| List available MISP object templates (file, domain-ip, email, etc.) |
| Get template details with required/optional attributes |
| Add a structured object (grouped attributes) to an event |
| Delete an object from an event (requires |
Galaxy tools (4)
Tool | Description |
| List galaxies (MITRE ATT&CK, threat actors, malware, tools, etc.) |
| Get galaxy details with all clusters |
| Search clusters by keyword (find ATT&CK techniques, threat actors) |
| Attach a cluster (ATT&CK technique, etc.) to an event or attribute |
Feed tools (4)
Tool | Description |
| List configured threat intel feeds |
| Enable or disable a feed |
| Trigger a fetch/pull from a feed |
| Cache feed data locally for correlation |
Organisation tools (2)
Tool | Description |
| List local and remote sharing partner organisations |
| Get organisation details |
Server & admin tools (3)
Tool | Description |
| Get MISP version, permissions, and diagnostics |
| List sharing groups for controlled distribution |
| Delete a MISP event (requires |
Resources
Resource URI | Description |
| All supported attribute types, categories, and their mappings |
| MISP instance statistics |
| Available taxonomies (TLP, MITRE ATT&CK, etc.) |
Prompts
Prompt | Description |
| Deep IOC investigation: search, correlate, check warninglists, summarize threat context |
| Guided event creation from an incident description with IOC ingestion |
| Generate a threat intelligence report from MISP data |
Usage examples
Search for an IOC
"Search MISP for the IP address 203.0.113.50"
Uses misp_search_events and misp_search_attributes to find all events and attributes referencing this IP.
Investigate a suspicious domain
"Investigate suspicious-domain.example in MISP"
Triggers the investigate-ioc prompt workflow: searches for the domain, checks correlations, queries warninglists, and provides a structured threat assessment.
Create an incident event
"Create a MISP event for a phishing campaign targeting our finance team. The phishing emails came from attacker@phish.example and linked to https://harvest.phish.example/login"
Uses misp_create_event followed by misp_add_attributes_bulk to create a fully populated event.
Export Suricata rules
"Export all IOCs from the last 7 days as Suricata rules"
Uses misp_export_iocs with format "suricata" and last "7d".
Check for false positives
"Is 192.0.2.123 on any MISP warninglists?"
Uses misp_check_warninglists to verify if the value is a known benign indicator.
Find MITRE ATT&CK techniques
"Search for phishing techniques in MITRE ATT&CK"
Uses misp_search_galaxy_clusters to find relevant ATT&CK techniques, then misp_attach_galaxy_cluster to link them to events.
Add structured objects
"Add a file object to event 1 with filename encrypt.exe, SHA256 hash, and file size"
Uses misp_add_object with the "file" template to create a structured group of related attributes.
Supported attribute types
Type | Category | Example |
| Network activity | Source IP address |
| Network activity | Destination IP address |
| Network activity | Domain name |
| Network activity | Hostname |
| Network activity | Full URL |
| Payload delivery | Sender email address |
| Payload delivery | MD5 file hash |
| Payload delivery | SHA1 file hash |
| Payload delivery | SHA256 file hash |
| Payload delivery | File name |
Use misp_describe_types for the complete list of supported types and categories.
Other clients & local development
From source
git clone https://github.com/lidless-labs/misp-mcp.git
cd misp-mcp
npm install
npm run buildThen point any client's command/args at node /absolute/path/to/misp-mcp/dist/index.js instead of npx -y misp-mcp.
Claude Code (source checkout)
claude mcp add misp \
--env MISP_URL=https://misp.example.com \
--env MISP_API_KEY=your-api-key-here \
--env MISP_VERIFY_SSL=false \
-- node /absolute/path/to/misp-mcp/dist/index.jsOpenClaw
openclaw mcp set misp '{
"command": "npx",
"args": ["-y", "misp-mcp"],
"env": {
"MISP_URL": "https://misp.example.com",
"MISP_API_KEY": "your-api-key-here",
"MISP_VERIFY_SSL": "false"
}
}'For a source checkout, use "command": "node" with "args": ["/absolute/path/to/misp-mcp/dist/index.js"]. Then restart the gateway and confirm registration:
systemctl --user restart openclaw-gateway
openclaw mcp list # confirm "misp" is registeredCodex CLI
codex mcp add misp \
--env MISP_URL=https://misp.example.com \
--env MISP_API_KEY=your-api-key-here \
--env MISP_VERIFY_SSL=false \
-- npx -y misp-mcpCodex writes the entry to ~/.codex/config.toml under [mcp_servers.misp]. Verify with codex mcp list.
Hermes Agent
Hermes Agent reads MCP config from ~/.hermes/config.yaml under mcp_servers:
mcp_servers:
misp:
command: "npx"
args: ["-y", "misp-mcp"]
env:
MISP_URL: "https://misp.example.com"
MISP_API_KEY: "your-api-key-here"
MISP_VERIFY_SSL: "false"Then /reload-mcp inside a Hermes session.
Docker
docker build -t misp-mcp .
docker run -e MISP_URL=https://misp.example.com -e MISP_API_KEY=your-key -e MISP_VERIFY_SSL=false misp-mcpStandalone
MISP_URL=https://misp.example.com MISP_API_KEY=your-key node dist/index.jsDevelopment
MISP_URL=https://misp.example.com MISP_API_KEY=your-key npm run devTesting
npm test # Unit tests (mocked)
npm run test:integration # Integration tests against a live MISP instance
npm run test:watch # Watch mode
npm run lint # Type checkIntegration tests require MISP_URL, MISP_API_KEY, and optionally MISP_VERIFY_SSL=false environment variables.
Project structure
misp-mcp/
src/
index.ts # MCP server entry point
config.ts # Environment config + validation
client.ts # MISP REST API client
guards.ts # Destructive-action confirmation guards
types.ts # MISP API type definitions
resources.ts # MCP resources
prompts.ts # MCP prompts
tools/ # One module per tool family (events, attributes, ...)
tests/ # Unit + integration tests
Dockerfile
package.jsonContributing
Issues and pull requests are welcome. See CONTRIBUTING.md for the contribution path and SECURITY.md for how to report a vulnerability privately. By participating you agree to the Code of Conduct.
License
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lidless-labs/misp-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server