
Radare2
Bridges AI assistants directly to radare2's binary analysis engine through native C APIs and r2pipe connections. Exposes reverse engineering operations like disassembly, function analysis, and binary inspection to Claude, VS Code Copilot, and other MCP-compatible tools. You can connect to local or remote r2 sessions, run raw r2 commands, and execute r2js scripts while maintaining sandbox controls. Installs via r2pm and integrates with Claude Desktop, VS Code, and Zed configurations. Useful when you need AI assistance for malware analysis, exploit development, or general binary reverse engineering workflows.
- GitHub stars
- 229
- tool
- 1
- last updated
- Dec 15, 2025
Tools
1 toolsPublic tool metadata for what this MCP can expose to an agent.
sqlPasses one SQL statement directly to the loaded SQL core plugin (r2xsql); supports SQL writes and is excluded from read-only mode.
Passes one SQL statement directly to the loaded SQL core plugin (r2xsql); supports SQL writes and is excluded from read-only mode.
No parameter schema in public metadata yet.
Sponsors
Readme
Radare2 MCP Server
r2mcp logoAn MCP server to use radare2 with AI agents such as OpenCode, Mai, VSCode, Claude, CLION, ...
Features
This implementation provides:
- π» Fully written in C using the native r2 APIs
- π§© Works from the CLI, as an r2 plugin and as an MCP server
- π Seamless binary analysis with radare2
- π Connect to any local or remote r2/iaito session via r2pipe
- π Supports readonly mode, sandbox lock and restrict tools
- π© Fine grained tools configuration
- π Direct stdin/stdout communication model
- π HTTP MCP server mode with optional
X-Session-IDmultiplexing - π οΈ Optional raw access to run r2 commands or r2js scripts
Installation
Details
- Repository
- github.com/dnakov/radare2-mcp
- Category
- Reverse Engineering