ZAP MCP Proxy
A lightweight MCP server that wraps OWASP ZAP's REST API as Model Context Protocol tools, enabling AI agents to perform automated security scanning.
README
ZAP MCP Proxy
A lightweight MCP server that wraps OWASP ZAP's REST API as Model Context Protocol tools. Connect your AI agent to OWASP ZAP for automated security scanning.
Prerequisites
- OWASP ZAP running in daemon mode (or the mcp-zap-server Docker stack)
- Python 3.10+
Quick Start
# Install dependencies
pip install -r requirements.txt
# Start ZAP in daemon mode (one time)
/Applications/ZAP.app/Contents/MacOS/ZAP.sh -daemon -port 8090 -host 127.0.0.1 -config api.key=changeme
# Start the MCP proxy
python3 zap_mcp_proxy.py
Tools
| Tool | Description |
|---|---|
zap_health |
Check connection to ZAP daemon |
zap_version |
Get ZAP version info |
zap_api_info |
List available ZAP API endpoints |
zap_list_scan_policies |
List scan policies (Default, API, Pen Test, etc.) |
zap_list_contexts |
List contexts |
zap_create_context |
Create a new context with URL regex patterns |
zap_delete_context |
Delete a context |
zap_list_sites |
List discovered sites/URLs |
zap_spider_scan |
Start a traditional spider scan |
zap_spider_status |
Check spider scan progress |
zap_ajax_spider_scan |
Start an AJAX spider scan (JS-heavy sites) |
zap_ajax_spider_status |
Check AJAX spider status |
zap_start_active_scan |
Start an active scan with policy selection |
zap_list_active_scans |
List all active scans |
zap_active_scan_progress |
Check active scan progress |
zap_alert_summary |
Alert counts by risk level |
zap_alert_count |
Total alert count |
zap_list_alerts |
List alerts with risk/context filtering |
zap_generate_html_report |
Generate HTML report |
zap_generate_xml_report |
Generate XML report |
zap_generate_markdown_report |
Generate Markdown report |
Configuration
Environment variables:
ZAP_HOST— ZAP daemon host (default: 127.0.0.1)ZAP_PORT— ZAP daemon port (default: 8090)ZAP_API_KEY— ZAP API key (default: changeme)
Adding to Hermes
hermes mcp add zap -- python3 /path/to/zap_mcp_proxy.py
Or add to ~/.hermes/config.yaml:
mcp_servers:
zap:
enabled: true
command: python3
args:
- /path/to/zap_mcp_proxy.py
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.