MCP server for the MITRE ATT&CK knowledge base: map alerts to techniques, profile threat groups, analyze detection coverage, and enrich SOC workflows from an AI client.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add mitre --env MITRE_MATRICES='<MITRE_MATRICES>' -- npx -y mitre-mcp~/.codex/config.toml
[mcp_servers.mitre]
command = "npx"
args = ["-y", "mitre-mcp"]
env = { MITRE_MATRICES = "<MITRE_MATRICES>" }
# codex mcp add mitre --env MITRE_MATRICES='<MITRE_MATRICES>' -- npx -y mitre-mcp~/.cursor/mcp.json
{
"mcpServers": {
"mitre": {
"command": "npx",
"args": [
"-y",
"mitre-mcp"
],
"env": {
"MITRE_MATRICES": "<MITRE_MATRICES>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"mitre": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mitre-mcp"
],
"env": {
"MITRE_MATRICES": "<MITRE_MATRICES>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"mitre": {
"command": "npx",
"args": [
"-y",
"mitre-mcp"
],
"env": {
"MITRE_MATRICES": "<MITRE_MATRICES>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"mitre": {
"command": "npx",
"args": [
"-y",
"mitre-mcp"
],
"env": {
"MITRE_MATRICES": "<MITRE_MATRICES>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"mitre": {
"command": "npx",
"args": [
"-y",
"mitre-mcp"
],
"env": {
"MITRE_MATRICES": "<MITRE_MATRICES>"
}
}
}
}需要的环境变量
MITRE_MATRICES
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。