REA tips for Codex and Cursor (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

REA registers as a local MCP server inside agents such as OpenAI Codex and Cursor. Most failures after a correct install are stale registrations, short timeouts, or forgotten restarts — not missing features.

Setup once, restart always

npx rea-agents@latest setup
rea doctor --client codex --json
# use the Cursor client id from upstream docs for your build
  1. Review the setup plan (MCP + skill destinations).
  2. Approve writes.
  3. Fully restart the agent (not just reload one chat).

Timeouts Codex users should know

Upstream setup:

  • Pins package-runner MCP registrations to the exact installed REA version.
  • Adds startup_timeout_sec = 30 for Codex (and Grok Build).
  • Sets Codex tool_timeout_sec from known provider startup plus operation headroom.

If Ghidra cold-start still exceeds your client limit, widen timeouts on the client side and keep using scoped rea doctor --provider ghidra --json.

Cursor habits that avoid ghost configs

  • Run setup from the same machine/user profile Cursor uses.
  • After rea update, rerun setup and restart Cursor.
  • If two Cursor profiles exist, verify the profile you actually launch — see upstream notes on config directories for other clients as a pattern.
  • Confirm the bundled skill landed where Cursor reads skills.

Minimal triage order

  1. rea doctor --json (or scoped --client / --provider).
  2. Re-run npx rea-agents@latest setup.
  3. Restart agent.
  4. Retry a small authorized target (JS app or tiny PE) before large firmware/pcap jobs.

Related: MCP agents overview, MCP troubleshooting.

FAQ

Which client IDs should I use?

Follow the supported-agents table in docs/installation.md. Codex and Cursor are first-class; some newer IDs need rea-agents 6.5.0+.

Why did setup add startup_timeout_sec?

Upstream setup adds startup_timeout_sec = 30 for Codex and Grok Build, and derives a Codex tool_timeout_sec from provider startup headroom.

Cursor still shows old tools

Fully quit and relaunch Cursor after setup/update. Confirm doctor --client for your Cursor client id and that the skill copy refreshed.

Cold Ghidra import times out

Native provider startup can exceed short client defaults. Raise client/tool timeouts as your agent allows, and keep GHIDRA_INSTALL_DIR healthy per the Ghidra guide.

Is RepoRead affiliated with OpenAI or Cursor?

No. Unofficial user guide only.

Sources