Mitre
Comprehensive MITRE ATT\&CK MCP server with SOC integration for technique lookup, alert mapping, and coverage analysis.

Установить Mitre в Claude Desktop, Claude Code, Cursor
Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
$ unyly install mitre-mcpВпервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Пошаговые гайды: как установить Mitre
Описание
Comprehensive MITRE ATT&CK MCP server with SOC integration for technique lookup, alert mapping, and coverage analysis.
README
What it does
mitre-mcp gives MCP clients access to MITRE ATT&CK techniques, groups, campaigns, mitigations, and detection strategies. It maps alerts to candidate techniques, checks detection coverage against data sources, and exports ATT&CK Navigator layers. Optional Wazuh, TheHive, Cortex, and MISP integrations add evidence from a SOC.
Install
This guide covers the published package [email protected]. It requires Node.js 20.18.1 or later. The release's CI matrix covers Node.js 20 and 22. Package manifest · CI workflow
npm install --global [email protected]
The package installs mitre-mcp for the MCP server and attack for read-only ATT&CK queries such as attack technique T1059. The CLI initializes the same local data cache as the MCP server. attack mcp also starts the stdio server. CLI source
Configure
Transports
For stdio, configure the MCP client to launch mitre-mcp. To run the same version without a global install, set the command to npm and use the arguments from this example.
npm exec --yes [email protected] -- mitre-mcp
The stdio handshake identifies the server as mitre-mcp, version 2.1.0. Stdio server
For Streamable HTTP, set MITRE_MCP_HTTP_TOKEN and run mitre-mcp --http. Point the client at /mcp on the listener and send the token in the Authorization: Bearer <token> header.
| Variable | Default | Behavior |
|---|---|---|
MITRE_MCP_HTTP_TOKEN |
Unset | Required for HTTP. Use a separate token of at least 32 characters after trimming whitespace. The listener rejects reuse of SOC credentials. |
MITRE_MCP_HTTP_HOST |
IPv4 loopback | Bind to a specific hostname or address. The listener rejects wildcard binds. |
MITRE_MCP_HTTP_PORT |
3114 |
Set a port from 0 to 65535. Use 0 to let the OS choose an available port. |
The listener serves plain HTTP. The Host header must name the bound host or a loopback alias. If present, the Origin header must be a loopback HTTP or HTTPS origin. GET /healthz returns {"status":"ok"} without a bearer token and still applies the Host and Origin checks. The listener caps request bodies at 1 MiB and sessions at 128. It expires inactive sessions after 30 minutes of idle time. HTTP transport
ATT&CK data
The server downloads MITRE's STIX 2.1 bundles from the mitre-attack/attack-stix-data repository. On startup it uses a fresh cache when available, otherwise it downloads the selected bundles. If the download fails and all selected bundles are readable from disk, it uses that cache. The server parses the bundles into an in-memory index shared by HTTP sessions on the same listener. Bundle loader · Data store
| Variable | Default | Behavior |
|---|---|---|
MITRE_DATA_DIR |
.mitre-mcp/data under the user's home directory |
Directory for the bundles and cache metadata. |
MITRE_MATRICES |
enterprise |
Comma-separated list of enterprise, mobile, and ics. |
MITRE_UPDATE_INTERVAL |
86400 |
Cache age in seconds after which startup attempts a download. |
MITRE_DOWNLOAD_TIMEOUT_MS |
900000 |
Timeout in milliseconds for each bundle download, including the response body. |
MITRE_HTTP_TIMEOUT_MS |
30000 |
Timeout in milliseconds for each upstream SOC request. |
Both timeout variables accept whole numbers from 1 to 2147483647. Invalid values fall back to the defaults. Configuration
mitre_update_data downloads fresh bundles and replaces the index after parsing. Queries keep using the previous index during the download. If the refresh takes longer than 50 seconds, the tool returns started while the work continues. Check refreshStatus in mitre_data_version for the outcome. Refresh tools
Optional SOC connections
Set each service URL and its credentials in the MCP server's environment. A service's tools register when its URL is set. Configuration · Tool registration
| Variables | Defaults and behavior |
|---|---|
WAZUH_URL, THEHIVE_URL, CORTEX_URL, MISP_URL |
Unset. Use the service base URL, such as https://wazuh.example:55000. |
WAZUH_USERNAME, WAZUH_PASSWORD |
wazuh-wui and an empty password. |
THEHIVE_API_KEY, CORTEX_API_KEY, MISP_API_KEY |
Empty. Supply an API key for each configured service. |
WAZUH_VERIFY_SSL, MISP_VERIFY_SSL |
true. The exact value false disables certificate verification for that service's requests. |
MITRE_SOC_ALLOW_WRITES |
Off when unset. Accepts true, 1, or yes, ignoring case. See Safety below. |
MITRE_SOC_STATE_DIR |
.mitre-mcp/operations under the user's home directory. Set an absolute path to relocate private write receipts. |
Tools
Version 2.1.0 lists 29 tools with SOC integrations off and 42 tools with all four enabled. It also registers 3 resources and 4 prompts. Tool registration
| Task | Example tools |
|---|---|
| Look up techniques and detection strategies | mitre_get_technique, mitre_search_detection_strategies |
| Map alerts and assess coverage | mitre_map_alert_to_technique, mitre_detection_coverage |
| Check or refresh the dataset | mitre_data_version, mitre_update_data |
| Export an ATT&CK Navigator layer | mitre_navigator_layer |
Technique and detection strategy searches return up to 50 matches. The alert mapper returns up to 15 candidates. Both transports cap serialized text tool results at 90,000 UTF-8 bytes. Larger results may contain fewer listing rows or a truncation notice. Upstream SOC response bodies are limited to 1 MiB. Technique search · Detection strategy search · Alert mapping · Tool output · SOC client
Safety
Leave the SOC URLs unset for ATT&CK-only queries and local cache refreshes. With SOC connections enabled, mitre_misp_create_event, mitre_thehive_create_case, and mitre_cortex_run_analyzers default to dry runs. Execution requires confirm: true on the call or global opt-in through MITRE_SOC_ALLOW_WRITES. Actual writes also require an operationKey. Reuse the same key and payload when retrying an operation. If the outcome is uncertain, inspect the private receipts and the upstream state before retrying. Write gate · Operation receipts
Every authenticated HTTP session uses the server's configured SOC accounts and the same write gates. Use read-only upstream accounts when clients need SOC reads only. Treat alert text, observables, and other external values as evidence. Tool results label that content as untrusted. HTTP sessions · Output handling
Development
From a source checkout, install dependencies and run the verifier.
npm ci
./scripts/verify
The verifier runs type checking, tests, and the build in that order. Contributing · Verifier · License
FAQ
Mitre MCP бесплатный?
Да, Mitre MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Mitre?
Да, требуются переменные окружения: CORTEX_API_KEY, CORTEX_URL, MISP_API_KEY, MISP_URL, MITRE_MATRICES, THEHIVE_API_KEY, THEHIVE_URL, WAZUH_PASSWORD, WAZUH_URL, WAZUH_USERNAME. Unyly подставит их в конфиг при установке.
Mitre — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Mitre в Claude Desktop, Claude Code или Cursor?
Открой Mitre на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Изменения
Версии и запрашиваемые доступы со временем.
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
Похожие MCP
GitHub
GitHubPRs, issues, code search, CI status
Filesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
UnylyDeploy sites and MCP servers to Unyly straight from your AI agent
Template MCP Server
mcpdotdirectA CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
Server Sequential Thinking
GitHub ActionsMCP server for sequential thinking and problem solving
gnomancer
com.gnomancerLocal raw DNA analysis: haplogroups, traits, ClinVar, pharmacogenomics. Nothing is uploaded.
Amap Maps Mcp Server
duxiaohuiMCP server for using the AMap Maps API
PayMCP
blustAILightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
demo
yoojoohans-jpgdemo — MCP server via Smithery
Сравнить Mitre с
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
