REA: Reverse Engineer Anything

Connect your AI coding agents to deep reverse engineering across native binaries, Electron apps, and runtime behaviors via Model Context Protocol (MCP).

Official Open-Source Project: Based on morluto/rea on GitHub. This independent companion tool helps you generate clean, token-efficient MCP configs and avoid context thrashing.

Interactive MCP Client Config Generator

Generate error-free configuration files for your selected AI assistant. Automatic escaping and environment tuning included.

Pro Tip: Setting REA_MCP_INPUT_SCHEMA_PROFILE: compact reduces upfront tool descriptions from ~500 KB to ~290 KB, preventing Claude Code and Copilot context compaction freezes.
Configuration Output
{
  "mcpServers": {
    "rea": {
      "command": "npx",
      "args": ["-y", "rea-agents@latest", "mcp"],
      "env": {
        "REA_MCP_INPUT_SCHEMA_PROFILE": "compact"
      }
    }
  }
}
Config File Location:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

Quick Terminal Usage

1. Automated Wizard Setup

Runs the interactive registration wizard with backup confirmation:

npx rea-agents setup

2. Inspect Electron / JavaScript ASAR

Analyze packaged desktop apps without native decompilers:

npx -y rea-agents@latest analyze-javascript-application /path/to/app --json

3. Global Installation & Updates

Keep your REA tools up-to-date with active fixes:

npm install --global rea-agents
rea update

Supported Target Environments

Target Platform Recovered Artifacts Required Engines
Native Mach-O / PE / ELF Pseudocode, assembly, symbol tables, decompiled call graphs Hopper (macOS), Ghidra (Cross-platform), or IDA Pro
JavaScript & Electron Apps ASAR unpack, modules, imports, IPC channels, preload bridges Built-in static AST parser (Node.js only, no C++ tools needed)
Go Native Binaries PCLNTAB reconstruction, module paths, embedded build flags Built-in Go symbol table parser
WASM & EVM Bytecode WAT disassembly, section layouts, EVM selectors & dispatchers WABT 1.0.42 / Built-in EVM decoder