MCP server wrapper for Vulnx — next-generation vulnerability search and analysis (successor to cvemap).
Vulnx is the successor to cvemap from ProjectDiscovery, providing enhanced vulnerability search capabilities with subcommands for searching, filtering, and analyzing vulnerability data by product, vendor, severity, CVSS score, and more.
Vulnx works without an API key but is rate-limited to 10 requests/min without one. A free ProjectDiscovery Cloud Platform (PDCP) API key is recommended.
Get your free key at: cloud.projectdiscovery.io
export PDCP_API_KEY=your_api_key_here
Summary. MCP server wrapper for Vulnx — next-generation vulnerability search and analysis (successor to cvemap).
Tools:
search_vulnerabilities — Search vulnerabilities with filters (product, vendor, severity, CVSS score).get_vulnerability_details — Get details for specific CVE(s).list_search_filters — List available search filter fields. No parameters.analyze_vulnerabilities — Aggregate vulnerabilities by a field.search_vulnerabilitiesSearch vulnerabilities with filters (product, vendor, severity, CVSS score).
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | No | — | Search query (e.g. "apache && severity:high") |
product | string | No | — | Filter by product name |
vendor | string | No | — | Filter by vendor name |
severity | string | No | — | "low", "medium", "high", or "critical" |
cvss_score | string | No | — | CVSS threshold (e.g. ">=7.0") |
limit | integer | No | 25 | Max results |
detailed | boolean | No | false | Include detailed information |
[{"cve_id": "CVE-2024-1234", "severity": "critical", "cvss_score": 9.8, "product": "apache http server"}]
get_vulnerability_detailsGet details for specific CVE(s).
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cve_ids | string | Yes | — | Comma-separated CVE IDs (e.g. "CVE-2024-1234") |
list_search_filtersList available search filter fields. No parameters.
analyze_vulnerabilitiesAggregate vulnerabilities by a field.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
field | string | Yes | — | Field to aggregate by (e.g. "severity", "vendor") |
query | string | No | — | Optional search query to narrow results |
Here are example prompts you can use with Claude (or any MCP client) when this tool is connected:
docker-compose up -d
docker run -i --rm -e PDCP_API_KEY=your_key hackerdogs/vulnx-mcp:latest
docker run -d -p 8116:8116 \
-e PDCP_API_KEY=your_key \
-e MCP_TRANSPORT=streamable-http \
-e MCP_PORT=8116 \
hackerdogs/vulnx-mcp:latest
Add to your Claude Desktop or Cursor MCP config:
{
"mcpServers": {
"vulnx-mcp": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "PDCP_API_KEY",
"-e", "MCP_TRANSPORT",
"hackerdogs/vulnx-mcp:latest"
],
"env": {
"PDCP_API_KEY": "<your-projectdiscovery-api-key>",
"MCP_TRANSPORT": "stdio"
}
}
}
}
First, start the server using Docker Compose or docker run with HTTP mode (see Deploy above) — API keys are passed as environment variables at container start time. Then point your MCP client at the running server:
{
"mcpServers": {
"vulnx-mcp": {
"url": "http://localhost:8116/mcp"
}
}
}
When to use HTTP mode: HTTP mode is ideal for shared/remote deployments, multi-user setups, and Hackerdogs scheduled prompts. The server runs as a long-lived process and accepts connections from multiple MCP clients concurrently.
| Variable | Default | Description |
|---|---|---|
PDCP_API_KEY | — | ProjectDiscovery API key (optional but recommended — rate-limited without it) |
MCP_TRANSPORT | stdio | Transport mode: stdio or streamable-http |
MCP_PORT | 8116 | Port for streamable-http transport |
VULNX_BIN | vulnx | Path to vulnx binary |
The fastest way to get started is through Hackerdogs:
Give it a couple of minutes to go live. Then start querying by asking Hackerdogs to use the tool explicitly (e.g. "Use naabu to scan example.com"). If you don't specify, Hackerdogs will automatically choose the best tool for the job — it may choose this one on its own.
Want to contribute or chat with the team? Join our Discord.
docker build -t hackerdogs/vulnx-mcp:latest .
./test.sh
1. Start the server in HTTP mode:
docker run -d --rm --name vulnx-test -p 8116:8116 \
-e MCP_TRANSPORT=streamable-http \
-e PDCP_API_KEY=your_key \
hackerdogs/vulnx-mcp:latest
2. Initialize the MCP session:
SESSION_ID=$(curl -s -D - -X POST http://localhost:8116/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"0.1"}}}' \
2>&1 | grep -i mcp-session-id | awk '{print $2}' | tr -d '\r\n')
curl -s -X POST http://localhost:8116/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "mcp-session-id: $SESSION_ID" \
-d '{"jsonrpc":"2.0","method":"notifications/initialized"}'
3. Call a tool:
curl -s -X POST http://localhost:8116/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "mcp-session-id: $SESSION_ID" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_vulnerabilities","arguments":{"product":"apache","severity":"critical","limit":5}}}'
4. Clean up:
docker stop vulnx-test
You can run the vulnx CLI in the same container by overriding the entrypoint to scan for vulnerabilities without starting the MCP server.
Scan target:
docker run -i --rm --entrypoint vulnx hackerdogs/vulnx-mcp:latest -u https://example.com
Show help:
docker run -i --rm --entrypoint vulnx hackerdogs/vulnx-mcp:latest -h
docker pull hackerdogs/vulnx-mcp:latest