Skip to content
MCP ZAP Server
Install guide · Cursor

Install MCP ZAP Server for Cursor

Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.

  1. Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

~/.cursor/mcp.json
{  "mcpServers": {    "dtkmn-mcp-zap-server": {      "command": "docker",      "args": [        "run",        "-i",        "--rm",        "ghcr.io/dtkmn/mcp-zap-server:v0.18.0"      ],      "env": {        "ZAP_SCAN_LAUNCH_JOURNAL_DIRECTORY": "",        "ZAP_API_URL": "mcp-zap-zap",        "ZAP_API_PORT": "8090",        "ZAP_API_KEY": "YOUR_ZAP_API_KEY",        "MCP_API_KEY": "YOUR_MCP_API_KEY",        "MCP_SECURITY_MODE": "",        "MCP_SECURITY_ENABLED": "",        "MCP_SECURITY_ALLOW_PLACEHOLDER_API_KEY": ""      }    }  }}

Where the config lives

SystemPath
macOS~/.cursor/mcp.json
Windows%USERPROFILE%\.cursor\mcp.json
Linux~/.cursor/mcp.json