CA

cyreslab-ai/burpsuite-mcp-server

API 开发官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 3 forks 质量 80 趋势 26MIT

Burp Suite专业的 REST API 的 MCP 服务器.

概览

一个模型上下文协议(MCP)服务器,该服务器呼叫了Burp Suite Professional的内置本地REST API,以启动扫描并检索扫描状态/问题. 这个MCP服务器允许AI助手驾驶Burp Suite专业公司的扫描仪进行网络安全测试. 它为: - 启动目标URL上的脆弱性扫描 - 检查扫描状态 - 检索扫描发现的脆弱性问题 它与Burp Suite Professional自己的本地REST API交谈——相同的API地表Burp为自己的自动化而暴露出,而不是单独的主机产品. (Burp 套接字有一个不同的,GraphQL-first API针对CI/CD;此服务器不使用. get proxy history and get site map在工具列表中保存,用于与此服务器更早版本的接口相容,但Burp Suite Professional的REST API没有代理历史或站点地图的终点——见下文所知道的限制. 1. 开放Burp套间专业,请前往。 2. 检查. 3.

概述(AI 翻译)

一个模型上下文协议(MCP)服务器,该服务器呼叫了Burp Suite Professional的内置本地REST API,以启动扫描并检索扫描状态/问题.

□ 概览

这个MCP服务器允许AI助手驾驶Burp Suite专业公司的扫描仪进行网络安全测试. 它为:

  • 启动目标URL上的脆弱性扫描
  • 检查扫描状态
  • 寻找扫描发现的脆弱性问题

它与Burp Suite Professional自己的本地REST API交谈——相同的API地表Burp为自己的自动化而暴露出,而不是单独的主机产品. (Burp 套件 ** Enterprise ** 具有一个不同的,GraphQL- first API,旨在CI/CD;此服务器不使用.

[[T0]和get_site_map被保存在工具列表中,以便与这个服务器的更早版本相兼容,但Burp Suite Professional的REST API没有代理历史或站点地图的终点——见下文所知道的限制.

□ 设置 Burp 套房的 REST API

  1. 开放Burp套房专业,前往Settings > 套房 > REST API。
  2. 检查**“服务运行”**.
  3. 注意(或更改)服务 URL/port——默认为`[T2]

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Burp Suite MCP Server

A Model Context Protocol (MCP) server that calls Burp Suite Professional’s built-in local REST API to launch scans and retrieve scan status/issues.

Overview

This MCP server allows AI assistants to drive Burp Suite Professional’s scanner for web security testing. It provides tools for:

  • Starting vulnerability scans on target URLs
  • Checking scan status
  • Retrieving vulnerability issues found by a scan

It talks to Burp Suite Professional’s own local REST API — the same API surface Burp exposes for its own automation, not a separate hosted product. (Burp Suite Enterprise has a different, GraphQL-first API aimed at CI/CD; this server does not use it.)

get_proxy_history and get_site_map are kept in the tool list for interface compatibility with earlier versions of this server, but Burp Suite Professional’s REST API has no endpoint for proxy history or the site map — see Known limitation below.

Setting up Burp Suite’s REST API

  1. Open Burp Suite Professional, go to Settings > Suite > REST API.
  2. Check “Service running”.
  3. Note (or change) the service URL/port — the default is http://127.0.0.1:1337 (loopback only by default; PortSwigger advises against binding to a non-loopback interface on an untrusted network).
  4. Create an API key. The key is only shown once, at creation — copy it somewhere safe.

Burp’s REST API is accessed as http://://v0.1/.... It is also self-documenting: once the service is running, browsing to http://://v0.1/ shows the exact request/response schema for your installed Burp version. PortSwigger does not publish a full static schema for this API, so if a tool’s output looks off, that page is the source of truth.

Configuration

This server requires two environment variables — it will refuse to start without them:

Variable Description
BURP_API_URL Base URL of Burp’s REST API service, e.g. http://localhost:1337
BURP_API_KEY The API key generated in Settings > Suite > REST API

Features

Tools

The server exposes the following tools:

  1. start_scan: Start a new vulnerability scan on a target URL (POST /v0.1/scan). This launches a real scan against the target and generates live traffic to it.

    • Parameters:
      • target (required): Target URL to scan (e.g., https://example.com)
在 GitHub 查看完整 README

安装

npx -y @smithery/cli install @Cyreslab-AI/burpsuite-mcp-server --client claude
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "burpsuite": { "command": "node", "args": ["/path/to/burpsuite-server/build/index.js"], "env": { "BURP_API_URL": "http://localhost:1337", "BURP_API_KEY": "your-api-key-here" }, "disabled": false, "autoApprove": [] } } }