# MCP ZAP Server

> Run self-hosted ZAP web security scans through MCP.

- **URL**: https://followmcp.com/en/servers/dtkmn-mcp
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 71
- **FMRS Score**: 62/100 (Grade C)
- **Source**: https://github.com/dtkmn/mcp-zap-server/tree/main/.mcp
- **Transports**: Streamable HTTP
- **Runtimes**: Docker 20.10+
- **Auth**: API key / credential required

## 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.

## 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
- 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.
