Setup
Install the CLI and sign in once:~/.codex/config.toml:
Notes
- The tool surface is identical across clients: golden-path tools plus the
api_requestescape hatch. See The Orca MCP server for the full table. - In fully headless environments, skip the login flow and export
ORCA_API_KEYbefore launching Codex; the server picks it up per call. See Headless authentication. - The
orcaCLI itself is also agent-friendly if you prefer shelling out: every command takes--json, streaming commands emit NDJSON, and exit codes are stable (0 ok, 1 failure, 2 usage, 3 auth, 4 not found).