AZ

ajtazer/zap-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

23 stars 5 forks 품질 48 트렌드 10

₢ 킹

개요

모델 Context Protocol (MCP)을 통해 OWASP ZAP 및 AI 모델 간의 강력한 통합. 이 프로젝트는 AI 모델이 직접 ZAP의 스캔 기능과 상호 작용할 수 있도록 AI 기반 보안 테스트를 가능하게 합니다. ZAP-MCP는 AI 모델과 OWASP ZAP 사이의 브리지를 제공하여 자동화된 보안 테스트 및 분석이 가능합니다. ZAP-MCP가 MCP 프로토콜을 통해 AI 모델에 의해 호출 할 수있는 표준화 된 함수를 서버로 작동하는 클라이언트 서버 아키텍처를 사용합니다. - : 보안 검사 및 분석 수행하기 위해 AI 모델을 활성화하십시오. : 추적 검사 진행 상황을 확인하고 즉각적인 알림을 받으십시오. : 보안 보고서 및 권장 사항 생성 - : MCP 프로토콜을 통해 다양한 AI 모델과 함께 작동합니다. : 실시간 업데이트 및 상호 작용 - Python 3.8+ - 로컬 또는 원격으로 실행되는 OWASP ZAP - Claude 데스크탑 앱 (또는 다른 MCP 호환 클라이언트) 4. ZAP-MCP 구성: - 복사 claude desktop config.

개요(AI 번역)

모델 Context Protocol (MCP)을 통해 OWASP ZAP 및 AI 모델 간의 강력한 통합. 이 프로젝트는 AI 모델이 직접 ZAP의 스캔 기능과 상호 작용할 수 있도록 AI 기반 보안 테스트를 가능하게 합니다.

스타 역사

개요

ZAP-MCP는 AI 모델과 OWASP ZAP 사이의 브리지를 제공하여 자동화된 보안 테스트 및 분석이 가능합니다. ZAP-MCP가 MCP 프로토콜을 통해 AI 모델에 의해 호출 할 수있는 표준화 된 함수를 서버로 작동하는 클라이언트 서버 아키텍처를 사용합니다.

특징

  • AI-Driven Security Testing: 보안 검사 및 분석 수행하기 쉬운 AI 모델
  • ** 실시간 검사 모니터링**: 스캔 진행 상황을 추적하고 즉시 알림을 받으세요.
  • **자동 분석 **: 보안 보고서 및 권장 사항 생성
  • Flexible 통합: MCP 프로토콜을 통해 다양한 AI 모델로 작업
  • WebSocket Communication: 실시간 업데이트 및 상호 작용

필수품

  • 파이썬 3.8+
  • 로컬 또는 원격으로 실행되는 OWASP ZAP
  • Claude 데스크톱 앱 (또는 다른 MCP 호환 클라이언트)

설치

  1. 저장소를 복제:

  2. 의존성 설치:

  3. MCP 서버 설정:

  4. ZAP-MCP 구성:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

ZAP-MCP: Model Context Protocol for OWASP ZAP

A powerful integration between OWASP ZAP and AI models through the Model Context Protocol (MCP). This project enables AI-driven security testing by allowing AI models to directly interact with ZAP’s scanning capabilities.

Star History

Overview

ZAP-MCP provides a bridge between AI models (like Claude) and OWASP ZAP, enabling automated security testing and analysis. It uses a client-server architecture where ZAP-MCP acts as the server, exposing standardized functions that can be called by AI models through the MCP protocol.

Features

  • AI-Driven Security Testing: Enable AI models to perform security scans and analysis
  • Real-time Scan Monitoring: Track scan progress and get instant alerts
  • Automated Analysis: Generate security reports and recommendations
  • Flexible Integration: Works with various AI models through the MCP protocol
  • WebSocket Communication: Real-time updates and interactions

Prerequisites

  • Python 3.8+
  • OWASP ZAP running locally or remotely
  • Claude Desktop App (or other MCP-compatible client)

Installation

  1. Clone the repository:
git clone https://github.com/tazer/ZAP-MCP.git
cd ZAP-MCP
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up the MCP server:
./setup_mcp.sh
  1. Configure ZAP-MCP:
    • Copy claude_desktop_config.json to your Claude app’s config directory
    • Update the ZAP API key and URL in the config file

Usage

  1. Start the MCP server:
mcp-server --config claude_desktop_config.json --model-dir ./models
  1. Configure your Claude desktop app:

    • Open Claude app settings
    • Enable MCP server integration
    • Set the WebSocket URL to: ws://localhost:7456/ws
  2. Start using ZAP-MCP:

    • The Claude app will now have access to ZAP scanning tools
    • You can request security scans, get alerts, and generate reports

Available Tools

The MCP server exposes these ZAP-specific tools:

  • start_scan: Start a new ZAP scan on a target URL
  • get_scan_status: Check the status of a running scan
  • get_alerts: Get all alerts from the current scan
  • get_scan_summary: Get a summary of the current scan

Configuration

The claude_desktop_config.json file contains all necessary settings:

{
    "mcp_server": {
        "host": "localhost",
        "port": 7456,
        "model": "claude-instant-v1",
        "max_tokens": 1000,
        "temperature": 0.7,
        "zap_api_key": "your-zap-api-key",
        "zap_url": "http://localhost:8080"
    },
    "local_models": {
        "path": "./models",
        "prefer_local": true
    },
    "zap_settings": {
        "scan_timeout": 300,
        "max_concurrent_scans": 5,
        "alert_threshold": "HIGH",
        "scan_policy": "default"
    }
}

Development

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →