Back to Home
dtkmn icon

mcp-zap-server

Verified Safe

by dtkmn

Overview

Exposes OWASP ZAP actions as Model Context Protocol (MCP) tools, enabling AI agents (e.g., Claude Desktop, Cursor) to orchestrate security scanning operations, import OpenAPI specs, and generate reports.

Installation

Run Command
./dev.sh

Environment Variables

  • ZAP_API_KEY
  • MCP_API_KEY
  • LOCAL_ZAP_WORKPLACE_FOLDER
  • JWT_SECRET

Security Notes

The server implements robust security measures including three authentication modes (none, API Key, JWT), comprehensive URL validation (blocking private networks and localhost by default), and configurable scan limits. JWT authentication leverages Spring Security OAuth2 with token expiration, refresh, and blacklisting. CSRF protection is intentionally disabled and justified by OWASP API security best practices, as the server is API-only and uses token-based authentication (not cookies). Environment variables are used for sensitive configurations, with clear warnings for 'none' security mode. It is safe to run when configured with secure API keys and JWT secrets in appropriate security modes.

Similar Servers

Stats

Interest Score37
Security Score9
Cost ClassLow
Avg Tokens50
Stars19
Forks3
Last Update2025-11-21

Tags

security-testingowasp-zapai-agentkubernetesspring-boot