Skip to main content
Updated Oct 14, 2025 Codex MCP install docs You can find your Ref API key at ref.tools/keys

Install

Codex is configured in a config.toml file. This typically lives at ~/.codex/config.toml To enable Ref update your config.toml to include:
If you are on an older version of Codex and you get the error Error loading configuration: missing field 'command' in 'mcp_servers.ref' and do not want to update, you can install the stdio server:

Verify

Run the command:
You should see:

Get help

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