Skip to main content
Glama
jayluxferro

Burp Suite MCP Server

by jayluxferro

Burp Suite MCP 服务器

一个 MCP (Model Context Protocol) 服务器,将 Burp Suite 的 REST API 作为工具暴露给 AI 助手。使用 Cursor 或其他 MCP 客户端来触发漏洞扫描、检查进度并查询 Burp 的安全知识库。

前提条件

  • Burp Suite Professional (或 Burp Suite DAST),并已启用 REST API

  • Python 3.11+

  • Burp 在本地运行,且 REST API 绑定到可访问的地址 (例如 http://127.0.0.1:1337)

Related MCP server: MCPPentestBOT

设置

1. 启用 Burp REST API

  1. 打开 Burp Suite → SettingsSuiteREST API

  2. 勾选 Service running

  3. 设置 URL/端口 (例如端口 1337)

  4. 创建一个 API 密钥并复制它

2. 安装 MCP 服务器

uv sync   # or: pip install -e .

3. 配置环境变量

.env.example 复制为 .env 并填入你的值:

cp .env.example .env

编辑 .env

BURP_REST_API_BASE=http://127.0.0.1:1337
BURP_REST_API_KEY=your-api-key-here
BURP_REST_API_VERSION=v0.1

传输模式

服务器支持三种传输方式,通过 --transport 选择:

标志

传输方式

使用场景

--transport stdio

stdio (默认)

本地 MCP 客户端 (Cursor, Claude Desktop)

--transport sse

Server-Sent Events

使用传统 SSE 协议的 HTTP 客户端

--transport http

Streamable HTTP

使用现代 MCP HTTP 协议的 HTTP 客户端

对于 ssehttp,绑定地址和端口是可配置的:

# Default: localhost only, port 8000
uv run python main.py --transport http

# Expose on all interfaces, custom port
uv run python main.py --transport http --host 0.0.0.0 --port 9000

# SSE transport
uv run python main.py --transport sse --host 127.0.0.1 --port 8000

Cursor MCP 配置

stdio (本地进程)

添加到你的 Cursor MCP 配置中 (例如 ~/.cursor/mcp.json 或项目 .cursor/mcp.json):

{
  "mcpServers": {
    "burp-suite": {
      "command": "uv",
      "args": ["run", "python", "/path/to/burp-mcp/main.py"],
      "cwd": "/path/to/burp-mcp"
    }
  }
}

HTTP (远程/共享服务器)

使用 HTTP 传输启动服务器,然后将你的 MCP 客户端指向它:

uv run python main.py --transport http --host 0.0.0.0 --port 8000
{
  "mcpServers": {
    "burp-suite": {
      "url": "http://localhost:8000/mcp"
    }
  }
}

工具

工具

描述

burp_suite_security_issue_definitions

获取 Burp 的安全问题定义 (名称、描述、修复建议、参考资料)

scan_urls_for_vulnerabilities

为给定的 URL 启动扫描。返回用于跟踪的 task_id。可选 scope 参数

check_security_scan_progress

通过 task_id 获取扫描状态和发现的问题。按严重程度过滤:low, info, medium, highall

get_scan_summary

高级摘要:按严重程度统计的问题总数

list_active_scans

列出正在运行/挂起的扫描 (并非所有 Burp API 版本都支持)

cancel_scan

通过 task_id 取消扫描 (并非所有 Burp API 版本都支持)

check_burp_connectivity

测试与 Burp API 的连接;验证配置

wait_for_scan_completion

轮询直到扫描完成或超时 (用于 CI/CD)

使用示例

扫描 URL:

"Scan https://example.com for vulnerabilities"

检查扫描进度:

"Check scan progress for task_id 123"

仅获取高严重性问题:

"Check scan 123 and show only high severity issues"

安全知识:

"What security issues does Burp know about?"

命令行使用

从脚本或终端运行扫描:

uv run python examples/ci-scan.py https://your-target.com
# or
./examples/ci-scan.sh https://your-target.com

使用的 Burp REST API 端点

端点

方法

描述

/knowledge_base/issue_definitions

GET

安全问题定义

/scan

POST

启动扫描 (body: {"urls": [...]})

/scan

GET

列出扫描 (可能不支持)

/scan/{task_id}

GET

扫描进度和结果

/scan/{task_id}

DELETE

取消扫描 (可能不支持)

交互式 API 文档:[BURP_REST_API_BASE]/[API_KEY]

许可证

MIT

F
license - not found
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    C
    quality
    D
    maintenance
    Enables AI agents to generate and manage specialized bug bounty hunting workflows including reconnaissance, vulnerability testing, OSINT gathering, and file upload testing. Provides REST API endpoints for comprehensive security assessments with intelligence-driven vulnerability prioritization.
    40
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to perform authorized security testing and penetration testing operations including SSL/TLS analysis, port scanning, vulnerability scanning, and HTTP security header audits through natural language interactions.
    1
    MIT
  • A
    license
    C
    quality
    A
    maintenance
    Connects AI coding assistants to Snyk API & Web for onboarding scan targets, configuring authentication, running DAST scans, and triaging findings through natural language.
    51
    7
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI coding assistants to leverage Application Security Posture Management (ASPM) capabilities, allowing developers to write secure code, query security risks, trigger diff scans, and manage security findings directly from their AI assistant.
    4
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Pay-per-call cybersecurity for AI agents: vuln scans, threat intel, compliance, code security.

  • CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.

  • CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jayluxferro/burp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server