Skip to content
Cursor

MCP ZAP Server for Cursor

io.github.dtkmn/mcp-zap-server

Safe, self-hosted OWASP ZAP operator for guided AI security scans and reports.

client:Cursor transport:stdio runtime:oci

Install MCP ZAP Server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-zap-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/dtkmn/mcp-zap-server:v0.11.0"
      ],
      "env": {
        "ZAP_API_URL": "<ZAP_API_URL>",
        "ZAP_API_PORT": "<ZAP_API_PORT>",
        "ZAP_API_KEY": "<ZAP_API_KEY>",
        "MCP_API_KEY": "<MCP_API_KEY>",
        "MCP_SERVER_TOOLS_SURFACE": "<MCP_SERVER_TOOLS_SURFACE>",
        "MCP_SECURITY_MODE": "<MCP_SECURITY_MODE>",
        "MCP_SECURITY_ENABLED": "<MCP_SECURITY_ENABLED>",
        "MCP_SECURITY_ALLOW_PLACEHOLDER_API_KEY": "<MCP_SECURITY_ALLOW_PLACEHOLDER_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

MCP ZAP Server in other clients