apitell Start free
CODEX MCP

Codex MCP: connect any API
through one URL.

Add Apitell to OpenAI’s Codex as one custom MCP server and it can read and call Stripe, Jira, Slack or your own API. No bearer token in your environment: Codex signs in with OAuth and the keys stay in the Apitell vault.

Codex CLI · IDE extensionOAuth sign-inNo token in env
terminal · codex
$ codex mcp add apitell --url https://mcp.apitell.com/mcp
$ codex mcp login apitell
  browser → sign in to apitell (OAuth)

# ~/.codex/config.toml
[mcp_servers.apitell]
url = "https://mcp.apitell.com/mcp"
One config for the Codex CLI and the IDE extension.
SET UP

Three steps in Codex.

New to Apitell? Sign up and connect your APIs in the console first: paste a key once, or sign in with the provider.

1
Add the server

Run the command, or add a [mcp_servers.apitell] table with the url to ~/.codex/config.toml. A project .codex/config.toml works too, in trusted projects.

codex mcp add apitell --url https://mcp.apitell.com/mcp
2
Sign in

Adding the server does not sign you in. Run codex mcp login apitell and finish the OAuth sign-in in your browser. Choose which connectors Codex may reach and whether it may take write actions.

codex mcp login apitell
3
Ask

Codex sees four tools: ai_search finds the operation, ai_describe reads it, ai_call runs it. codex mcp list shows the server.

FAQ

Codex MCP questions.

How do I add a custom MCP server to Codex?

Run codex mcp add apitell --url https://mcp.apitell.com/mcp, or add [mcp_servers.apitell] with url = "https://mcp.apitell.com/mcp" to ~/.codex/config.toml. Then sign in with codex mcp login apitell.

How does Codex sign in to a remote MCP server with OAuth?

codex mcp login <name> starts the OAuth flow in your browser. Codex supports OAuth for streamable HTTP servers, and adding a server does not sign you in, so run login once after adding.

Where is the Codex config.toml?

~/.codex/config.toml by default, shared by the Codex CLI and the IDE extension. MCP servers can also live in a project’s .codex/config.toml, in trusted projects.

Do I need bearer_token_env_var for Apitell?

No. Codex can send a bearer token from an environment variable, but then the token lives in your shell. Apitell uses OAuth, and the API keys stay in the vault.

Can I limit what Codex does through Apitell?

Yes. Codex has enabled_tools and disabled_tools, but Apitell exposes only four tools; the real limits live in Apitell policies: allowed operations, argument caps and rate limits per agent.

Can I use the same URL in other clients?

Yes, one URL for every client: Claude Code, Cursor, VS Code, ChatGPT and Claude.

Every API in Codex. No tokens in your shell.

Free to start. One URL for every agent.