Scan web applications for security vulnerabilities using OWASP ZAP through an MCP interface, with built-in Docker container orchestration. Designed for developers integrating automated security testing into CI/CD pipelines or local development workflows.
io.github.pierre3/zap-mcp
OWASP ZAP runs locally over stdio. Test it on your machine with MCP Playground Desktop:
Local install
STDIO
No auth required
How models use it and what it is built for.
Scan web applications for security vulnerabilities using OWASP ZAP through an MCP interface, with built-in Docker container orchestration. Designed for developers integrating automated security testing into CI/CD pipelines or local development workflows.
Local install — runs as a subprocess.
Configuration this server reads at startup.
ZAP API base URL (default: http://localhost:8090)
ZAP API key. Auto-generated if not set and DockerComposeUp is used.
Where to find authoritative docs and source for OWASP ZAP.
Paste any of these into Agent Studio after connecting OWASP ZAP.
Common questions about connecting and running OWASP ZAP.
What does the zap-mcp server do?
It provides an MCP interface to OWASP ZAP, enabling vulnerability scanning of web applications. It also manages ZAP Docker containers, so you can spin up and tear down scanning environments programmatically without manual setup.
How do I authenticate with ZAP?
Set the ZAP_API_KEY environment variable with your API key. If you use the DockerComposeUp capability, the server auto-generates a key for you. For remote ZAP instances, configure ZAP_BASE_URL (default: http://localhost:8090) to point to your ZAP API endpoint.
Do I need Docker installed to use this server?
Docker is required if you want the server to manage ZAP containers for you. If you already have a ZAP instance running elsewhere, you can point to it via ZAP_BASE_URL and ZAP_API_KEY without Docker.
Can I use this in a CI/CD pipeline?
Yes. The server's Docker management and API-driven scanning make it suitable for automated security testing in CI/CD. Set environment variables in your pipeline and call scan operations through the MCP interface.
What is the default ZAP API endpoint?
The default ZAP_BASE_URL is http://localhost:8090. If your ZAP instance runs on a different host or port, override this environment variable before connecting the MCP server.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent StudioIn your browser
MCP Agent Studio
Server has a public URL? Chat with 90+ models on it, watch every tool call, and compare models side by side.
Open MCP Agent Studio →On your computer
MCP Playground Desktop
Server runs on localhost or over stdio? The browser can’t reach it. The desktop app can, with 90+ models in Agent Studio. Download free
Judges Panel
45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.
Addozhang Nexus
Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Cyanheads MCP Ts Template
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Chernistry Bernstein
Declarative agent orchestration for engineering teams