← Back to directory
M

MCP ZAP Server

Community
Run self-hosted ZAP web security scans through MCP.
Category
Dev Tools #48 of 751
Stars
★ 71 Popular
Transport
Streamable HTTP
Runtime
Docker 20.10+
Credentials
API key / credential required
License
Apache-2.0
Last commit
62FMRS · C

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

Reliability
10/20
Security and permissions
14/20
Maintenance
12/20
Documentation
15/20
Setup experience
11/20
Why each score
Reliability 10/20
The materials describe queued scans, status and stop controls, in-memory or PostgreSQL storage, and requirements such as a separate ZAP daemon and image-version checks, making the main workflow and dependencies visible. However, only the README and manifest are available here; there is no verifiable CI, test, initialization-handshake, or error-handling evidence. Static calibration therefore does not support confidence in runtime reliability.
Security and permissions 14/20
The materials describe default API-key authentication, required secret configuration, loopback binding, private-network target URL restrictions, tool scopes, runtime policies, rate limits, and isolated storage for scan-launch records, indicating several layers of security controls. These are README or manifest claims without implementation evidence. Scans can also have active effects on targets, and the materials do not establish explicit confirmation for each dangerous operation, so the score is limited. No evidence triggering a red line was provided.
Maintenance 12/20
The repository declares Apache-2.0, identifies version 0.18.0, provides upgrade guidance and a security-policy entry point, and lists 71 stars and 25 open issues as discovery signals. There is no evidence here of commit history, issue response, dependency updates, or actual security-response practice, so maintenance continuity is uncertain.
Documentation 15/20
The README provides a Docker Compose quick start, client connection and authentication details, a passive-scan example, deployment security defaults, version upgrade guidance, and a broad documentation index. It also identifies ZAP as an external dependency and explains the shared report volume requirement. The actual tool-parameter, limitation, cost, and troubleshooting documentation is not included, and linked content cannot be independently checked from the supplied material.
Setup experience 11/20
The README lists Docker and Compose prerequisites, a versioned clone and startup script, the MCP endpoint, X-API-Key configuration, and setup paths for clients such as Claude and Cursor. Setup still requires a separate ZAP deployment, secrets, and a shared volume, while client configuration is separate. The supplied materials contain no verifiable evidence of a successful connection.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the network

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.

Not for

  • Users without clear authorization from the target owner to test a site.
  • Users seeking a hosted scanning service or unwilling to deploy and maintain ZAP separately.
  • Users expecting an official ZAP project product.

Required permissions

  • Access to the configured ZAP daemon and its API key.
  • The MCP client needs the MCP API key to access the service through the X-API-Key header.
  • Network access to authorized scan targets; report generation requires access to the shared report workspace.

Risks and side effects

  • Active scans can affect target applications; scan only authorized targets and start scans deliberately.
  • Misconfigured networking or target settings can widen scan reach; the documentation says localhost, private networks, and link-local targets are blocked by default.
  • API keys are sensitive credentials, and reports or scan records may contain security findings.
  • ZAP is not included in the MCP server image, so incorrect connectivity or shared-volume setup in a standalone deployment can prevent scans or report access.

Setup

Before you start

Runtime:Docker 20.10+

ZAP_API_KEY requiredsecret API key configured on the ZAP daemon; obtain it from that daemon's configuration.
MCP_API_KEY requiredsecret Key MCP clients must send in the X-API-Key header; configure it and provide it to the client.
Other optional settings (6)
ZAP_SCAN_LAUNCH_JOURNAL_DIRECTORY optional Directory for scan launch records; the manifest sets it to /var/lib/mcp-zap/scan-launch-safety/receipts.
ZAP_API_URL optional Hostname or URL of the separately running ZAP daemon reachable from this container; defaults to mcp-zap-zap.
ZAP_API_PORT optional ZAP API port; defaults to 8090.
MCP_SECURITY_MODE optional MCP security mode; the manifest sets it to api-key.
MCP_SECURITY_ENABLED optional Whether MCP security is enabled; the manifest sets it to true.
MCP_SECURITY_ALLOW_PLACEHOLDER_API_KEY optional 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.

Check that it works

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.

Troubleshooting

  1. Check that the ZAP daemon is running and reachable from the MCP container at the configured hostname and port.
  2. Check that ZAP_API_KEY and MCP_API_KEY are configured, and that the client sends the correct MCP key in X-API-Key.
  3. Check that MCP and ZAP use the same report workspace volume and that its directory permissions match UID/GID 1000:1000.
  4. Confirm the client supports Streamable HTTP and custom headers, then check container health and authenticated MCP connectivity.

Things to try

Once connected, you can ask your AI assistant things like:

  • Crawl Juice Shop and wait for crawling and passive analysis to finish, then summarize the findings.
  • Generate an HTML report for Juice Shop and read it back through MCP.
  • Run a passive scan on Juice Shop and show the findings.

Use cases

Crawl authorized websites and review findings.
Run active or passive scans, import API definitions, and track scan jobs.
Generate and read HTML and other scan reports.

Overview

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.

Similar servers

Source revision 3e776ae64e46 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/dtkmn-mcp.svg)](https://followmcp.com/en/servers/dtkmn-mcp)