MCPAmpel - MCP Security Scanner

v0.2.2
io.github.diemoeve/mcpampel Checked 7 hours ago Published 8 months ago

Scan installed MCP servers for security vulnerabilities with 16 detection engines.

Starts only with mcp<2 (written for an older SDK); the install commands pin it.

Values you need

VariableWhat it is
MCPAMPEL_API_KEYrequired secret MCPAmpel API key (get one free at mcpampel.com)

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add mcpampel -e 'MCPAMPEL_API_KEY=<MCPAMPEL_API_KEY>' -- uvx --with 'mcp<2' mcpampel==0.2.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcpampel": {
      "args": [
        "--with",
        "mcp<2",
        "mcpampel==0.2.2"
      ],
      "command": "uvx",
      "env": {
        "MCPAMPEL_API_KEY": "<MCPAMPEL_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcpampel": {
      "args": [
        "--with",
        "mcp<2",
        "mcpampel==0.2.2"
      ],
      "command": "uvx",
      "env": {
        "MCPAMPEL_API_KEY": "<MCPAMPEL_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "MCPAMPEL_API_KEY",
      "id": "mcpampel-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcpampel": {
      "args": [
        "--with",
        "mcp<2",
        "mcpampel==0.2.2"
      ],
      "command": "uvx",
      "env": {
        "MCPAMPEL_API_KEY": "${input:mcpampel-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcpampel]
command = "uvx"
args = ["--with", "mcp<2", "mcpampel==0.2.2"]
env = { "MCPAMPEL_API_KEY" = "<MCPAMPEL_API_KEY>" }

For AI agents

  1. Ask the user for: MCPAMPEL_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: scan_my_servers, scan_url, check_status, get_scan_results.
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json