install
source · Clone the upstream repo
git clone https://github.com/plurigrid/asi
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/plurigrid/asi "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/asi/skills/radare2-hatchery" ~/.claude/skills/plurigrid-asi-radare2-hatchery && rm -rf "$T"
manifest:
plugins/asi/skills/radare2-hatchery/SKILL.mdsource content
Radare2 Hatchery
name: radare2-hatchery description: MCP server for radare2 binary analysis integration with AI assistants. Decompilation, disassembly, and reverse engineering via MCP protocol. trit: -1 color: "#D6DB4C"
Overview
radare2-mcp provides an MCP server enabling Claude and other AI assistants to perform binary analysis using radare2.
Features
- Direct stdin/stdout communication - Simple MCP transport
- Binary analysis tools - Full radare2 capabilities
- AI assistant integration - Seamless Claude Desktop support
- File exploration - Inspect any binary format
- Decompilation - Pseudocode generation via r2ghidra
Installation
# Via r2pm (radare2 package manager) r2pm -Uci r2mcp
Configuration
Claude Desktop
Edit
~/Library/Application Support/Claude/claude_desktop_config.json:
{ "mcpServers": { "radare2": { "command": "r2pm", "args": ["-r", "r2mcp"] } } }
Docker
docker build -t r2mcp .
{ "mcpServers": { "radare2": { "command": "docker", "args": ["run", "--rm", "-i", "-v", "/tmp/data:/data", "r2mcp"] } } }
MCP Tools Available
The server exposes radare2 analysis via MCP:
- Open binary for analysisopen_file
- Run analysis at depth levels 0-4analyze
- Get C-like pseudocodedecompile_function
- Enumerate discovered functionslist_functions
- Extract strings from binarylist_strings
- Find cross-referencesxrefs_to
- Execute raw r2 commandsrun_command
Gay.jl Integration
# Rec2020 wide gamut learning gay_seed!(0xe72b09cb7aebe913) # Forward mode autodiff ∂params = Enzyme.gradient(Forward, loss, params, seed)
Repository
- Source: TeglonLabs/radare2-mcp
- Seed:
0xe72b09cb7aebe913 - Index: 55/1055
- Color: #b3a6b8
GF(3) Triad
radare2-hatchery (-1) ⊗ mcp-builder (0) ⊗ gay-mcp (+1) = 0 ✓
Related Skills
- MCP server developmentmcp-builder
- Security techniquesblackhat-go
- AST-based code analysistree-sitter