MCP ServerSTDIOOfficialv1.1.0

OWASP ZAP MCP Server

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:

Hosted URL

Local install

Transport

STDIO

Auth

No auth required

What the OWASP ZAP MCP server does

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.

Connect to OWASP ZAP

Local install — runs as a subprocess.

dnx dotnet-zap-mcp@1.1.0

Environment variables

Configuration this server reads at startup.

  • ZAP_BASE_URL

    ZAP API base URL (default: http://localhost:8090)

  • ZAP_API_KEY

    ZAP API key. Auto-generated if not set and DockerComposeUp is used.

Resources

Where to find authoritative docs and source for OWASP ZAP.

Example prompts for OWASP ZAP

Paste any of these into Agent Studio after connecting OWASP ZAP.

  • Start a ZAP Docker container and run a baseline scan on http://localhost:3000
  • Configure ZAP_API_KEY and explain how to authenticate with a remote ZAP instance
  • What are the required environment variables to connect this MCP server to ZAP
  • Stop the ZAP Docker container and clean up resources

OWASP ZAP MCP server — FAQ

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.

Skip the local setup — run MCP in your browser

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 Studio

In 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

Related servers

More on MCP Playground