Skip to main content
Codex supports MCP servers in both the CLI and the IDE extension. Configuration is shared between them, so you only set it up once.

Option A, CLI

Run from your terminal:
Verify it is configured:

Option B, edit config.toml

Open ~/.codex/config.toml (or a project-scoped .codex/config.toml in trusted projects) and add:
Codex uses TOML, not JSON. The header block is a TOML inline table, note the = instead of :.

First-time MCP users

If this is your first MCP server in Codex, you may need to enable the rmcp client. Add the following to ~/.codex/config.toml:

Verify

After starting Codex (CLI or IDE), run /mcp in the TUI or open the IDE MCP panel. openfinance-tech should appear with its tools listed.