Burp MCP Unrestricted 标志

Burp MCP Unrestricted

社区
RamanMG

Connect Burp Suite to an AI client over the Model Context Protocol.

发布者RamanMG
代码仓库Burp-MCP-Unrestricted
语言Kotlin
复刻数
12
星标数
75
可用工具
0
传输类型stdio
许可协议GPL-3.0
链接
  • 将工具接入 AI 工作流

    Burp MCP Unrestricted 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 75 个星标和 12 个复刻。

Burp MCP Server (Unrestricted)

Unofficial fork. Original project: PortSwigger/mcp-server by PortSwigger. Tweaked By Raman_MG.

This is not an official PortSwigger release, and is not affiliated with or endorsed by PortSwigger. For the supported official extension, install MCP Server from the Burp BApp Store.

Connect Burp Suite to an AI client over the Model Context Protocol.

This fork keeps everything the upstream extension does and adds the tooling I kept needing during real testing work: reading the newest proxy traffic first, pulling the site map, driving scans and crawls, and automating Repeater.


Why this fork exists

The official extension is built for a short, supervised session: a human watching, approving each action, on a target with a small amount of traffic. That is a reasonable default and it is the right one for most people.

It is the wrong shape for an agent working a real engagement. Below is what an AI client can and cannot do through each version. Every row was verified against the source, not assumed.

CapabilityOfficial MCP ServerThis fork
Read the newest requestOnly through get_proxy_http_history, which returns history oldest-first. On a project with 100k captured requests, the current one sits at offset ~100000.get_proxy_http_history_latest returns newest-first. The request you just made is at offset 0.
Response size per itemHardcoded 5000-character truncation on every item, applied by a private function with no parameter to override it. A 40KB JSON response is cut at 5000 and the rest is unreachable.maxLength on every read tool. Pass 0 to disable truncation and get the whole body.
See the endpoint inventoryNo tool reaches it. Upstream calls siteMap().issues() to list scanner findings, but never siteMap().requestResponses(), so the discovered URL inventory (including spidered URLs with no response yet) is unreachable.get_site_map exposes requestResponses(), with host and regex filters.
Start a scanRead-only. get_scanner_issues reads findings, but nothing can start an audit.active_scan_url starts an audit. crawl_url starts a crawl. (Professional.)
Use RepeaterWrite-only. create_repeater_tab puts a request into Repeater, then the agent is stuck: no way to send it, and no way to read the response.repeater_send, repeater_read, repeater_rename. Full loop.
Sustained workConfirmation dialog before each HTTP request and each data read.Off by default, still switchable in the MCP+ tab.
Edit Burp configOff by default.On by default.

To be exact about one thing, since it gets repeated: the official extension does not impose a fixed cap of 1000 URLs. Pagination count is caller-controlled with no ceiling. The limits that actually bite are the three real ones above: oldest-first ordering, the 5000-character truncation, and the missing site map.

What that means on a long engagement

Take a wide-scope program worked over several months. Proxy history does not stay small. Browse the app, run a crawl, let the scanner work, replay a few hundred requests a day, and the history passes 100,000 entries without anything unusual happening.

At that size the official extension's ordering stops being an inconvenience and becomes a wall. The agent asks for proxy history and receives requests from the first day of the engagement. To reach what you just sent, it has to page forward through six figures of stale traffic, and each page burns a round trip and a slice of a finite context window. The traffic is right there in Burp. The agent simply cannot get to the end of the list. get_proxy_http_history_latest is one line of reordering, and it turns that from impossible into offset 0.

The truncation compounds it. Interesting responses are usually the large ones: a verbose stack trace, a bulk export, a GraphQL introspection result, an API listing that leaks fields the UI redacts. Those are exactly the responses that blow past 5000 characters, so the agent reads the first 5000 and the finding sits in the part that got cut.

The site map gap is the third. Proxy history tells you what was requested. The site map tells you what exists, including URLs a crawl discovered but never fetched. That inventory is the attack surface. Upstream reaches into the site map object for scanner issues but never for the request/response inventory, so an agent can read what Burp found wrong and not what Burp found.

None of this is a criticism of the upstream design. A tool built for a supervised ten-minute session makes different tradeoffs than one driving a months-long engagement. This fork is the second shape.


What is different in this fork

Two kinds of change: new tools and changed defaults. Full technical detail, including the exact upstream lines touched, is in CHANGES.md.

New MCP tools (8)

ToolWhat it does
get_proxy_http_history_latestProxy history newest-first (offset 0 = most recent request). Upstream serves oldest-first only, so reading fresh traffic meant paging to the end. Supports regex filtering and maxLength.
get_site_mapReads Burp's target site map, which is the discovered URL/endpoint inventory including spidered URLs that have no response yet. Filter by host substring or regex.
active_scan_urlStarts a Burp active audit against a single URL. Poll get_scanner_issues for findings. Professional only.
crawl_urlStarts a Burp crawl from one or more seed URLs. Professional only.
repeater_sendSelects the Repeater tab (and a named sub-tab) and clicks Send. Target by buttonIndex or buttonLabel; with no target it inventories every visible button so you can pick one.
repeater_readScrapes the visible request/response editors of the active Repeater sub-tab, leftmost pane first.
repeater_renameRenames a Repeater sub-tab, matched by a substring of its current title.
swing_dumpDiagnostic. Dumps Burp's Swing component tree (buttons, tab titles, editor lengths) so the Repeater automation above can be mapped on your own Burp build.

The Repeater tools drive the Swing UI directly, because the Montoya API exposes no Repeater send/read/rename surface. That makes them the most build-sensitive part of this fork: if a Burp update reshuffles the UI, run swing_dump to find the new button index.

Every new read tool also accepts maxLength, which overrides the hardcoded 5000-character truncation upstream applies per item. Pass 0 or a negative value to disable truncation entirely.

Changed defaults

SettingUpstreamThis fork
requireHttpRequestApprovaltruefalse
requireDataAccessApprovaltruefalse
configEditingToolingfalsetrue
Extension nameBurp MCP ServerBurp MCP Server (Unrestricted)
Suite tabMCPMCP+

Read this before installing. Upstream shows a confirmation dialog before the AI client sends an HTTP request or reads captured data. This fork turns those dialogs off by default, which is the entire point of the "unrestricted" name: an agent driving a long test session should not stop every few seconds for a click. The tradeoff is real. With the defaults as shipped, a connected MCP client can send HTTP requests and read your proxy history without asking you first, and config-editing tooling is enabled.

Nothing is removed, only re-defaulted. Every prompt can be switched back on in the MCP+ tab, which gives you upstream behaviour. If you would rather opt in than opt out, flip the three toggles after first load, or change the defaults in McpConfig.kt and rebuild.

The server still binds to 127.0.0.1:9876 by default, as upstream. Keep it there. Do not expose it on a routable interface with the approval prompts disabled.


Install

Option A: prebuilt jar

Download burp-mcp-unrestricted-1.3.0.jar from the latest release. It is a ready-to-load build with the stdio MCP proxy already embedded, so it is the only file you need.

  1. Burp Suite → Extensions → Add
  2. Extension type: Java
  3. Select the jar, then Next

An MCP+ tab should appear in the Burp suite tab bar.

Option B: build from source

Requires Java 21 and the jar command on your PATH.

bash
git clone https://github.com/RamanMG/Burp-MCP-Unrestricted.git
cd Burp-MCP-Unrestricted
./gradlew embedProxyJar

Output lands at build/libs/burp-mcp-all.jar. Load it exactly as in Option A.

Use embedProxyJar, not plain build: it packs the stdio proxy from libs/ into the extension jar so a stdio MCP client works without a second file.


Configuration

Configured through the Burp UI in the MCP+ tab.

  • Enabled toggles the MCP server.
  • Enable tools that can edit your config exposes the config-editing tools (on by default in this fork).
  • Advanced options sets host and port. Default http://127.0.0.1:9876.
  • The approval toggles described above live here too.

Claude Desktop

The extension ships an installer that writes the Claude Desktop config for you. Use the installer button in the MCP+ tab, or edit the config by hand at ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{
  "mcpServers": {
    "burp": {
      "command": "<path to the Java executable packaged with Burp>",
      "args": [
        "-jar",
        "/path/to/mcp-proxy-all.jar",
        "--sse-url",
        "http://127.0.0.1:9876"
      ]
    }
  }
}

Restart Claude Desktop with Burp running and the extension loaded.


Manual installation

For any client other than Claude Desktop, or if you would rather not use the installer button.

SSE: point the client at the server URL. Depending on the client, with or without the /sse path:

http://127.0.0.1:9876
http://127.0.0.1:9876/sse

Stdio: for clients that only speak stdio, use the packaged proxy. Extract it with the installer option in the extension, then:

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

Proxy server source: PortSwigger/mcp-proxy.


Adding your own tools

Tools are defined in src/main/kotlin/net/portswigger/mcp/tools/Tools.kt. Create a @Serializable data class holding the parameters the LLM supplies, then register it with mcpTool<YourClass>("description").

The tool name is auto-derived from the data class name, converted to snake_case: GetSiteMap becomes get_site_map. Return a string, or richer PromptMessageContent, to send data back to the LLM. Extend the Paginated interface for automatic pagination.


Compatibility

  • Burp Suite Professional and Community. active_scan_url and crawl_url register only on Professional, since scanning is a Pro feature. The other six tools work on both editions.
  • Built against upstream v1.3.0 of the Montoya-based extension, on Java 21.

Credits and licence

The overwhelming majority of this code is PortSwigger's. Original authors: Daniel S and Daniel Allen, PortSwigger. Original repository: github.com/PortSwigger/mcp-server.

Modifications in this fork by Raman_MG.

Licensed under the GNU General Public License v3.0, the same licence as upstream. The full text is in LICENSE, unmodified. Per GPLv3 section 5(a), the changes made to the original work are documented in CHANGES.md and are marked inline in the source with UNRESTRICTED FORK comments.

This extension is for authorised security testing only: systems you own, or systems you have written permission to test.

将 Burp MCP Unrestricted MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Burp MCP Unrestricted 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Burp MCP Unrestricted 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Burp MCP Unrestricted MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "burp-mcp-unrestricted": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Burp MCP Unrestricted MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Burp MCP Unrestricted MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Burp MCP Unrestricted 帮我完成这项任务吗?
Burp MCP Unrestricted
当然,我看过了。
以下是我使用 Burp MCP Unrestricted 得到的结果。

常见问题

Burp MCP Unrestricted MCP 服务器有什么用途?

Burp MCP Unrestricted 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Burp MCP Unrestricted MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Burp MCP Unrestricted。

为什么在 TypingMind 中使用 Burp MCP Unrestricted MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Burp MCP Unrestricted 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Burp MCP Unrestricted MCP 连接到 TypingMind?

Burp MCP Unrestricted 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Burp MCP Unrestricted MCP 在 TypingMind 中提供哪些工具?

Burp MCP Unrestricted 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Burp MCP Unrestricted MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Burp MCP Unrestricted 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇