Best for
- Teams that want to run ZAP on their own infrastructure and manage web security workflows through MCP.
- Deployments that need operational controls such as scan queues, access scopes, audit events, or runtime policies.
The source describes an Apache-2.0-licensed, self-hosted MCP integration with ZAP for website crawling, scanning, findings, and reports, with authentication and operational safeguards. It is not an official ZAP project product, and scans should be limited to authorized targets.
Strongest · Documentation 15/20 Weakest · Reliability 10/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Docker 20.10+
ZAP_API_KEY
API key configured on the ZAP daemon; obtain it from that daemon's configuration.
MCP_API_KEY
Key MCP clients must send in the X-API-Key header; configure it and provide it to the client.
ZAP_SCAN_LAUNCH_JOURNAL_DIRECTORY
Directory for scan launch records; the manifest sets it to /var/lib/mcp-zap/scan-launch-safety/receipts.
ZAP_API_URL
Hostname or URL of the separately running ZAP daemon reachable from this container; defaults to mcp-zap-zap.
ZAP_API_PORT
ZAP API port; defaults to 8090.
MCP_SECURITY_MODE
MCP security mode; the manifest sets it to api-key.
MCP_SECURITY_ENABLED
Whether MCP security is enabled; the manifest sets it to true.
MCP_SECURITY_ALLOW_PLACEHOLDER_API_KEY
Whether placeholder API keys are allowed; the manifest sets it to false.
Docker Compose is the recommended deployment path for the MCP server and ZAP. A standalone OCI deployment requires a separately running ZAP daemon reachable from the MCP container, configured API keys, and a shared report workspace volume. Connect clients at http://localhost:7456/mcp and send MCP_API_KEY in the X-API-Key header. Check the project documentation for the selected version and image.
Confirm that the MCP client connects and its tool list loads. Ask it to crawl Juice Shop and return a findings summary to verify the connection and scan workflow.
Once connected, you can ask your AI assistant things like:
MCP ZAP Server connects OWASP ZAP to MCP so AI clients can crawl authorized websites, run scans, and read findings and reports. It uses Streamable HTTP and connects to a separately running ZAP daemon. The project describes operational controls including API-key or JWT authentication, tool scopes, and runtime policies. It is an independent implementation, not an official ZAP project product.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision 3e776ae64e46 Data synced 2026-12-05 Read the FMRS scoring method Markdown