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,网络安全的新时代。

GitHubhttps://github.com/PortSwigger/mcp-server

MCP 协议https://modelcontextprotocol.io/

暂无介绍....

延伸阅读:

48K Star仓库:66个设计系统让AI写前端不再丑

🎨 解决 AI 写前端 UI 丑的问题:awesome-design-mdAI 写前端最头疼的问题是什么?UI 太丑。A...

itadol5j
2026年4月14日
Burp Suite官方MCP Server:让AI Agent自动渗透测试

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

itadol5j
2026年4月14日
Cursor Agent 3.0套壳Claude Code:一行没改,只做了全局替换

🔥 Cursor Agent 3.0 被曝套壳 Claude Code:一行代码都没改AI 编程工具圈又出大新闻:Cur...

itadol5j
2026年4月13日
免费白嫖!腾讯两款AI助手帮你用上GLM-5.1和MiniMax M2.7

💰 免费!腾讯两款 AI 助手帮你白嫖 GLM-5.1 和 MiniMax M2.7想免费使用智谱 GLM-5.1 和M...

itadol5j
2026年4月13日
Browser-Use开源:让AI自动帮你操作任何网站

🌐 Browser-Use:让 AI 自动帮你操作任何网站想象一下:你只需要说"帮我买一份午餐",AI 就会自动打开外卖...

itadol5j
2026年4月13日