Explore MITRE CWE weaknesses and CAPEC attack patterns, mitigations, code examples, and mappings via MCP. STDIO or Streamable HTTP.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add mitre-cwe -- npx -y @cyanheads/mitre-cwe-mcp-server~/.codex/config.toml
[mcp_servers.mitre-cwe]
command = "npx"
args = ["-y", "@cyanheads/mitre-cwe-mcp-server"]
# codex mcp add mitre-cwe -- npx -y @cyanheads/mitre-cwe-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"mitre-cwe": {
"command": "npx",
"args": [
"-y",
"@cyanheads/mitre-cwe-mcp-server"
]
}
}
}.vscode/mcp.json
{
"servers": {
"mitre-cwe": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/mitre-cwe-mcp-server"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"mitre-cwe": {
"command": "npx",
"args": [
"-y",
"@cyanheads/mitre-cwe-mcp-server"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"mitre-cwe": {
"command": "npx",
"args": [
"-y",
"@cyanheads/mitre-cwe-mcp-server"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"mitre-cwe": {
"command": "npx",
"args": [
"-y",
"@cyanheads/mitre-cwe-mcp-server"
]
}
}
}