Codex CLI
Learn how to set up the Mixedbread MCP server with the Codex CLI.
Prerequisites
Before we configure Codex, make sure you have the following:
- Codex CLI installed
- Node.js 22+ installed
- A Mixedbread API key from our platform
Configuration
Codex configures MCP servers via a configuration file named config.toml
.
-
Locate the configuration file
Global scope:
~/.codex/config.toml
If this file doesn't exist yet, you can create it manually.
-
Add a Mixedbread server entry
Add the following to your
config.toml
:
- command tells Codex to run mcp-remote via npx.
- args specify the remote MCP endpoint and the header used for authentication.
- env sets an environment variable that contains your API key.
Replace YOUR_MIXEDBREAD_API_KEY
with your actual API key from the Mixedbread platform.
Verification
Now let's confirm the integration is working.
-
Open the Codex CLI.
-
Run a status check to list MCP servers:
Copy to clipboard You should see
Mixedbread
in the output. -
Test the connection with a simple command in chat:
Copy to clipboard
Now you can manage your Stores and perform Search directly from the Codex CLI.
References
Last updated: October 8, 2025