
MCP ZAP Server MCP server
Safe, self-hosted OWASP ZAP operator for guided AI security scans and reports.
66 stars
Reviews
Write oneNobody has reviewed MCP ZAP Server yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
MCP ZAP Server tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 2 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the MCP ZAP Server repository's README, as published. We do not edit it. Read it on GitHub
MCP ZAP Server
Give AI agents a safe, self-hosted ZAP operator for guided web security scans, findings, reports, and production guardrails.
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.
Use it when you want:
- safe agentic scanning with guided defaults for spider, active scan, passive scan, 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
- expert ZAP access when you intentionally need lower-level ZAP context, user, scan, and report controls
Full documentation: danieltse.org/mcp-zap-server
Watch the demo: browser demo or YouTube
Quick Start
Prerequisites:
- Docker 20.10+
- Docker Compose v2 (docker compose)
- your own MCP client with Streamable HTTP and custom-header support
git clone https://github.com/dtkmn/mcp-zap-server.git
cd mcp-zap-server
./bin/bootstrap-local.sh
./dev.sh
./bin/self-serve-doctor.shThose scripts are the supported local happy path, not hidden magic:
- bootstrap-local.sh creates .env, generates local API keys, and prepares the ZAP workspace.
- dev.sh starts the Docker Compose stack with the faster JVM image.
- self-serve-doctor.sh checks Docker, auth, MCP initialize, tools/list, guided tools, and a harmless tool call.
The JVM image remains Java 25 end to end: source compilation, bytecode, and runtime all target Java 25. Its final runtime is distroless, so it intentionally contains no shell, package manager, or curl. A small built-in HTTP probe keeps the normal Docker Compose health status; docker compose ps still reports the MCP service as (healthy) after startup.
Connect your MCP client:
- MCP endpoint for host-side clients: http://localhost:7456/mcp
- Authentication: send MCPAPIKEY from .env in the X-API-Key header
- Cursor config example: examples/cursor/mcp.json
- Client compatibility and setup
The stack runs the MCP server, ZAP, and demo targets. Install and configure your preferred MCP client separately.
When scanning the bundled demo targets, use the container URLs that ZAP can reach from inside Compose:
- Juice Shop scan target: http://juice-shop:3000
- Petstore scan target: http://petstore:8080
After connecting, try this first prompt:
Use the guided ZAP tools to crawl http://juice-shop:3000. Wait for the crawl
and passive analysis to finish, show a findings summary, generate an HTML
report, and read it back through MCP. Do not run an active scan.Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
claude mcp add mcp-zap-server -- docker run -i --rm ghcr.io/dtkmn/mcp-zap-server:v0.11.0
MCP ZAP Server: common questions
- Is MCP ZAP Server MCP server safe?
- Mostly: it is graded B (73/100). Read the MCP ZAP Server safety report
- How do I install MCP ZAP Server?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does MCP ZAP Server need an API key?
- Yes. The registry entry asks for
ZAP_API_KEY,MCP_API_KEY. - Is MCP ZAP Server maintained?
- The last commit was 2 days ago (2026-09-22). The latest release is v0.11.0.
- What can I use instead of MCP ZAP Server?
- Servers from other publishers that do the same job: n8n MCP Community MCP server, Firefly Iii MCP server and OpenQR MCP server. Compare all MCP ZAP Server alternatives.
Alternatives to MCP ZAP Server
Same job from other publishers: the closest match first, then the best rated.
n8n MCP CommunityA security-focused MCP server for self-hosted n8n Community Edition.not reviewedGrowingB- Firefly IiiSecurity-first, self-hosted MCP server for Firefly III — 152 operations behind 5 scoped tools.not reviewedGrowingB
- OpenQRGenerate, edit and track dynamic (editable) QR codes with scan analytics. Hosted MCP and REST API.not reviewedGrowingA
- pkgxrayPre-install security scans for npm packages, MCP servers, and AI agents with cited verdict evidence.not reviewedGrowingB
- MCPSecurity tools for your AI: scan, pentest, check headers, guard code and scan repos for secrets.not reviewedGrowingA