Burp Suite官方MCP Server:让AI Agent自动渗透测试

Burp Suite MCP Server架构

🔥 Burp Suite 官方 MCP Server:让 AI Agent 自动渗透测试

PortSwigger(Burp Suite 开发商)官方发布了MCP Server,让 AI Agent 可以通过Model Context Protocol (MCP) 直接控制 Burp Suite。

这意味着:AI Agent 可以自动进行渗透测试了。

🎯 什么是 Burp Suite MCP Server?

MCP (Model Context Protocol) 是 Anthropic 提出的协议,让 AI Agent 可以与外部工具交互。Burp Suite MCP Server 就是连接 Burp Suite 和 AI Agent 的桥梁。

工作流程:

AI Agent (Claude/GPT) → MCP 协议 → MCP Server → Burp Suite → 渗透测试

🔧 核心功能

功能 说明
MCP Server 默认监听 127.0.0.1:9876
SSE 接口 HTTP Server-Sent Events 接口
Stdio Proxy 兼容 Claude Desktop 的 Stdio MCP
自动安装 自动配置 Claude Desktop
配置编辑 可选启用 Burp 配置文件编辑工具
自定义工具 可扩展新的 MCP 工具

🚀 安装步骤

前提条件

  • Java:必须安装且在 PATH 中
  • jar 命令:必须可执行
  • Burp Suite:需要 Burp Suite 应用

安装步骤

# 1. 克隆仓库
git clone https://github.com/PortSwigger/mcp-server.git
cd mcp-server

# 2. 构建 JAR 文件
./gradlew embedProxyJar

# 3. 在 Burp Suite 中加载扩展
# Extensions → Add → Java → 选择 build/libs/burp-mcp-all.jar

# 4. 配置 MCP Server(在 Burp 的 MCP 标签页)
# 默认监听 http://127.0.0.1:9876

🔗 连接 Claude Desktop

Claude Desktop 目前只支持 Stdio MCP Servers,所以 Burp MCP Server 提供了代理服务器:

# Claude Desktop 配置文件
# ~/Library/Application Support/Claude/claude_desktop_config.json

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

工作原理:

  • Claude Desktop 启动 Stdio Proxy Server
  • Proxy Server 连接到 Burp 的 SSE MCP Server
  • 所有请求通过 Proxy 转发到 Burp

🛠️ 使用 SSE Server 直接连接

如果你的 MCP Client 支持 SSE,可以直接连接:

# SSE 接口 URL
http://127.0.0.1:9876

# 或带 /sse 路径
http://127.0.0.1:9876/sse

🔧 扩展自定义工具

你可以定义新的 MCP 工具:

// 工具定义在 src/main/kotlin/net/portswigger/mcp/tools/Tools.kt

// 创建新的 serializable data class
@Serializable
data class MyCustomTool(
    val param1: String,
    val param2: Int
)

// 工具名称自动从参数类名派生
// 返回字符串或更丰富的 PromptMessageContents

还可以通过实现 Paginated 接口添加自动分页支持。

💡 应用场景

场景 AI Agent 可以做什么
自动渗透测试 AI Agent 自动扫描、分析漏洞
漏洞分析 AI Agent 分析 Burp 捕获的数据
报告生成 AI Agent 生成渗透测试报告
配置自动化 AI Agent 自动配置 Burp

📝 总结

Burp Suite MCP Server 标志着渗透测试进入 AI Agent 时代:

  • PortSwigger 官方发布,可靠性高
  • 支持 MCP 协议,兼容 Claude Desktop
  • 提供 SSE Server 和 Stdio Proxy
  • 可扩展自定义工具
  • AI Agent 可以自动进行渗透测试

渗透测试 + AI Agent,网络安全的新时代。

GitHub:https://github.com/PortSwigger/mcp-server

MCP 协议:https://modelcontextprotocol.io/

暂无介绍....

延伸阅读:

AiSOC:6741 星的开源 AI SOC,先学会了对自己说实话

AiSOC 现 6741 星。它最特别的地方不是 AI 分诊,是那份 REPOSITORY_REALITY 自查报告——...

itadol5j
2026年11月9日
AutoHunter 拆解:24 小时挖洞机的真本事,是劝 AI 别乱提交

StanleyNull/AutoHunter 仓库全量过了一遍:130KB 纯提示词、五道拦截闸门、真实 nmap/nu...

itadol5j
2026年11月8日
超800个Artex实例暴露公网:AI渗透测试工具反成风险入口

Censys 11月5日报告:1,465台主机在公网跑着 ARTEX 控制台,去掉650台同构模板后约815个独立部署—...

itadol5j
2026年11月8日
最强的矛也成了最强的盾:GPT-6 Cyber 发布,但成绩单里有四栏是往下走的

把 GPT-6 Cyber 的发布稿、11 月 5 日 System Card、Linux 内核研究报告和 Mozill...

itadol5j
2026年11月6日
一个星号吃掉所有密码:OpenSSH「sshole」CVE-2026-123158 排查与止血

musl + 无 PAM + 一个密码字段为 * 的账号 + 一个真 $6$ 哈希,四条凑齐就能用 257 字节以上的任...

itadol5j
2026年11月6日