本项目是一个功能强大的模型上下文协议 (MCP) 服务器实现,专为 BurpSuite 打造,能够提供对 Burp 核心功能的程序化访问。
本项目提供了一系列强大的功能,下面为你详细介绍。
# 拦截一个请求
curl -X POST "http://localhost:8000/proxy/intercept" -H "Content-Type: application/json" -d '{"url":"https://example.com","method":"GET"}'
# 查看代理历史
curl http://localhost:8000/proxy/history
# 清理代理历史
curl -X DELETE http://localhost:8000/proxy/clear
# 记录请求
curl -X POST "http://localhost:8000/logger" -H "Content-Type: application/json" -d '{"endpoint":"/api/v1/login","method":"POST","body":{"username":"admin","password":"secret"}}'
# 获取日志摘要
curl http://localhost:8000/logger-summary
# 导出日志
curl http://localhost:8000/export-logs
详细的 API 文档请访问:
MCP 服务器已配置为与 Cursor IDE 无缝协作。cursor 文件夹包含所有必要的配置文件:
settings.json:包含 MCP 服务器配置,如服务器主机和端口设置、终点配置、BurpSuite 代理设置、日志设置以及 Python 解释器路径。tasks.json:定义常见任务,如启动 MCP 服务器、运行漏洞测试、检查漏洞。launch.json:包含调试配置,如调试 MCP 服务器、调试漏洞测试。服务器将在 http://localhost:8000 可用,以下是主要端点:
/proxy/intercept 用于请求拦截。/logger 用于日志功能。/logger/vulnerabilities/severity 用于漏洞分析。本项目采用 MIT 许可证。