Codex + SpendixAI
Codex supports remote Streamable HTTP MCP servers with OAuth. Add SpendixAI from the command line or the config file and sign in once.
Connect in a few minutes.
The Codex CLI, IDE extension and desktop app share the same MCP configuration, so you add SpendixAI once.
Add the server
Run the command below, or add the same two lines to ~/.codex/config.toml.
Log in
Run codex mcp login spendixai. On a machine without a browser add --no-browser and paste the redirect URL back.
Approve access
Choose your workspace and a permission preset on the SpendixAI consent screen. Start with Read only.
Keep approvals on
Set default_tools_approval_mode to writes or prompt so Codex asks before any tool that is not read only.
codex mcp add spendixai --url https://spendix-api.kriva.studio/mcp
codex mcp login spendixaiConfig file alternative, in ~/.codex/config.toml: [mcp_servers.spendixai] url = "https://spendix-api.kriva.studio/mcp"
What you need
- Codex CLI, IDE extension or desktop app
- A SpendixAI workspace
- A browser for the sign-in, or the --no-browser flow
Good to know
- In the IDE extension use the gear menu → MCP servers → Add server → Streamable HTTP, then restart the extension and authenticate.
- ChatGPT on the web does not read your local Codex configuration.
- A minimum CLI version or plan was not stated on the documentation page we read.
- Codex can limit tools with enabled_tools and disabled_tools if you want to expose only some.
Questions to start with.
These need only read access. Add records or upload statements once you have moved to a broader preset.
Start read only. Widen it later.
Ask about transactions, summaries and reports. Nothing can be added, changed or uploaded.
Ask questions, add expenses and upload statements or receipts.
Everything above, plus categorisation rules and insights. Billing and member settings stay in the console.
Codex and SpendixAI.
Does it work in the IDE extension too?
Yes. The CLI, the IDE extension and the desktop app share the same MCP configuration.
What approval setting suits a finance server?
writes or prompt. Both make Codex ask before using tools that are not marked read only.
Do I need to paste an API key?
No. The connection uses your SpendixAI sign-in and a consent screen, with dynamic client registration, so there is no secret to copy into a config file.
Can I keep the connection read only?
Yes. Read only is the recommended preset, and you can grant more access later or disconnect the assistant at any time from Developer → MCP connections.
Setup steps were checked against OpenAI’s own documentation in November 2026. Menus and commands change, so if a step does not match what you see, follow the vendor’s current guide.
Bring Codex into your finances.
Create your SpendixAI workspace, import a statement, then connect the assistant.