MCP RE Server
Enables reverse engineering and binary analysis using Ghidra, YARA, Radare2, and other tools, plus backend development assistance like project analysis, security scanning, and scaffolding.
README
MCP RE Server
MCP server for Reverse Engineering & Binary Analysis with backend development tools.
Features
Reverse Engineering Tools
| Tool | Description |
|---|---|
ghidra_analyze |
Analyze binary with Ghidra (headless mode) |
ghidra_decompile |
Decompile binary functions with Ghidra |
yara_scan |
Scan files with YARA rules for malware indicators |
analyze_binary |
Static analysis - extract strings, checksec, binary info |
radare2_analyze |
Analyze with Radare2 (functions, imports, strings) |
pestudio_analyze |
Analyze PE (Windows) files |
dynamic_analysis |
Behavioral analysis on suspicious files |
network_analysis |
Analyze pcap files for IOCs |
memory_forensics |
Memory dump analysis with Volatility commands |
gdb_debug |
Debug binaries with GDB |
Backend Development Tools
| Tool | Description |
|---|---|
analyze_project |
Analyze project structure, language, framework |
review_security |
Scan for hardcoded secrets, SQL injection, XSS |
analyze_api |
List all API endpoints |
validate_api_structure |
Check REST best practices |
get_architecture_advice |
Architectural recommendations |
scaffold_project |
Generate project with Docker & tests |
add_docker |
Add Docker configuration |
add_tests |
Add unit & integration tests |
execute_command, read_file, write_file, list_directory |
File operations |
Quick Start
npm install
npm run server
Environment Variables
| Variable | Description | Default |
|---|---|---|
GHIDRA_PATH |
Ghidra installation path | /opt/ghidra |
YARA_RULES_PATH |
Custom YARA rules directory | ./rules |
Usage Examples
- "Analyze binary /path/to/binary with Ghidra"
- "Scan malware.exe with YARA rules"
- "Run dynamic analysis on suspicious file"
- "Analyze network capture traffic.pcap"
- "Decompile main function from binary"
- "Check security of my binary (checksec)"
- "Analyze memory dump memory.dmp"
- "Debug binary with GDB at main"
- "Analyze PE file with PE Studio"
Claude Desktop Config
{
"mcpServers": {
"mcp-re": {
"command": "npm",
"args": ["run", "server"],
"workdir": "/path/to/mcp"
}
}
}
Requirements
RE Tools (optional)
- Ghidra - Binary analysis & decompilation
- YARA - Malware scanning
- Radare2 - Binary analysis
- checksec - Binary security checks
- strings - String extraction
- Volatility - Memory forensics
- tshark - Network analysis
- GDB - Debugging
Install on Kali/RE Linux:
sudo apt install yara radare2 checksec binutils volatility tshark gdb
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.