Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

OWASP ZAP MCP Server

by pierre3version 1.1.0i★ –iRuns on your computer
Registry nameio.github.pierre3/zap-mcp

Install

Overview

Description from the maker (original English)

MCP server for OWASP ZAP vulnerability scanning with Docker management

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Cybersecurity

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: ZAP_BASE_URL, ZAP_API_KEY

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "zap": {
      "command": "dnx",
      "args": [
        "dotnet-zap-mcp",
        "--yes"
      ],
      "env": {
        "ZAP_BASE_URL": "your-value",
        "ZAP_API_KEY": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add zap --env ZAP_BASE_URL=your-value --env ZAP_API_KEY=your-value -- dnx dotnet-zap-mcp --yes

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "zap": {
      "command": "dnx",
      "args": [
        "dotnet-zap-mcp",
        "--yes"
      ],
      "env": {
        "ZAP_BASE_URL": "your-value",
        "ZAP_API_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "zap": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "dotnet-zap-mcp",
        "--yes"
      ],
      "env": {
        "ZAP_BASE_URL": "your-value",
        "ZAP_API_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • ZAP_BASE_URL env
    ZAP API base URL (default: http://localhost:8090)
  • ZAP_API_KEY env
    ZAP API key. Auto-generated if not set and DockerComposeUp is used.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account pierre3, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Cybersecurityi

  • More stars than 0% of the other 997 servers in this category
  • Published to the registry more recently than 10% of the other 997 servers in this category
  • Basic checks equal to or better than 100% of the other 997 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is OWASP ZAP MCP Server safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.1.0) reached the registry 7 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need .NET on your computer.

What can I use instead?

In the same category: BlackVeil DNS & Email Security Scanner, LucidShark, Threatist

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

LucidShark

Local code quality and security scanner: lint, types, SAST, SCA, tests, coverage.

by toniantunoviVery newUpdated today

Runs on your computer

Threatist

Vulnerability records: CVE, GHSA, CISA KEV, EPSS and vendor fixes in one place. No key needed.

by threatist.ioEarlyUpdated today

Runs in the cloud✓ threatist.io

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

dotnet-zap-mcp

MCP (Model Context Protocol) server for OWASP ZAP. Enables AI agents (Claude, GitHub Copilot, etc.) to drive ZAP vulnerability scanning via MCP.

Features

  • 45 MCP tools for controlling OWASP ZAP (scanning, alerts, spider, ajax spider, context, authentication, reports, etc.)
  • Built-in Docker Compose management (start/stop ZAP with a single tool call)
  • Zero-config setup: auto-generates API keys and extracts Docker assets
  • Works with any MCP-compatible client (Claude Desktop, VS Code, etc.)

Installation

dotnet tool install -g dotnet-zap-mcp
Prerequisites
  • .NET 10 SDK
  • Docker (Docker Engine or Docker Desktop) with docker compose support (for built-in ZAP container management)

Configuration

Zero-config (recommended)

No configuration needed. The agent calls DockerComposeUp which automatically:

  1. Extracts Docker assets to ~/.zap-mcp/docker/
  2. Generates a random API key
  3. Starts the ZAP container on localhost:8090
  4. Waits for ZAP to become healthy
Data persistence

The ZAP container uses two Docker named volumes:

VolumeContainer PathPurpose
zap-home/home/zap/.ZAPZAP settings, contexts, sessions, scan policies (persisted across restarts)
zap-data/zap/wrk/dataShared directory for reports, session files, and context import/export

On the first launch, the template config.xml is copied into zap-home. On subsequent launches, only the API key is updated — any changes made through ZAP (contexts, authentication settings, scan policies, etc.) are preserved.

The zap-data volume contains:

  • reports/ — generated scan reports
  • sessions/ — saved ZAP sessions
  • contexts/ — exported context files
Claude Desktop / Claude Code

Add to your MCP configuration:

{

"mcpServers": { "zap": { "command": "zap-mcp" } } }

VS Code (Copilot)

Add to .vscode/mcp.json:

{

"servers": { "zap": { "command": "zap-mcp" } } }

With existing ZAP instance

If you already have a ZAP instance running, pass connection details via environment variables:

{

"mcpServers": { "zap": { "command": "zap-mcp", "env": { "ZAP_BASE_URL": "http://localhost:8090", "ZAP_API_KEY": "your-api-key" } } } }

Available Tools

Docker Management
ToolParametersDescription
DockerComposeUp—Start the ZAP container and wait for healthy
DockerComposeDown—Stop and remove the ZAP container
DockerComposeStatus—Check container status
DockerComposeLogstailGet recent container logs
ZAP Core
ToolParametersDescription
GetVersion—Verify ZAP connectivity
GetHosts—List recorded hosts
GetSites—List recorded sites
GetUrlsbaseUrlList recorded URLs for a base URL
Spider
ToolParametersDescription
StartSpiderurl, maxChildren, recurse, subtreeOnly, contextNameStart a spider scan to crawl and discover pages
GetSpiderStatusscanIdCheck spider progress (0-100%)
GetSpiderResultsscanIdGet URLs discovered by spider
StopSpiderscanIdStop a running spider scan
Active Scan
ToolParametersDescription
StartActiveScanurl, recurse, inScopeOnly, scanPolicyName, contextIdStart an active vulnerability scan
GetActiveScanStatusscanIdCheck active scan progress (0-100%)
StopActiveScanscanIdStop a running active scan
Passive Scan
ToolParametersDescription
GetPassiveScanStatus—Check passive scan progress (records remaining)
Alerts
ToolParametersDescription
GetAlertsSummarybaseUrlAlert counts by risk level
GetAlertsbaseUrl, start, count, riskIdDetailed alert list with pagination and risk filter
Reports
ToolParametersDescription
GetHtmlReport—Generate HTML scan report
GetJsonReport—Generate JSON scan report
GetXmlReport—Generate XML scan report
Context Management
ToolParametersDescription
GetContextList—List all contexts defined in ZAP
GetContextcontextNameGet context details (scope patterns, etc.)
CreateContextcontextNameCreate a new context
RemoveContextcontextNameDelete a context
IncludeInContextcontextName, regexAdd URL include pattern to context scope
ExcludeFromContextcontextName, regexAdd URL exclude pattern to context scope
ImportContextcontextFilePathImport a context file into ZAP
ExportContextcontextName, contextFilePathExport a context to file
Authentication
ToolParametersDescription
GetAuthenticationMethodcontextIdGet the authentication method configured for a context
SetAuthenticationMethodcontextId, authMethodName, authMethodConfigParamsSet authentication method (form-based, JSON-based, script-based, HTTP)
SetLoggedInIndicatorcontextId, loggedInIndicatorRegexSet regex pattern indicating logged-in state
SetLoggedOutIndicatorcontextId, loggedOutIndicatorRegexSet regex pattern indicating logged-out state
Users
ToolParametersDescription
GetUsersListcontextIdList all users for a context
CreateUsercontextId, nameCreate a new user
RemoveUsercontextId, userIdRemove a user
SetAuthenticationCredentialscontextId, userId, authCredentialsConfigParamsSet user credentials (username/password)
SetUserEnabledcontextId, userId, enabledEnable or disable a user
Forced User
ToolParametersDescription
SetForcedUsercontextId, userIdSet the forced user for a context
SetForcedUserModeEnabledenabledEnable or disable forced user mode globally
GetForcedUserStatuscontextIdGet forced user mode status and current forced user
Ajax Spider
ToolParametersDescription
StartAjaxSpiderurl, inScope, contextName, subtreeOnlyStart the Ajax Spider for JavaScript-heavy apps
StartAjaxSpiderAsUsercontextName, userId, url, subtreeOnlyStart the Ajax Spider as a specific user
GetAjaxSpiderStatus—Get Ajax Spider status (running/stopped)
GetAjaxSpiderResults—Get Ajax Spider results summary
StopAjaxSpider—Stop the Ajax Spider

Typical Workflow

  1. Agent calls DockerComposeUp to start ZAP
  2. Configure browser/Playwright to use ZAP as proxy (http://127.0.0.1:8090)
  3. Browse the target application through the proxy
  4. Agent calls StartSpider to crawl the application, then GetSpiderStatus to monitor progress
  5. Agent calls GetPassiveScanStatus to wait for passive scan completion
  6. Agent calls StartActiveScan on key pages, then GetActiveScanStatus to monitor progress
  7. Agent calls GetAlertsSummary and GetAlerts to retrieve vulnerability findings
  8. Agent calls GetHtmlReport or GetJsonReport to generate a scan report
  9. Agent calls DockerComposeDown when done

Note: ZAP settings (contexts, authentication, scan policies) are persisted in the zap-home Docker volume. You can stop and restart the container without losing configuration.

Try It Out (with the included vulnerable app)

This repository includes an intentionally vulnerable web application for trying out ZAP scanning. The app contains common vulnerabilities (XSS, SQL Injection, CSRF, Open Redirect) so ZAP can detect real findings.

Setup
# Start ZAP and the vulnerable target app

docker compose -f tests/docker/docker-compose.test.yml up -d --build

Wait until both containers are healthy

docker compose -f tests/docker/docker-compose.test.yml ps

Then configure your MCP client to connect to this ZAP instance:

{

"mcpServers": { "zap": { "command": "zap-mcp", "env": { "ZAP_BASE_URL": "http://localhost:8090", "ZAP_API_KEY": "test-api-key-for-ci" } } } }

The vulnerable app is accessible at http://target from within the Docker network (used by ZAP), and at http://localhost:8080 from your host machine.

Example 1: Quick Scan

Prompt to agent:

Scan http://target for vulnerabilities. Run a spider crawl, wait for the passive scan to finish, then show me the alert summary and generate an HTML report.

Expected tool flow:

GetVersion          → Verify ZAP connectivity

StartSpider → url: "http://target" GetSpiderStatus → Poll until 100% GetPassiveScanStatus → Poll until 0 records remaining GetAlertsSummary → baseUrl: "http://target" GetAlerts → baseUrl: "http://target" GetHtmlReport → Generate report

ZAP will discover pages like /search, /login, /users, /about, /contact, and the passive scan will report issues such as missing security headers and CSRF vulnerabilities.

Example 2: Authenticated Scan

The /admin page requires login (username: admin, password: password). An authenticated scan lets ZAP access protected pages.

Prompt to agent:

Set up an authenticated scan for http://target. The login form is at /login with fields "username" and "password" (credentials: admin / password). The logged-in indicator is "Welcome, admin". After configuring authentication, spider the site as the authenticated user and run an active scan.

Expected tool flow:

CreateContext                   → contextName: "target-auth"

IncludeInContext → regex: "http://target.*" SetAuthenticationMethod → contextId, authMethodName: "formBasedAuthentication", authMethodConfigParams: "loginUrl=http://target/login&loginRequestData=username%3D%7B%25username%25%7D%26password%3D%7B%25password%25%7D" SetLoggedInIndicator → loggedInIndicatorRegex: "Welcome, admin" CreateUser → contextId, name: "admin" SetAuthenticationCredentials → contextId, userId, authCredentialsConfigParams: "username=admin&password=password" SetUserEnabled → contextId, userId, enabled: true SetForcedUser → contextId, userId SetForcedUserModeEnabled → enabled: true StartSpider → url: "http://target", contextName: "target-auth" GetSpiderStatus → Poll until 100% GetPassiveScanStatus → Poll until 0 records remaining StartActiveScan → url: "http://target" GetActiveScanStatus → Poll until 100% GetAlertsSummary → baseUrl: "http://target" GetAlerts → baseUrl: "http://target" SetForcedUserModeEnabled → enabled: false

With authentication configured, ZAP can access /admin and test for vulnerabilities behind the login.

Exa

Only the beginning is shown; read the rest in the repo

Ask PopNx