Skip to main content
Codex is OpenAI’s agentic coding tool that can connect to external data sources with MCP. Once successfully connected to Omni, you can interact with your Omni data right in your Codex sessions.

Requirements

Every person who wants to use the MCP Server must complete the setup.
To follow the steps in this guide, you’ll need:
  • Codex installed (CLI or IDE extension)
  • To have the following enabled in Omni:

Setup

Choose your authentication method. See the MCP authentication guide if you need help selecting a method.

Using the MCP

Once the MCP Server is connected, Codex automatically uses it when you ask questions about your data. You can prompt Codex to use Omni by referring to it by name or description.
1
Start a Codex session and enter a prompt, such as Hey Omni, tell me how many users signed up last month.
2
Codex may prompt you to approve MCP tool usage. Approve the tool call to proceed.
3
The MCP Server will pick a model (if not configured) and topic, then run a query to retrieve the data.