DM

danielgallen/mcp-server

开发工具

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

1274 stars 224 forks 质量 77 趋势 38GPL-3.0

Burp 的 MCP 服务器

概览

使用"模式上下文协议"(MCP)将Burp套件与AI客户端整合. 关于协议访问的更多信息:modelcontextprotocol.io - 通过 MCP 连接 Burp 套件到 AI 客户端 - Claude 桌面的自动安装 - 既服务于可流式 HTTP (/mcp) ,也服务于遗留的 SSE (/) 传输 - 带有被包的 Stdio MCP 代理服务器 - 在 Burp 套件中安装扩展名 - 在扩展名设置中配置您的 Burp MCP 服务器 - 配置您的 MCP 客户端使用 Burp SSE MCP 服务器或 stdio 代理服务器 - 通过客户端与 Burp 交互 ! 确保在建造和安装分机之前满足下列先决条件: 1.:Java必须安装并可用于您系统的PATH. 您可以在您的终端中运行 java -- version 来验证它 。 2.:罐子命令必须是可执行的,并且可以在您的系统的 PATH 中找到. 您可以在终端中运行 tan -- version 来验证这个 。 这是建造和安装分机所需的。 1. 联合国.

概述(AI 翻译)

□ 概览

使用"模式上下文协议"(MCP)将Burp套件与AI客户端整合.

关于协议访问的更多信息:modelcontextprotocol.io

□ 特性

  • 通过MCP连接Burp套件给AI客户端
  • Claude桌面自动安装
  • 既服务于可流式HTTP([[T0])又服务于遗留的SSE([T1])运输
  • 带包装的Sdio MCP代理服务器来

□ 使用量

  • 在Burp套间安装扩展
  • 在扩展设置中配置您的 Burp MCP 服务器
  • 配置您的 MCP 客户端以使用 Burp SSE MCP 服务器或 stdio 代理
  • 通过你的客户与Burp互动!

□ 安装

· 先决条件

确保在建造和安装分机之前满足下列先决条件:

  1. Java:Java必须安装和提供在您的系统的PATH中. 您可以在终端运行 java --version 来验证此操作 。
  2. jar 命令:jar命令必须是可执行的,并可在您的系统中的路径中使用。 您可以在终端运行 jar --version 来验证此操作 。 这是建造和安装分机所需的。

++ 构建扩展

  1. 联合国.

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

README

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

Burp Suite MCP Server Extension

Overview

Integrate Burp Suite with AI Clients using the Model Context Protocol (MCP).

For more information about the protocol visit: modelcontextprotocol.io

Features

  • Connect Burp Suite to AI clients through MCP
  • Automatic installation for Claude Desktop
  • Serves both Streamable HTTP (/mcp) and legacy SSE (/) transports
  • Comes with packaged Stdio MCP proxy server

Usage

  • Install the extension in Burp Suite
  • Configure your Burp MCP server in the extension settings
  • Configure your MCP client to use the Burp SSE MCP server or stdio proxy
  • Interact with Burp through your client!

Installation

Prerequisites

Ensure that the following prerequisites are met before building and installing the extension:

  1. Java: Java must be installed and available in your system’s PATH. You can verify this by running java --version in your terminal.
  2. jar Command: The jar command must be executable and available in your system’s PATH. You can verify this by running jar --version in your terminal. This is required for building and installing the extension.

Building the Extension

  1. Clone the Repository: Obtain the source code for the MCP Server Extension.

    git clone https://github.com/PortSwigger/mcp-server.git
    
  2. Navigate to the Project Directory: Move into the project’s root directory.

    cd mcp-server
    
  3. Build the JAR File: Use Gradle to build the extension.

    ./gradlew embedProxyJar
    

    This command compiles the source code and packages it into a JAR file located in build/libs/burp-mcp-all.jar.

Loading the Extension into Burp Suite

  1. Open Burp Suite: Launch your Burp Suite application.
  2. Access the Extensions Tab: Navigate to the Extensions tab.
  3. Add the Extension:
    • Click on Add.
    • Set Extension Type to Java.
    • Click Select file ... and choose the JAR file built in the previous step.
    • Click Next to load the extension.

Upon successful loading, the MCP Server Extension will be active within Burp Suite.

Configuration

Configuring the Extension

Configuration for the extension is done through the Burp Suite UI in the MCP tab.

  • Toggle the MCP Server: The Enabled checkbox controls whether the MCP server is active.
  • Enable config editing: The Enable tools that can edit your config checkbox allows the MCP server to expose tools which can edit Burp configuration files.
  • Advanced options: You can configure the port and host for the MCP server. By default, it listens on http://127.0.0.1:9876.

Claude Desktop Client

To fully utilize the MCP Server Extension with Claude, you need to configure your Claude client settings appropriately. The extension has an installer which will automatically configure the client settings for you.

  1. Currently, Claude Desktop only support STDIO MCP Servers
在 GitHub 查看完整 README

安装

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

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "burp": { "command": "<path to Java executable packaged with Burp>", "args": [ "-jar", "/path/to/mcp/proxy/jar/mcp-proxy-all.jar", "--sse-url", "<your Burp MCP server URL configured in the extension>" ] } } }