trackmcp
Back to directory
dinosn

burp-mcp-server

View on GitHub
9 stars KotlinServers & Infrastructure Updated Aug 19, 2025

Documentation

Burp Suite MCP Server Extension with scan and crawl features

This an extended MCP Server Extension for BurpSuite proxy with scan and crawl based on the original.

For Building instructions follow below the original README as provided from PortSwigger, for direct use, load the extension provided on your Burp proxy.

Load the jar file as Java extension.

Require approval it's up to you, as it will give you a prompt each time is used.

The following is a sample for Cursor

code
{
  "mcpServers": {
    "burp": {
      "url": "http://localhost:9876/sse"
    }
  }
}

Sample content

Notes: This is meant to be a test/play tool nothing official nothing production.

==== Official readme below ====

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
  • 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.

code
git clone https://github.com/PortSwigger/mcp-server.git

2. Navigate to the Project Directory: Move into the project's root directory.

code
cd burp-mcp

3. Build the JAR File: Use Gradle to build the extension.

code
./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:

    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

    for the service it needs.

    This approach isn't ideal for desktop apps like Burp, so instead, Claude will start a proxy server that points to the

    Burp instance,

    which hosts a web server at a known port (`localhost:9876`).

    2. Configure Claude to use the Burp MCP server

    You can do this in one of two ways:

      This will add the Burp MCP server to the Claude Desktop config.

        Open the file located at `~/Library/Application Support/Claude/claude_desktop_config.json`,

        and replace or update it with the following:

        json
        {
                "mcpServers": {
                  "burp": {
                    "command": "",
                    "args": [
                        "-jar",
                        "/path/to/mcp/proxy/jar/mcp-proxy-all.jar",
                        "--sse-url",
                        ""
                    ]
                  }
                }
              }

        3. Restart Claude Desktop - assuming Burp is running with the extension loaded.

        Manual installations

        If you want to install the MCP server manually you can either use the extension's SSE server directly or the packaged

        Stdio proxy server.

        SSE MCP Server

        In order to use the SSE server directly you can just provide the url for the server in your client's configuration. Depending

        on your client and your configuration in the extension this may be with or without the `/sse` path.

        code
        http://127.0.0.1:9876

        or

        code
        http://127.0.0.1:9876/sse

        Stdio MCP Proxy Server

        The source code for the proxy server can be found here: MCP Proxy Server

        In order to support MCP Clients which only support Stdio MCP Servers, the extension comes packaged with a proxy server for

        passing requests to the SSE MCP server extension.

        If you want to use the Stdio proxy server you can use the extension's installer option to extract the proxy server jar.

        Once you have the jar you can add the following command and args to your client configuration:

        code
        /path/to/packaged/burp/java -jar /path/to/proxy/jar/mcp-proxy-all.jar --sse-url http://127.0.0.1:9876

        Creating / modifying tools

        Tools are defined in `src/main/kotlin/net/portswigger/mcp/tools/Tools.kt`. To define new tools, create a new serializable

        data class with the required parameters which will come from the LLM.

        The tool name is auto-derived from its parameters data class. A description is also needed for the LLM. You can return

        a string (or richer PromptMessageContents) to provide data back to the LLM.

        Extend the Paginated interface to add auto-pagination support.

        Frequently asked questions

        What is burp-mcp-server?

        burp-mcp-server is a Model Context Protocol (MCP) server listed in the TrackMCP directory.

        How do I install burp-mcp-server?

        Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

        Is burp-mcp-server open source?

        Yes — it is hosted on GitHub at https://github.com/dinosn/burp-mcp-server and has 9 stars.

        Related MCP tools

        Run your own MCP server? See who uses it and what to fix.

        Measure it with TrackMCP