radare2-mcp

radare2-mcp

MCP.Pizza Chef: radareorg

Built on radare2, the long-running open-source toolkit that security researchers use to pick software apart, this gives an assistant the run of a program file: listing the functions and text inside, turning raw machine instructions back into readable code, and labelling what it finds so the next pass makes sense. Everything happens on your own computer, with no account and nothing to pay for, though you do have to install radare2 first. A read-only mode keeps the assistant from changing anything.

Coding
Other

Use This MCP server To

Find out what an unknown program does before I run it See readable code for something I only have as a binary Search a program for hidden text, web addresses or messages Map which parts of a program call each other Label and comment on functions as I work through a file Check which outside libraries a program depends on

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

radare2-mcp FAQ

Is this still being maintained?
Yes. It is run by the radare2 project itself and had code changes as recently as August 2026, so it tracks current radare2 releases.
Do I need to pay for anything or sign up for an account?
No. Both radare2 and this add-on are free and open source, and analysis happens on your own machine. The only password involved is one you invent yourself, and only if you choose to run it over a network.
Which apps does it work with?
Claude Desktop, VS Code with Copilot Chat, Zed, Codex and other assistants that support MCP. Setup is a short block of settings text in each app.
Can I use this to work out whether a downloaded file is safe?
Yes, up to a point. Your assistant can open the file, read the text and web addresses buried in it, and describe what the code appears to do. It is a strong first look, not a verdict from an antivirus product.
Is it hard to set up?
It is the hardest tier. You install radare2, then either use its package command or build a container image, before pasting settings into your assistant. Comfortable with a terminal is the bar here.
Can it change files, or only look at them?
It can do both. Beyond reading, it renames functions, records notes, and while debugging it can write to a running program's memory. Starting it in read-only mode removes all of that.