Access your interface

Enter your email address to access your personal interface.

Eulerian MCP integration guide for Gemini CLI

Updated 28 July 2026

The Eulerian MCP is a connector that lets your AI assistant read your Eulerian Marketing Platform data directly. Instead of opening dashboards or exporting files, you simply ask questions in plain language. This guide installs the MCP with Gemini CLI, a free assistant from Google that runs in a “terminal” window.

Who it is for: developers and engineers who prefer command-line workflows. Time needed: about 15 to 20 minutes. No previous experience of MCP is required.

Tip

If you would rather not use a terminal, Claude Desktop offers a one-click installer, with no commands at all. If you are not comfortable with commands, it may be the simplest option. This guide is specific to Gemini CLI.

1 · Before you start

You will need these five things. Do not worry about the technical side: the steps below show you exactly what to do.

  1. An Eulerian account (Webmaster type). If you do not have one, ask your platform administrator.
  2. Your Eulerian API token. A secret string of text, available in your Eulerian account. Keep it somewhere safe: you will paste it in step 4.
  3. Your Eulerian endpoint URL. It looks like https://VotreInstance.api.eulerian.com/mcp and is available in your Eulerian account.
  4. Python and Node.js installed. Free downloads: Python from python.org/downloads (opens in a new window) (on Windows, tick Add Python to PATH during installation), Node.js from nodejs.org (opens in a new window).
  5. A free Google account, to create a Gemini API key in step 5.

2 · How to open the terminal

The “terminal” is a window where you type commands. You will use it several times. To open it:

  • Windows: press the Windows key, type cmd and press Enter. A black window opens: that is the terminal, or command prompt.
  • macOS: press Cmd + Space, type Terminal, then Enter.
  • Linux: open your Terminal app.

Click in the window, type (or paste) a command, then press Enter to run it. To paste into the Windows terminal, right-click: Ctrl+V may not work. You can keep this window open and reuse it at every step.

3 · Step-by-step installation

Step 1 · Install Gemini CLI

Open the terminal (see section 2). Type the following line and press Enter; it may take a minute:

npm install -g @google/gemini-cli

Once it has finished, check it by typing:

gemini --version

If you see a version number, all is well. If it says “not recognised”, close the terminal, open a new one and try again.

Step 2 · Install the Eulerian connector

In the same terminal, type:

pip install eulerian-marketing-platform

You should end with a line such as Successfully installed eulerian-marketing-platform.

Step 3 · Find your Python path

Gemini needs the exact location of Python on your computer. In the terminal, type:

python -c "import sys; print(sys.executable)"

It prints a line, for example:

C:\Users\vous\AppData\Local\Programs\Python\Python312\python.exe

Copy the whole line and keep it to hand: you will paste it in step 4. To copy in the Windows terminal, select the text with the mouse, then press Enter. If the line contains WindowsApps, install Python from python.org and run this command again.

Step 4 · Create and edit the configuration file

This file tells Gemini to use Eulerian. It is called settings.json and lives in a folder named .gemini. Here is exactly how to find or create it on Windows:

  1. Open the folder. Open File Explorer (the yellow folder icon, or Windows key + E). Click in the address bar at the top, type exactly %USERPROFILE%\.gemini and press Enter. If the folder does not exist, type %USERPROFILE% instead, Enter, then right-click > New > Folder, name it exactly .gemini and open it.
  2. Turn on file extensions, so the file is not secretly a .txt. In File Explorer, open View menu > Show and tick File name extensions. Files then show their real ending, such as .json or .txt.
  3. Create the file, skipping this step if a settings.json already exists. Right-click an empty area > New > Text Document. Rename it to exactly settings.json (remove the .txt ending) and click Yes on the warning.
  4. Open the file and paste the content. Right-click settings.json > Open with > Notepad. Delete everything in it, then paste exactly this:
{
    "mcpServers": {
        "eulerian-marketing-platform": {
            "command": "PASTE-YOUR-PYTHON-PATH-HERE",
            "args": ["-m", "eulerian_marketing_platform.server"],
            "timeout": 600000,
            "env": {
                "EMP_API_ENDPOINT": "PASTE-YOUR-EULERIAN-URL-HERE",
                "EMP_API_TOKEN": "PASTE-YOUR-TOKEN-HERE"
            }
        }
    }
}

Then replace the three PASTE-… markers with your own values, keeping the straight quotes around each one:

  • command: your Python path, found in step 3.
  • EMP_API_ENDPOINT: your Eulerian URL (point 3 of section 1), for example https://demonstration.api.eulerian.com/mcp. Make sure the URL ends with /mcp, and add it by hand if needed.
  • EMP_API_TOKEN: your Eulerian token (point 2 of section 1).

Important

On Windows, in the Python path, replace each single backslash with a double backslash. For example, C:\Users\vous\...\python.exe must be entered as C:\\Users\\vous\\...\\python.exe.

Then save the file with Ctrl+S. For reference, here is where the settings file lives:

Your computerLocation of the settings file
Windows%USERPROFILE%\.gemini\settings.json
macOS~/.gemini/settings.json
Linux~/.gemini/settings.json

Step 5 · Get and set your Gemini API key

This is a free key that lets Gemini answer. It is separate from your Eulerian token.

  1. In a browser, open aistudio.google.com/apikey (opens in a new window) and sign in with Google.
  2. Click Create API key, then Copy. It starts with AIza or similar.
  3. Back in the terminal, type set GEMINI_API_KEY=, then right-click to paste your key straight after the =, and press Enter:
set GEMINI_API_KEY=votre-cle-collee-ici

On macOS and Linux, use export GEMINI_API_KEY=votre-cle.

Step 6 · Start Gemini and check the connection

  1. In the same terminal, type gemini and Enter.
  2. If it asks you to approve the folder, choose Trust folder. If it asks how to authenticate, choose Use Gemini API key.
  3. Type /mcp list and Enter. After a few seconds, the Eulerian server should appear as Ready, with a list of tools:

What success looks like: the Eulerian server is “Ready” with its tools listed

Step 7 · Try it

In the terminal, ask Gemini in plain language, for example:

Quels sites puis-je interroger avec mon compte Eulerian ?

The first time, it will ask for permission to run a tool: say yes. When you see your real data, you are done.

4 · How to use it: example questions

  • How did our paid search campaigns perform last week?
  • Which channels contributed most to conversions this month?
  • Compare campaign cost and revenue this month with last month.
  • Which Eulerian tools do you have available?

Tip

Be precise. “What was the CPA of our display campaigns last month?” works much better than “how are the campaigns doing?”.

5 · Security

  • Keep your token and your key private. They are like passwords: do not share them, and do not put them in screenshots or emails. If someone else sees one, create a new one.
  • Check with your IT team before using real business data with an AI tool.
  • Double-check important figures in the Eulerian interface: the AI may occasionally phrase a query imperfectly.

6 · If something does not work

If you see thisDo this
“gemini” is not recognisedClose the terminal and open a new one. Still failing? Type npx @google/gemini-cli instead of gemini.
“python” is not recognisedReinstall Python from python.org, ticking Add Python to PATH. Then open a new terminal.
The server shows “Disconnected” on the first tryTool discovery can take 20 to 30 seconds. Wait a moment and run /mcp list again. The timeout line from step 4 also helps.
Still “Disconnected”, and you suspect the Python pathCheck step 4 again: command must be your exact Python path with double backslashes.
“Usage limit reached”This is your Gemini model’s quota, not Eulerian. Type /model to switch model, or wait for the reset.
Sign-in says “no longer supported / Antigravity”Use a Gemini API key instead (step 5). The free Google sign-in no longer works in the CLI.