mitre-cwe-mcp-server
An MCP server that allows agents to explore MITRE CWE weaknesses and CAPEC attack patterns. It provides tools to search for weaknesses and attack patterns, retrieve detailed information including mitigations and code examples, and navigate CWE views and hierarchies. It supports STDIO and Streamable HTTP transports.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Search for software weaknesses by text, platform, or status
- Retrieve detailed CWE weaknesses with mitigations and code examples
- Explore CAPEC attack patterns and their mappings to CWE/ATT&CK
- Navigate CWE views and hierarchies to understand relationships
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@cyanheads/mitre-cwe-mcp-server 0.2.0
{
"version": "0.2.0",
"transport": "stdio",
"identifier": "@cyanheads/mitre-cwe-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
},
{
"name": "CWE_CACHE_DIR",
"format": "string",
"description": "Directory for the last good MITRE catalog downloads, loaded at start without waiting on MITRE. Defaults to mitre-cwe-mcp-server under the user cache directory."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mitre-cwe-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/mitre-cwe-mcp-server@0.2.0"
],
"env": {
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"CWE_CACHE_DIR": "<YOUR_CWE_CACHE_DIR>"
}
}
}
}Cline
{
"mcpServers": {
"mitre-cwe-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/mitre-cwe-mcp-server@0.2.0"
],
"env": {
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"CWE_CACHE_DIR": "<YOUR_CWE_CACHE_DIR>"
}
}
}
}VS Code
{
"servers": {
"mitre-cwe-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/mitre-cwe-mcp-server@0.2.0"
],
"env": {
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"CWE_CACHE_DIR": "<YOUR_CWE_CACHE_DIR>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"mitre-cwe-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/mitre-cwe-mcp-server@0.2.0"
],
"env": {
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"CWE_CACHE_DIR": "<YOUR_CWE_CACHE_DIR>"
}
}
}
}Let your agent find its tools
Find servers like mitre-cwe-mcp-server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.