← All integrations
Codex CLI

One command.

codex mcp add registers BankBridge and opens the sign-in in your browser. No config file editing, no key to paste.

Read-only. Your agent can see balances and transactions, and nothing can move money, pay a bill, or place a trade. BankBridge doesn’t store your transactions. How it’s secured · Try it with sample data first

Step 01

Run one command.

terminal, one line
codex mcp add bankbridge --url https://bankbridge.money/api/mcp
# Codex opens the BankBridge sign-in in your browser.
# Later, to sign in again: codex mcp login bankbridge
or edit ~/.codex/config.toml
# Older Codex builds only: add once at top level
# experimental_use_rmcp_client = true

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

# Then in your shell:
# export BANKBRIDGE_API_KEY="bbk_your_api_key_here"
Restart Codex CLI after editing the config.

Codex opens the BankBridge sign-in page; sign in and click Allow. Signed in here? The command above uses your API key from your dashboard instead: put the export line in your ~/.zshrc or ~/.bashrc so it persists.

Step 02

Verify it works.

Start Codex, then in any session:

try this
how much did I spend this week?

Run /mcp to see the BankBridge tools. Zero tools on an older Codex build? Add experimental_use_rmcp_client = true at the top level of config.toml, above any [section], or update Codex.

How to add an MCP server to Codex CLI

Codex CLI keeps MCP servers in ~/.codex/config.toml, one [mcp_servers.<name>] table per server. The codex mcp add command writes that table for you. The Codex IDE extension reads the same file, so a server you add once shows up in both.

  • Remote (Streamable HTTP) server: codex mcp add <name> --url https://example.com/mcp. In config.toml that is a url key, plus bearer_token_env_var or http_headers if the server takes a token.
  • Local (stdio) server: codex mcp add <name> --env KEY=value -- <command>. In config.toml that is command, args and env.
  • Sign in to an OAuth server: codex mcp login <name>.
  • Check what is configured: codex mcp list in the shell, or /mcp inside a Codex session.
  • Turn a server off without deleting it: set enabled = false in its table. Slow servers can raise startup_timeout_sec (default 10) or tool_timeout_sec (default 60).

The BankBridge block written by step 1 looks like this:

~/.codex/config.toml
[mcp_servers.bankbridge]
url = "https://bankbridge.money/api/mcp"

Then ask Codex about your money in any session. More prompts are in how to connect your bank to Codex CLI.

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@greatwork.company with the app you’re setting up and what you see, and we’ll help you finish.