
An MCP server to use radare2 with AI agents such as OpenCode, Mai, VSCode, Claude, CLION, ...
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
