Access your interface

Enter your email address to access your personal interface.

Eulerian MCP integration guide for OpenAI Codex CLI

Updated 2 July 2026

This guide shows you, click by click, how to connect the Eulerian Marketing Platform MCP to OpenAI Codex CLI, OpenAI’s assistant that runs in a terminal window. By the end, you will be able to ask Codex questions about your Eulerian data in plain language. Codex signs in with your ChatGPT account; no API key is needed.

Who it is for: beginners, with a jargon-free walkthrough, from a blank machine to live Eulerian data. Method: server declared in config.toml, with sign-in through a ChatGPT account. The other clients are listed on the MCP Server page.

1 · Before you start

What you will need, in 5 minutes:

  1. A computer you can install software on.
  2. Your Eulerian endpoint URL and your API token, to be requested from your Eulerian contact. They look like https://<votre>.api.eulerian.com/mcp and a long secret string.
  3. A ChatGPT account, free or paid.

That is all.

2 · Step-by-step installation

Step 1 · Install Codex’s two prerequisites

Codex CLI needs Node.js (to install and run Codex) and Python 3.10+ (to run the small Eulerian “bridge”). Install both if you do not already have them:

Then install the Eulerian bridge. Open a terminal (Windows: Start button, type cmd, Enter, and a black window opens; macOS: open the Terminal app) and type:

pip install eulerian-marketing-platform

Step 2 · Install Codex CLI

In the same terminal, type this and press Enter:

npm install -g @openai/codex

Once it has finished, check that it is there:

codex --version

You should see a version number. We tested with codex-cli 0.142.5.

Step 3 · Sign in with your ChatGPT account, with no API key

Type:

codex login

Your browser opens. Sign in with your ChatGPT account and confirm. Go back to the terminal: you are signed in. Unlike some other terminal assistants, Codex does not ask you to create and paste an API key: your usual ChatGPT sign-in is enough.

Step 4 · Point Codex to Eulerian by editing a configuration file

Codex keeps its settings in a config.toml file. Its location:

Your computerWhere the settings file lives
Windows%USERPROFILE%\.codex\config.toml
macOS / Linux~/.codex/config.toml

The quickest way on Windows: in the terminal, type notepad %USERPROFILE%\.codex\config.toml and press Enter, then click Yes if it offers to create the file. Paste the block below, then replace the endpoint and the token with your own:

[mcp_servers.eulerian-marketing-platform]
command = "C:/Users/vous/AppData/Local/Programs/Python/Python312/python.exe"
args = ["-m", "eulerian_marketing_platform.server"]
startup_timeout_sec = 60

[mcp_servers.eulerian-marketing-platform.env]
EMP_API_ENDPOINT = "https://votre-instance-eulerian.com/mcp"
EMP_API_TOKEN = "collez-ici-votre-jeton-eulerian"

Important

Two common traps. The section name is mcp_servers, with an underscore. And on Windows, point command to the full path of your Python: if you do not know where it is, run python -c "import sys; print(sys.executable)" and copy what it prints.

Save the file.

Step 5 · Check the connection

Start Codex by typing codex and pressing Enter. Then type /mcp and Enter. You should see the Eulerian server listed with its tools (about 134 tools), which means the connection works.

Codex CLI after typing /mcp: the Eulerian server is connected and 134 tools are available

If you run codex mcp list, you may see Auth : Unsupported next to the server. That is normal and harmless: it concerns Codex’s own optional sign-in system, not Eulerian, which uses your token.

Step 6 · Try it: ask for your data

All you have to do is ask, in plain language. A good first question:

Quels sites puis-je interroger avec mon compte Eulerian ?

Codex calls the Eulerian tool and lists your sites, real data, straight from your account:

Codex answering with the real list of sites in the Eulerian account, client name hidden

That is the whole installation. You can then ask business questions in plain language, for example “show me last week’s visits” or “compare cost and revenue this month”.

3 · Going further: real reporting, and what we checked

Codex does more than list sites; it also runs full reporting queries. Asked for a daily trend in visits, it reads Eulerian’s query guide, finds the right fields and returns a clean day-by-day table:

Codex returning a day-by-day trend in visits over the last 7 days, client name hidden

Validation note: Codex CLI was tested end to end on Windows and worked out of the box, with sign-in, tool discovery (134) and multi-step reporting all succeeding, with no API key, signing in through the ChatGPT account.

4 · If something does not work

SymptomWhat to do
“codex is not recognised”Node.js is not installed, or the terminal was not reopened after installing it. Install Node.js, then open a new terminal.
The server appears but with no tools, or hangs on the first startThe first discovery can take 20 to 30 seconds. Keep startup_timeout_sec = 60 in the configuration and wait a moment.
“Python not found”Use the full path of python.exe in command (see step 4).
Auth : Unsupported worries meIgnore it: it is normal and harmless (see step 5).