MCP ZAP Server logo

MCP ZAP Server

Runs guided OWASP ZAP scans over MCP with authentication, policy controls, findings, reports, and queued jobs.

Install MCP ZAP Server

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for MCP ZAP Server, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

MCP ZAP Server connects AI agents to a self-hosted OWASP ZAP instance through streamable HTTP. It provides guided workflows for crawling, active and passive scanning, API imports, findings, reports, scan history, and queued operations. API-key or JWT authentication, tool scopes, runtime policies, rate limits, audit events, and explicit recovery controls help operators constrain scanner access. Reach for it when an agent needs supervised web security testing through Docker Compose or Kubernetes rather than direct, unrestricted ZAP access.

Use cases

  • Run a guided crawl against a controlled web target
  • Import an API definition for security scanning
  • Review findings and generate an HTML report
  • Queue and monitor supervised active scans
  • Restrict agent access with scopes and runtime policies

Key features

  • Streamable HTTP MCP endpoint
  • Guided OWASP ZAP scan workflows
  • Queued scans with durable history
  • API-key and optional JWT authentication
  • Findings, evidence, and report handling
  • Docker Compose and Helm deployment paths

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

13/13 checks healthy over the last 45d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars68Stargazers on the source repository.
Last commit2d agoMost recent push to the default branch.

How MCP ZAP Server works

What MCP ZAP Server does

MCP ZAP Server gives MCP clients an operator-controlled interface to OWASP ZAP for guided web security workflows. It is designed for self-hosted deployments and uses streamable HTTP rather than a local stdio connection. Agents can request crawls, active or passive scans, API imports, findings summaries, reports, and scan-history information through one curated tool catalog.

The project is an independent implementation and is not affiliated with or endorsed by the ZAP project. Its security category is relevant for teams that want AI-assisted testing while retaining control over targets, permissions, scan modes, and operational access.

How it works

The standard deployment runs the MCP server alongside ZAP, with Docker Compose providing the simplest installation path. Kubernetes deployment is also supported through Helm, and published JVM container images are available for deployment scenarios where ZAP is already running and reachable from the MCP container.

MCP clients connect to the streamable HTTP endpoint at http://localhost:7456/mcp. Authentication uses the MCP_API_KEY value from the environment file in the X-API-Key request header. The default stack binds published ports to loopback. A client can then invoke guided tools to start and monitor work, inspect findings, generate reports, and read report content back through MCP.

Scan operations are queue-managed and include active scans, traditional spider jobs, AJAX Spider jobs, and Client Spider jobs. Durable Postgres state supports scan history and claim-based recovery. Guided workflows also expose status and stop controls, while runtime policy bundles can provide dry-run or enforcement behavior for tool calls.

Setup and configuration

The quick-start path requires Docker 20.10 or newer and Docker Compose v2 or newer with support for --wait and --wait-timeout. Clone the repository and run:

bash
git clone https://github.com/dtkmn/mcp-zap-server.git
cd mcp-zap-server
./bin/bootstrap-local.sh --start

The bootstrap script creates missing settings, preserves existing keys and workspace data, starts the release image, and checks container health and authenticated MCP connectivity. Set IMAGE_TAG deliberately when selecting an image during an upgrade. Review the project’s quick-start security guidance before changing network exposure or scan-target settings.

The repository also describes client-specific setup paths for Codex, Cursor Desktop, Claude Code, and Claude Desktop. An optional MCP ZAP Connect plugin can guide setup in Codex, while a macOS MCPB preview provides setup tools for Claude Desktop. The Apple Silicon package is experimental, locally maintained, unsigned, and not publicly downloadable.

Tools and capabilities

  • Guided traditional spider, AJAX Spider, Client Spider, active-scan, and passive-scan workflows.
  • API imports, findings summaries and baselines, scan history, evidence export, and report generation.
  • Queue status, stop controls, claim-based recovery, and explicit operator recovery actions.
  • API-key authentication by default, with optional JWT authentication including refresh and revocation support.
  • Tool-scope authorization, runtime policy bundles, request-body limits, rate limits, workspace quotas, structured logs, metrics, and audit events.
  • Experimental extension contracts for policy, protection, evidence metadata, and extension metadata APIs.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP ZAP Server

MCP ZAP Server is an MCP server that connects AI agents to a self-hosted OWASP ZAP instance over streamable HTTP. Its main tools guide spidering, active and passive scans, API imports, findings review, report generation, scan history, and queued operations with operator-controlled authentication and policies.

Install it with Docker Compose by cloning the repository and running `./bin/bootstrap-local.sh --start`. The setup requires Docker 20.10+ and Docker Compose v2+ with `--wait` and `--wait-timeout` support, then exposes the MCP endpoint on port 7456.

Connect to `http://localhost:7456/mcp` using streamable HTTP and send the `MCP_API_KEY` value in the `X-API-Key` header. The README names setup paths for Codex, Cursor Desktop, Claude Code, and Claude Desktop.

Yes, Cursor Desktop is supported through a guided setup path. The client connects to the streamable HTTP MCP endpoint, and the documented first-run flow uses a local Agent chat to set up the scanner, check status, and request scans separately.

The server is designed for operator-controlled workflows rather than unrestricted scanner access. Tool scopes, runtime policy bundles, dry-run or enforcement modes, rate limits, queue controls, and explicit scan operations help constrain what an agent can request.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP ZAP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-zap-server?style=directory)](https://allmcps.com/mcp/mcp-zap-server)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-zap-server"><img src="https://allmcps.com/api/badge/mcp-zap-server?style=directory" alt="MCP ZAP Server on AllMCPs" /></a>