REA MCP setup for Claude Code and Cursor
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-13); REA changes quickly, so verify against the official docs.
Interactive setup
npx rea-agents setupSetup 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 Code | claude_code |
| Claude Desktop | claude_desktop |
| Cursor | cursor |
| Codex | codex |
| Gemini CLI | gemini_cli |
| Windsurf | windsurf |
| VS Code | vscode |
| GitHub Copilot CLI | copilot_cli |
| OpenCode | opencode |
| Qwen Code | qwen_code |
| Trae | trae |
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.FAQ
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.