REA & AI RE Tools Guide (unofficial)What is REAInstallMCP SetupTroubleshooting & FAQREA vs Ghidra/IDAUse CasesAI RE Tools

REA MCP setup for Claude Code, Cursor and other agents

Unofficial guide. This site is an independent community guide and is not affiliated with the REA project. For authoritative docs see the official REA website and the morluto/rea GitHub repository. Commands here are taken from the official README/docs (checked 2026-10-25); REA changes quickly, so verify against the official docs.

Short answer: REA MCP is the Model Context Protocol server from rea-agents that lets coding agents reverse-engineer apps. Connect it with one command, then restart the agent:

npx rea-agents@latest setup

Pick Claude Code, Cursor, or other clients; setup writes mcpServers.rea (or the Codex TOML equivalent) and installs the skill. Verify with rea doctor --client <id> --json. Details and real config below.

Interactive setup

npx rea-agents setup

Setup shows supported agents in a multi-select. Existing REA registrations are preselected; newly detected clients stay unselected until you pick them. Review the exact paths, approve, then restart the agent.

Claude Code + Cursor in one command

Each --client flag skips the interactive question. Preview first with --dry-run (read-only):

rea setup --client claude_code --client cursor --dry-run
rea setup --client claude_code --client cursor

(Use npx rea-agents setup ... if you didn't install the CLI globally.) Add --skill=false to skip the workflow instructions.

Client IDs

Agent--client
Claude Codeclaude_code
Claude Desktopclaude_desktop
Cursorcursor
Codexcodex
Gemini CLIgemini_cli
Windsurfwindsurf
VS Codevscode
GitHub Copilot CLIcopilot_cli
OpenCodeopencode
Qwen Codeqwen_code
Traetrae

Full list: official supported agents. Other MCP clients can use manual MCP registration described in the official docs.

Where the skill goes

Claude Code skills install to ~/.claude/skills (or $CLAUDE_CONFIG_DIR/skills); many other integrations use ~/.agents/skills.

Verify the connection

rea doctor --client claude_code --json
rea doctor --client cursor --json

First prompt to try

Understand how search works in the Notes app, show me the evidence, and build a
similar feature for my project.

Tested on 2026-10-17: Debian 13 x64, rea-agents 6.5.0, Node.js 20.19.2 and 22.20.0, run in a throwaway HOME folder so no real agent config was touched. Outputs are copied from the terminal; long ones are trimmed with "…".

Where setup writes the REA entry

We ran setup for every supported client in a test home folder. The full terminal output of a real run is on the install page. Below are only the per-client details.

ClientFile (Linux)Notes
Claude Code~/.claude.jsonupdated in place; original saved as ~/.claude.json.rea.backup. Skill: ~/.claude/skills/reverse-engineer-anything/. More: Claude guide
Cursor~/.cursor/mcp.jsonmcpServers.rea block; restart Cursor
Codex~/.codex/config.tomlTOML with startup_timeout_sec = 30. Full walkthrough: Codex guide
VS Code~/.config/Code/User/mcp.jsontop-level servers key, "type": "stdio"
20 other agentsvariousexact snippet and path in the config generator

Every client gets the same server command, npx -y rea-agents@<version> mcp, pinned to the version you ran setup with: 6.5.0 in the run above, 6.8.0 (npm latest as of 2026-10-25; we re-ran setup for all 24 clients on 6.8.0 and every entry matched the 6.7.0 output except the version) if you run setup now. The JSON shape used by Claude Code, Cursor and most others is shown once on the install page.

Adding REA by hand (other MCP clients)

If your client isn't in the --client list, register a stdio server named rea with command npx and args ["-y", "rea-agents@<version>", "mcp"] in that client's MCP config, then restart it. Pin a version, as setup does, so tools don't change between sessions.

Check the connection

rea doctor --client <id> checks only the registration you name. healthy: true means Node and that registration are fine. environment_healthy: false only means no native engine (Ghidra, Hopper or IDA) is set up yet, which JavaScript, Electron and .NET targets don't need. A real Codex doctor run is on the Codex page.

Common setup problems

Sources: client-configuration.md · supported agents

Using Claude? See REA with Claude Code & Claude Desktop (real config, doctor output, and the Claude Desktop "expected object, received string" fix).

Want the exact snippet for your agent? Use the REA MCP config generator (24 agents, captured from real setup runs).

FAQ

What is REA MCP?

REA MCP is the reverse-engineering MCP server shipped in the npm package rea-agents. Coding agents call it over Model Context Protocol to inspect binaries, Electron apps, APKs and more. Setup registers a server named rea that runs npx -y rea-agents@VERSION mcp.

How do I set up REA MCP?

Run npx rea-agents@latest setup, select your agents (or pass --client), approve the plan, restart the agent, then check with rea doctor --client CLIENT_ID --json.

How do I add REA to Claude Code?

Run npx rea-agents setup and select Claude Code, or run rea setup --client claude_code. Then restart Claude Code and check with rea doctor --client claude_code --json.

How do I add REA to Cursor?

Run rea setup --client cursor (or choose Cursor in npx rea-agents setup), approve the plan and restart Cursor.

Can I preview what setup will change?

Yes. Add --dry-run to get a read-only plan, or --json for a machine-readable plan without applying it.