IDA Pro MCP vs Radare2 for Binary Analysis in Reverse-Skill: A Complete Comparison Guide
Use IDA Pro MCP for deep static analysis with full decompilation and 72 GUI-driven tools; choose Radare2 MCP for lightweight, scriptable, headless reconnaissance across any platform.
The reverse-skill repository implements dual binary-analysis pipelines through the Model-Context-Protocol (MCP) framework, letting AI agents and analysts select between IDA Pro MCP and Radare2 MCP based on workflow requirements. Both expose disassembly, analysis, and extraction capabilities via JSON-RPC, but differ dramatically in architecture, installation, and ideal use cases.
What Is MCP in Reverse-Skill?
The Model-Context-Protocol (MCP) standardizes how AI agents invoke external tools. In reverse-skill, MCP bridges translate between natural language requests and low-level binary analysis operations.
Each skill registers tool prefixes that the MCP client discovers at runtime:
- IDA Pro MCP:
idapro_*(72 tools) - Radare2 MCP:
r2,rabin2,rasm2,radiff2,r2pipe
The routing system (skills/routing.md) automatically selects the appropriate pipeline based on user hints, with graceful fallback when one tool is unavailable.
IDA Pro MCP: Full-Featured GUI Decompilation
Architecture and Entry Point
The IDA Pro MCP pipeline centers on idalib-mcp, an HTTP server that exposes IDA's analysis engine to AI agents without blocking the GUI.
Server startup (skills/ida-reverse/scripts/start.ps1):
# Launches HTTP MCP server, verifies TCP+HTTP handshake, registers 72 idapro_* tools
powershell -File "skills\ida-reverse\scripts\start.ps1"
This script handles:
- Process cleanup and port allocation
- Readiness verification before returning control
- Background execution (no UI modal dialogs)
Opening and Analyzing Binaries
Once the server runs, binaries open through the MCP bridge:
# Open target with auto-analysis, timeout handling, and System32 work-arounds
powershell -File "skills\ida-reverse\scripts\open.ps1" -Path "C:\samples\example.exe"
The open.ps1 script in skills/ida-reverse/scripts/ manages:
- Automatic analysis trigger (
aaaequivalent) - Path resolution for protected directories
- Connection retry logic for the MCP HTTP endpoint
Available MCP Tools
IDA Pro MCP registers 72 tool prefixes including:
| Tool Prefix | Capability |
|---|---|
idapro_decompile |
Pseudocode generation from functions |
idapro_strings |
String table extraction with cross-references |
idapro_functions |
Function boundary and attribute listing |
idapro_xrefs |
Cross-reference queries (data and code) |
idapro_segments |
Memory layout and section mapping |
Installation Requirements
IDA Pro MCP requires:
- Hand-installed IDA Pro (GUI version, Windows/macOS)
- Automatic bridge startup via
start.ps1(no separate package download)
As noted in skills/ida-reverse/SKILL.md, the server command blocks dialogue until the HTTP handshake confirms readiness.
Radare2 MCP: Lightweight CLI Automation
Architecture and Entry Point
The Radare2 MCP pipeline uses r2mcp, a dedicated binary that unifies radare2's sub-tools under a single JSON-RPC endpoint.
Reconnaissance script (skills/radare2/scripts/recon.ps1):
# Launch r2mcp, register commands, optionally run automatic analysis
powershell -File "skills\radare2\scripts\recon.ps1" -TargetPath "C:\samples\example.exe" -RunAnalysis
The -RunAnalysis flag triggers aaa (analyze all) before exposing the interface.
Automatic Bootstrap Installation
Unlike IDA Pro, Radare2 auto-installs from GitHub releases. The manifest in skills/scripts/bootstrap-manifest.json declares:
{
"name": "radare2",
"repository": "radareorg/radare2",
"assetRegex": "radare2-[\\d.]+-w32.zip|radare2-[\\d.]+-w64.zip",
"installDir": "%USERPROFILE%\\Tools\\radare2"
}
The system downloads, unpacks, and caches radare2 without manual intervention.
Available MCP Commands
Radare2 MCP exposes these primary commands:
| Command | Purpose | Standalone Equivalent |
|---|---|---|
r2 |
Core debugger/disassembler interface | radare2 |
rabin2 |
Binary information extraction | rabin2 -I |
rasm2 |
Assembly/disassembly | rasm2 -d |
radiff2 |
Binary diffing | radiff2 |
r2pipe |
Scriptable batch operations | Python r2pipe module |
Sample JSON-RPC Invocation
{
"jsonrpc": "2.0",
"id": 1,
"method": "radare2",
"params": {"cmd": "-i entry0; pd 10"}
}
This payload disassembles 10 instructions at the entry point. Send to the configured MCP endpoint (default varies by launch parameters).
Feature Comparison: IDA Pro MCP vs Radare2 MCP
| Dimension | IDA Pro MCP | Radare2 MCP |
|---|---|---|
| Interface paradigm | GUI-rich with visual feedback | CLI-centric, fully headless |
| Installation | Manual IDA Pro license + auto bridge | Fully automatic GitHub download |
| Platform support | Windows, macOS (Linux via Wine) | Native Linux, macOS, Windows |
| Decompilation quality | Hex-Rays decompiler (industry standard) | No native decompiler (r2dec or external) |
| Analysis depth | Deep cross-references, type libraries | Fast surface-level reconnaissance |
| Tool count via MCP | 72 specialized tools | 5 core command groups |
| Startup latency | Higher (GUI initialization) | Minimal (pure CLI) |
| CI/CD integration | Poor (requires display/GUI) | Excellent (headless by design) |
| Scripting native | IDAPython via bridge | Direct r2pipe integration |
| Licensing cost | Commercial (IDA Pro required) | Open source (GPL/LGPL) |
When to Choose Each Pipeline
Prefer IDA Pro MCP When
- You need high-quality decompilation (C-like pseudocode)
- Analysis requires complex cross-reference queries across large codebases
- Visual confirmation of control-flow graphs accelerates understanding
- Working with obfuscated or packed binaries needing deep inspection
Prefer Radare2 MCP When
- Operating in headless, automated, or CI/CD environments
- Rapid first-pass reconnaissance suffices (strings, imports, basic blocks)
- Cross-platform portability matters (especially native Linux workflows)
- Budget constraints prohibit commercial tooling
Interoperability and Routing
The reverse-skill platform does not force a binary choice. The routing matrix in skills/routing.md and skills/routing_zh.md implements automatic selection:
User hint: "radare2 analyze binary"
→ Route to: skills/radare2/SKILL.md
User hint: "decompile this function"
→ Route to: skills/ida-reverse/SKILL.md (fallback: radare2 if unavailable)
This design ensures maximal flexibility: agents request capabilities, and the system binds to available tools.
Summary
-
IDA Pro MCP delivers 72 specialized tools through
idalib-mcp, ideal for deep static analysis with professional decompilation but requires manual installation and GUI resources. -
Radare2 MCP provides lightweight, auto-installed, fully headless analysis via
r2mcp, excelling in automation and cross-platform deployment. -
Both implement the same MCP JSON-RPC interface, enabling seamless substitution based on environment constraints and analysis depth requirements.
-
The routing layer (
skills/routing.md) automatically selects or falls back between pipelines, treating them as interchangeable capability providers.
Frequently Asked Questions
What is the MCP server port for IDA Pro vs Radare2?
IDA Pro MCP defaults to http://127.0.0.1:13337 as configured in skills/ida-reverse/scripts/start.ps1. Radare2 MCP uses a configurable port set during r2mcp launch; check skills/radare2/scripts/recon.ps1 output for the active endpoint. Both accept the same JSON-RPC 2.0 message format.
Can I use both IDA Pro and Radare2 MCP in the same session?
Yes. The reverse-skill routing system maintains both skill registrations simultaneously. The agent can call idapro_* tools for deep analysis and r2pipe commands for quick extraction within the same conversation, with context maintained across tool boundaries.
Does Radare2 MCP require installing radare2 manually?
No. The bootstrap manifest in skills/scripts/bootstrap-manifest.json triggers automatic download from radareorg/radare2 GitHub releases on first use. The system caches the installation in %USERPROFILE%\Tools\radare2 for subsequent invocations.
Is IDA Pro's decompiler available through MCP without the GUI?
Partially. While idalib-mcp runs headlessly as an HTTP server, it still requires an installed IDA Pro with valid license. The GUI itself does not appear, but the underlying proprietary libraries load. For fully open-source decompilation, consider combining Radare2 MCP with external tools like Ghidra's headless analyzer.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →