Skip to main content

MCP ZAP Server

io.github.dtkmn/mcp-zap-server

v0.18.0Updated Nov 17, 2026local · Docker

Crawl, scan and report on authorized web targets with a self-hosted ZAP server.

Install

Needs 2 secrets. Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add mcp-zap-server -e 'ZAP_API_KEY=<your-zap-api-key>' -e 'MCP_API_KEY=<your-mcp-api-key>' -e ZAP_API_URL=mcp-zap-zap -e ZAP_API_PORT=8090 -- docker run -i --rm -e ZAP_API_KEY -e MCP_API_KEY -e ZAP_API_URL -e ZAP_API_PORT ghcr.io/dtkmn/mcp-zap-server:v0.18.0

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

12 settings, 2 required secrets. Snippets use placeholders; keep real values out of shared config.

  • ZAP_API_KEY
    Env var· required· secret
    API key configured on the ZAP daemon.
  • MCP_API_KEY
    Env var· required· secret
    API key clients must send as X-API-Key.
  • ZAP_SCAN_LAUNCH_JOURNAL_DIRECTORY
    Env var· optional
    No description.
  • ZAP_API_URL
    Env var· optional
    Hostname or URL of a separately running ZAP daemon reachable from this container.Default: mcp-zap-zap
  • ZAP_API_PORT
    Env var· optional
    ZAP API port.Default: 8090
  • MCP_SECURITY_MODE
    Env var· optional
    No description.
Show 6 more
  • MCP_SECURITY_ENABLED
    Env var· optional
    No description.
  • MCP_SECURITY_ALLOW_PLACEHOLDER_API_KEY
    Env var· optional
    No description.
  • --network
    Argument· optional
    Docker network containing the separately running ZAP daemon.
  • --user
    Argument· optional
    Run with the standard zaproxy/zap-stable UID/GID so shared report workspace files remain writable by both containers.
  • -p
    Argument· optional
    Expose the streamable HTTP MCP endpoint on localhost.
  • -v
    Argument· optional
    Named report workspace volume. The external ZAP container must mount the same volume at /zap/wrk.

Listed in the official MCP Registry since Nov 17, 2026. Mirrored daily; last checked Nov 26, 2026.