← All integrations
Codex CLI

Add to ~/.codex/config.toml.

Codex CLI’s config is TOML. Streamable-HTTP MCP requires a feature flag — without it, Codex silently loads zero tools.
Step 01

Edit ~/.codex/config.toml.

Add the top-level feature flag (if not already set) plus the server block:

~/.codex/config.toml
# Top level — enables streamable-HTTP MCP servers
experimental_use_rmcp_client = true

[mcp_servers.bankbridge]
url = "https://bankbridge.money/api/mcp"
bearer_token_env_var = "BANKBRIDGE_API_KEY"

The file may not exist yet — create it. The feature flag must be at the top level, not inside the [mcp_servers.bankbridge] block.

Step 02

Export your key in the shell.

shell
export BANKBRIDGE_API_KEY="bbk_your_api_key_here"

Grab a real key from your dashboard. Add the export to your ~/.zshrc or ~/.bashrc so it persists. Using an env var (rather than inlining the token inconfig.toml) means you can rotate keys without editing TOML.

Step 03

Verify it works.

Start Codex, then in any session:

try this
how much did I spend this week?

If Codex reports zero tools loaded, double-check that experimental_use_rmcp_client = true is at the top level of config.toml— that’s the most common mistake.

Cloud-hosted Codex?

For OpenAI’s cloud Codex (the GitHub-connected one), add BankBridge via the per-environment MCP settings instead — see the Codex Cloud guide.

Problems? Email hello@bankbridge.money.