Stdio MCP server for radare2 that lets agents disassemble and inspect binaries for reverse engineering.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add radare2 -- docker build -t r2mcp .~/.codex/config.toml
[mcp_servers.radare2]
command = "docker"
args = ["build", "-t", "r2mcp", "."]
# codex mcp add radare2 -- docker build -t r2mcp .~/.cursor/mcp.json
{
"mcpServers": {
"radare2": {
"command": "docker",
"args": [
"build",
"-t",
"r2mcp",
"."
]
}
}
}.vscode/mcp.json
{
"servers": {
"radare2": {
"type": "stdio",
"command": "docker",
"args": [
"build",
"-t",
"r2mcp",
"."
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"radare2": {
"command": "docker",
"args": [
"build",
"-t",
"r2mcp",
"."
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"radare2": {
"command": "docker",
"args": [
"build",
"-t",
"r2mcp",
"."
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"radare2": {
"command": "docker",
"args": [
"build",
"-t",
"r2mcp",
"."
]
}
}
}