Connect OpenAI codex to Zigaflow with the MCP server
The short answer
To connect OpenAI Codex to Zigaflow, set up the MCP server in Zigaflow first. Then add a zigaflow server to your Codex config.toml with the URL https://mcp.zigaflow.com/mcp and your API key as an x-api-key header. The Codex CLI, IDE extension and desktop app share the file.
Before you start
Steps
Set up the Zigaflow side first
Follow Set up the Zigaflow MCP server to choose the MCP user and copy the server URL and your API key.
Open your Codex config
Open ~/.codex/config.toml. The Codex CLI, the IDE extension and the desktop app all read it. In the IDE extension you can also open the gear menu, then MCP servers, then Add server.
Add the Zigaflow server
Add:
toml [mcp_servers.zigaflow] url = "https://mcp.zigaflow.com/mcp" http_headers = { "x-api-key" = "YOUR_API_KEY" }To keep the key out of the file, use bearer_token_env_var = "ZIGAFLOW_API_KEY" in place of http_headers and set that variable to your key.
Restart Codex
Start a new Codex session so it reads the change.
Ask a question
Ask about your quotes, jobs, invoices or stock, for example Which of my quotes are still open? It lists your Zigaflow modules, finds the right action and runs it.
Frequently asked questions
Was this helpful?