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
Run one command.
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
# 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"
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.
Verify it works.
Start Codex, then in any session:
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. Inconfig.tomlthat is aurlkey, plusbearer_token_env_varorhttp_headersif the server takes a token. - Local (stdio) server:
codex mcp add <name> --env KEY=value -- <command>. Inconfig.tomlthat iscommand,argsandenv. - Sign in to an OAuth server:
codex mcp login <name>. - Check what is configured:
codex mcp listin the shell, or/mcpinside a Codex session. - Turn a server off without deleting it: set
enabled = falsein its table. Slow servers can raisestartup_timeout_sec(default 10) ortool_timeout_sec(default 60).
The BankBridge block written by step 1 looks like this:
[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.
For OpenAI’s cloud Codex (the GitHub-connected one), add BankBridge via the per-environment MCP settings instead. See the Codex Cloud guide.