BugBounty MCP Server
Enables automated bug bounty hunting and security research with tools for reconnaissance, web vulnerability scanning, API testing, binary analysis, and mobile app analysis through an MCP interface.
README
BugBounty MCP Server
A modern, modular MCP server for bug bounty hunting and security research.
Features
- Recon Module - Subdomain enumeration, port scanning, URL discovery
- Web Module - Fuzzing, vulnerability scanning, parameter discovery
- API Module - REST/GraphQL testing, OpenAPI analysis
- Burp Integration - Passive/active scanning, repeater, scope management
- Ghidra Integration - Binary analysis, decompilation, reverse engineering
- Mobile Module - APK analysis, iOS research
- Binary Module - Checksec, ROP gadgets, string analysis
- AI Orchestrator - Intelligent workflow automation
- Reporting - Auto-generate Markdown/HTML/PDF reports
Architecture
┌─────────────────────────────────────────────────────────────┐
│ Claude Code │
│ VSCode / Cursor │
└─────────────────────────────────────────────────────────────┘
│ MCP
▼
┌─────────────────────────────────────────────────────────────┐
│ BugBounty MCP Server │
├─────────────────────────────────────────────────────────────┤
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────────────┐ │
│ │ Recon │ │ Web │ │ API │ │ Burp │ │
│ │ │ │ │ │ │ │ │ │
│ │•subfinder│ │•ffuf │ │•graphql │ │•passive_scan │ │
│ │•httpx │ │•nuclei │ │•openapi │ │•active_scan │ │
│ │•naabu │ │•dalfox │ │•jwt │ │•repeater │ │
│ │•katana │ │•sqlmap │ │•rest │ │•scope │ │
│ │•gau │ │•arjun │ │ │ │ │ │
│ └─────────┘ └─────────┘ └─────────┘ └─────────────────┘ │
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────────────┐ │
│ │ Ghidra │ │ Binary │ │ Mobile │ │ AI │ │
│ │ │ │ │ │ │ │ │ │
│ │•analyze │ │•checksec│ │•jadx │ │•workflow │ │
│ │•decompile│ │•ropgadget│ │•apktool│ │•recommend │ │
│ │•strings │ │•objdump │ │•frida │ │•prioritize │ │
│ │•xrefs │ │•strings │ │•classdump│ │ │ │
│ └─────────┘ └─────────┘ └─────────┘ └─────────────────┘ │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ Reporting Module │ │
│ │ Markdown / HTML / PDF / JSON │ │
│ └─────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────┘
Tech Stack
- FastMCP - MCP framework
- Pydantic - Data validation
- AsyncIO - Concurrent execution
- ProjectDiscovery Tools - Recon foundation
- Burp Suite Professional API - Web testing
- Ghidra Headless - Binary analysis
- SQLite - Results caching
- Docker Compose - Easy deployment
Quick Start
Prerequisites
- Python 3.11+
- Docker & Docker Compose
- Burp Suite Professional (for Burp integration)
- Ghidra (for reverse engineering)
- Go 1.21+ (for ProjectDiscovery tools)
Installation
# Clone the repository
git clone https://github.com/YOUR_USERNAME/bugbounty-mcp.git
cd bugbounty-mcp
# Install Python dependencies
pip install -e .
# Build Docker containers
docker-compose build
# Run the MCP server
python -m bugbounty_mcp.server
Configuration
Copy and edit the config file:
cp config/config.yaml.example config/config.yaml
Edit config/config.yaml:
mcp:
host: "0.0.0.0"
port: 8765
burp:
host: "localhost"
port: 1337
api_key: "your-burp-api-key"
ghidra:
install_path: "/opt/ghidra"
projects_dir: "/tmp/ghidra_projects"
tools:
projectdiscovery:
install_path: "/opt/pdtm"
nuclei:
templates: "/opt/nuclei-templates"
Usage with Claude Code
Add to your ~/.config/claude/code.json:
{
"mcpServers": {
"bugbounty": {
"command": "python",
"args": ["-m", "bugbounty_mcp.server"],
"env": {
"PYTHONPATH": "/path/to/bugbounty-mcp"
}
}
}
}
Available Tools
Recon Module
| Tool | Description |
|---|---|
subdomain_enum |
Passive subdomain enumeration |
port_scan |
Fast port scanning with naabu |
probe_urls |
HTTP probing with httpx |
crawl_urls |
Web crawling with katana |
url_discovery |
Historical URL discovery |
dns_enum |
DNS enumeration |
Web Module
| Tool | Description |
|---|---|
web_fuzz |
Directory/parameter fuzzing |
vuln_scan |
Vulnerability scanning with Nuclei |
xss_scan |
XSS detection |
sql_scan |
SQL injection testing |
param_discovery |
HTTP parameter discovery |
API Module
| Tool | Description |
|---|---|
graphql_test |
GraphQL security testing |
openapi_analyze |
OpenAPI/Swagger analysis |
jwt_analyze |
JWT token analysis |
rest_fuzz |
REST API fuzzing |
Burp Integration
| Tool | Description |
|---|---|
burp_passive_scan |
Run passive scan |
burp_active_scan |
Run active scan on target |
burp_repeater |
Send custom request |
burp_scope |
Manage target scope |
burp_sitemap |
Get sitemap |
burp_export |
Export findings |
Ghidra Integration
| Tool | Description |
|---|---|
ghidra_analyze |
Analyze binary |
ghidra_decompile |
Decompile function |
ghidra_strings |
Extract strings |
ghidra_functions |
List functions |
ghidra_xrefs |
Cross references |
ghidra_imports |
List imports |
Binary Module
| Tool | Description |
|---|---|
checksec |
Check security features |
rop_gadgets |
Find ROP gadgets |
one_gadget |
Find one-gadget RCE |
binary_strings |
Extract strings |
elf_analysis |
ELF binary analysis |
Mobile Module
| Tool | Description |
|---|---|
apk_decompile |
Decompile Android APK |
apk_analyze |
Static APK analysis |
ios_classdump |
Dump Objective-C classes |
Reporting Module
| Tool | Description |
|---|---|
generate_report |
Generate vulnerability report |
export_json |
Export findings as JSON |
export_markdown |
Export as Markdown |
Example Sessions
Recon on a Target
You: "Do recon on swisspost.com"
MCP:
1. subfinder -d swisspost.com
2. httpx -l subdomains.txt -ports 80,443
3. katana -list alive_urls.txt
4. nuclei -list targets.txt
Binary Analysis
You: "Analyze the binary /tmp/vuln"
MCP:
1. checksec /tmp/vuln
2. ghidra_analyze /tmp/vuln
3. ghidra_decompile main
4. ropgadget /tmp/vuln
Web Vulnerability Scan
You: "Scan https://target.com for vulnerabilities"
MCP:
1. ffuf -u https://target.com/FUZZ
2. nuclei -t cves -u https://target.com
3. dalfox url https://target.com
4. arjun -u https://target.com
Development
Run Tests
pytest tests/ -v
Type Checking
mypy src/
Format Code
ruff format src/
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests
- Submit a pull request
License
MIT License - see LICENSE
Roadmap
- [ ] Core MCP server with basic tools
- [ ] Burp Suite integration
- [ ] Ghidra integration
- [ ] AI workflow orchestrator
- [ ] Mobile analysis module
- [ ] Advanced reporting
- [ ] Web UI for results
Note: This project is for educational and authorized security testing purposes only.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。