2mw-mcp
v0.1.2Threat intel for AI agents: one call returns a CVE with its actors, techniques and detections.
Values you need
| Variable | What it is | |
|---|---|---|
TMW_API_KEY | required secret | Your 2mw.io API key (Bearer token). Create one at https://2mw.io/pricing |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add 2mw-mcp -e 'TMW_API_KEY=<TMW_API_KEY>' -- npx -y --package=@2mw/mcp@0.1.2 2mw-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"2mw-mcp": {
"args": [
"-y",
"--package=@2mw/mcp@0.1.2",
"2mw-mcp"
],
"command": "npx",
"env": {
"TMW_API_KEY": "<TMW_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"2mw-mcp": {
"args": [
"-y",
"--package=@2mw/mcp@0.1.2",
"2mw-mcp"
],
"command": "npx",
"env": {
"TMW_API_KEY": "<TMW_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "TMW_API_KEY",
"id": "tmw-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"2mw-mcp": {
"args": [
"-y",
"--package=@2mw/mcp@0.1.2",
"2mw-mcp"
],
"command": "npx",
"env": {
"TMW_API_KEY": "${input:tmw-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.2mw-mcp]
command = "npx"
args = ["-y", "--package=@2mw/mcp@0.1.2", "2mw-mcp"]
env = { "TMW_API_KEY" = "<TMW_API_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http 2mw-mcp https://2mw.io/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"2mw-mcp": {
"args": [
"-y",
"mcp-remote",
"https://2mw.io/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"2mw-mcp": {
"url": "https://2mw.io/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"2mw-mcp": {
"type": "http",
"url": "https://2mw.io/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.2mw-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://2mw.io/mcp"]For AI agents
- Ask the user for: TMW_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: whoami, exploited, cve_full, compare, exploitation_evidence, observed_exploit, exploit_timing, detection_coverage, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json