dnakov avatar

Radare2

dnakov/radare2-mcp

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 tools

Public 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

ci radare2

r2mcp logo

An 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-ID multiplexing
  • πŸ› οΈ Optional raw access to run r2 commands or r2js scripts

Installation


View the full README on GitHub

Details

Repository
github.com/dnakov/radare2-mcp
Category
Reverse Engineering

Related Reverse Engineering MCP servers

View all
1mikkoparkkola avatartrvlmikkoparkkola/trvlDoor-to-door travel MCP + CLI: flights, hotels, trains, cars, ferries. No API keys, Go binary.93stars
2jcucci avatarDotnet Sherlock Mcpjcucci/dotnet-sherlock-mcp.NET assembly introspection MCP server with advanced reflection and type analysis capabilities10stars
3dakera-ai avatarDakera Mcpdakera-ai/dakera-mcpAgent memory engine β€” 106 MCP tools, self-hosted, single Rust binary9stars
4new1direction avatarKorg Introspect Mcpnew1direction/korgWrap any korg:introspect@v1-aware binary as a Claude Code tool, honoring declared side-effects.3stars
5vernonstinebaker avatarWebDAV MCPvernonstinebaker/webdav-mcpZero-dependency WebDAV MCP server β€” single static binary, no Node.js or Python. 8 tools via stdio.3stars
6boska avatarVoxboska/voxNative macOS MCP server for voice I/O β€” Swift binary, SFSpeechRecognizer + ElevenLabs TTS.1stars