Codex
Connect the Revised MCP server to the Codex CLI over OAuth or with a bearer token from the environment.
The endpoint is https://getrevised.com/api/mcp.
OAuth (recommended)
Codex separates adding a server from authenticating to it, so this is two commands.
codex mcp add revised --url https://getrevised.com/api/mcp
codex mcp login revisedcodex mcp login opens a browser tab for the OAuth handshake. Sign in to your Revised account and accept the consent screen; Codex stores the token and refreshes it, so no key is written to a config file.
API key
For CI, a container, or anywhere without a browser to sign in from. Create a key at getrevised.com/account — free on every plan.
Codex takes the name of an environment variable, not the token itself, so the key stays out of ~/.codex/config.toml:
export REVISED_KEY=rvd_yourprefix_yoursecret
codex mcp add revised \
--url https://getrevised.com/api/mcp \
--bearer-token-env-var REVISED_KEYThe variable has to be set in the environment Codex runs in, not just the shell you ran codex mcp add in.
By hand
Both commands write to ~/.codex/config.toml. The OAuth form is just:
[mcp_servers.revised]
url = "https://getrevised.com/api/mcp"Editing the file directly works; you still need codex mcp login revised to authenticate.
Verify
codex mcp list
codex mcp get revisedThen, in a session:
What plan am I on with Revised?
Codex should call whoami and report the plan, the reveals left this month and the rate limit. If it calls nothing, the server is not connected — check codex mcp get revised for the entry.
Remove it
codex mcp logout revised
codex mcp remove revisedNotes
- Nine tools are exposed.
reveal_domainis the only one that can spend; see Tools. - MCP calls and REST calls share one per-minute counter per key. See Rate limits.
- The server sends instructions on connect covering what the metrics mean and when a reveal costs quota, so the assistant does not have to be told.