REA with Windsurf, Gemini CLI, VS Code 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-13); REA changes quickly, so verify against the official docs.
Pass any of these IDs to rea setup --client <id> (repeatable), then restart the agent and check with rea doctor --client <id> --json.
| Agent | --client |
|---|---|
| Windsurf | windsurf |
| Gemini CLI | gemini_cli |
| VS Code | vscode |
| GitHub Copilot CLI | copilot_cli |
| OpenCode | opencode |
| Qwen Code | qwen_code |
| Trae | trae |
| Devin | devin |
| Antigravity | antigravity |
| Command Code | commandcode |
| Grok Build | grok_build |
| Qoder | qoder |
| ZCode | zcode |
| Pi / OMP / Hermes | pi / omp / hermes |
rea setup --client windsurf --client gemini_cli --dry-run
rea setup --client windsurf --client gemini_cli
Client-specific notes
Gemini CLI
Uses $GEMINI_CLI_HOME/.gemini/settings.json when that variable is set. A workspace or system mcpServers.rea entry replaces the user entry, and setup never edits workspace/admin settings or grants folder trust — check those files manually if REA is missing in a project.
Qwen Code
Registered in ~/.qwen/settings.json (or $QWEN_HOME/settings.json); the skill goes to ~/.agents/skills.
GitHub Copilot CLI
With Copilot CLI 1.0.95 and gpt-4.1, REA's full schema can trigger compaction_static_context_blocked (#1554). Workaround from the docs: add "REA_MCP_INPUT_SCHEMA_PROFILE": "compact" to the env of mcpServers.rea in Copilot's mcp-config.json, then restart.
Cline and other MCP clients
Cline is not in the official setup list. The docs mention manual MCP registration for other clients; the server command used in official examples is npx -y rea-agents@<version> mcp.
Related guides
Sources: installation.md#supported-agents · client-configuration.md
FAQ
Does REA support Windsurf?
Yes, use rea setup --client windsurf.
Does REA support Cline?
Cline is not in the official setup client list; other MCP clients can register the REA server manually.