Koskamo

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.

mitre-cwe-mcp-server logo, by cyanheadsCommunity listingLocal stdioSource reviewed; not executedPublished by cyanheads
Vendor documentation

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

Community listingRegistry 0.2.0
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

npmnpx
@cyanheads/mitre-cwe-mcp-server package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.