Connecting Codex CLI
This guide connects Codex CLI (OpenAI's terminal coding assistant) to your Fuze Store account.
Codex CLI needs a paid account
Codex CLI requires a paid ChatGPT plan (Plus, Pro, Business, Edu, or Enterprise) or an OpenAI API key with billing enabled — there is no free path. This is separate from the paid Fuze Store AI Connections add-on. Plans are set by OpenAI and can change.
Before You Start
- Codex CLI is installed and you are signed in with a paid ChatGPT plan or an API key.
- You have Owner or Admin access to the store you want to connect.
- The AI Connections add-on is active on that store.
Get Your MCP URL
In the Fuze Store app, open Configurations → MCP → Connect an assistant and copy the MCP Server URL:
https://api.fuze-store.com/mcp/store/<your-store-id>
Connect
1. Edit ~/.codex/config.toml. Append the block below to the end of the file (substitute your MCP Server URL):
[mcp_servers.fuze-store]
transport = "http"
url = "https://api.fuze-store.com/mcp/store/<your-store-id>"
2. Complete the OAuth login. Run the login command — it opens a browser for the consent flow:
codex mcp login fuze-store
3. Approve in the browser. Sign into Fuze Store if prompted, review the permissions, and Approve.
Ask Your First Question
- "What were my sales yesterday?"
- "List my best-selling products this month."
- "How many orders are open right now?"
If Something Goes Wrong
If login fails, confirm you are signed into a paid ChatGPT plan or have an API key with billing on. For Fuze-side issues, see the troubleshooting section of Setting Up AI Access.