MCP ZAP Server
Use your AI client to crawl a site, scan it with ZAP and read the findings and reports on your own infrastructure.
Note This project is not affiliated with or endorsed by the ZAP project. It is an independent implementation.
mcp-zap-server exposes ZAP through MCP over streamable HTTP so agentic tools can run operator-controlled security workflows without brittle glue scripts or unsafe scanner access.
This checkout targets scanner 0.18.0. New crawls and active scans always use the job
queue, with either in-memory or PostgreSQL storage. A standalone installation
from this checkout selects v0.18.0. Verify that the image is published for
your platform before starting. Read the 0.18.0 upgrade guide
before changing an existing installation.
| Installation | Scanner selected for fresh setup |
|---|
Standalone Compose, Helm chart and Claude Desktop connector 0.18.0 | v0.18.0 |
MCP ZAP Connect plugin 0.18.0 for Codex and Claude Code | v0.18.0 checkout and image |
The current-source feature set includes:
- scan tools for crawling, active and passive scanning, API imports, findings and reports
- operator control through API-key or JWT auth, tool scopes, runtime policy bundles, rate limits, and audit events
- self-hosted deployment with Docker Compose for local adoption and Helm for Kubernetes
- scan tracking with queued starts, status and stop controls, and findings baselines
Full documentation: danieltse.org/mcp-zap-server
An experimental headless Apple Silicon package
bundles Java and ZAP for HTTP workflows. It is a maintainer-built local preview;
public downloads are not available, and supplied previews are unsigned.
The private ChatGPT connection guide
explains Secure MCP Tunnel prerequisites and access to a local scanner.
Watch the demo: browser demo or YouTube
Quick Start
Prerequisites:
- Docker 20.10+
- Docker Compose v2 or newer (
docker compose) with --wait and --wait-timeout support
- your own MCP client with Streamable HTTP and custom-header support
For scanner 0.18.0, check GitHub Releases
for the tag and verify the Docker Hub image dtkmn/mcp-zap-server:v0.18.0 for your platform.
If the tag or image is unavailable, use the source build instructions
or the published v0.17.1 instructions.
Keep existing settings and image selections until a deliberate upgrade.
Prefer to ask Codex to handle setup? Manually install the optional
MCP ZAP Connect plugin,
then ask it to check prerequisites, start the Docker stack, configure your private
MCP connection and verify status. The skill can help install missing prerequisites
with your approval, then recheck and continue setup. Scanning is a separate
request. The commands below remain available without the plugin.
For Cursor Desktop Free, follow the Cursor setup instructions.
Use a local Agent chat with available Cursor allowance to set up the scanner,
check status, then request a demo crawl and report separately.
Claude Code local preview
uses the same scanner and setup skill in a local Claude Code session.