Skip to main content
Codex MCP install docs The one-line installer sets up Codex with the ref CLI, hooks, and the Ref MCP server. It signs you in through the browser — no API key needed:
Use this script for the local agent review loop. AwaitReview and Share are API-key only, and an OAuth connection does not include them.

Manual install

Codex is configured in a config.toml file. This typically lives at ~/.codex/config.toml Add Ref Plans with no API key:
Then sign in:
For plan-specific mode:
To use a specific team, see Team-scoped access.

Codex app

In the Codex app, add a custom MCP server with type Streamable HTTP and URL https://api.plan.ref.tools/mcp. Leave the bearer token and headers empty, then sign in.

API key

You can find your Ref API key at ref.tools/keys.
For plan-specific mode:

Verify

Run the command:
You should see ref-plan listed with the Ref Plans MCP URL.

Get help

If you have any issues, please reach out to help@ref.tools. We’re happy to help you get started!