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/

暂无介绍....

延伸阅读:

代码里露出 Bots,谷歌要让 Gemini 自己动手干活

中文技术圈在传 Gemini 代码里出现 Bots 字段。核查下来,/bots 返回 404,官方从没发布过这个名字;被...

itadol5j
2026年11月27日
一台机器管一片资产,ScopeSentry 把扫描端拆成可插拔的节点

ScopeSentry 是 Autumn-27 维护的分布式资产测绘平台,2,724 星、737 fork。单机 com...

itadol5j
2026年11月27日
充了 Google AI Pro,Antigravity 照样打不开

Antigravity 的坑集中在资格而不是功能上。地区名单里没有中国大陆与香港,公司邮箱登录只能拿到起步配额,企业账号...

itadol5j
2026年11月27日
Google 把 IDE 删了,Antigravity 只剩一个 agent 调度台

Google Antigravity 2025 年 11 月首发时是一个 AI IDE,2026 年 5 月 19 日的...

itadol5j
2026年11月26日
智谱 GLM-5.4 来了,同一份订阅能多用一半,但权重还没放

2026 年 11 月 23 日,智谱发布 GLM-5.4,首个 Loop Transformer 旗舰:把 GLM-5...

itadol5j
2026年11月23日