Step-by-step, no prior experience needed | ~15–20 minutes | Gemini CLI
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 sets it up with Gemini CLI, a free assistant from Google that runs in a “terminal” window.
Claude Desktop offers a one-click installer with no commands at all. If you’re not comfortable typing commands, that may be the easier option. This guide is specifically for Gemini CLI.
You’ll need these five things. Don’t worry about the technical ones — the steps below show you exactly what to do.
- If you don’t have one, ask your platform administrator.
- A secret text string provided by Eulerian. Keep it somewhere safe; you’ll paste it in Step 4.
- Looks like https://something.api.eulerian.com/mcp . Also provided by Eulerian.
- Free downloads: Python from python.org/downloads (on Windows, tick “Add Python to PATH” during install), and Node.js from nodejs.org .
- to create a Gemini API key in Step 5.
The “terminal” is a window where you type commands. Opening it:
- press the , type cmd, and press . A black window opens — that’s the terminal.
- press Cmd + Space, type Terminal, press .
- open your Terminal application.
click inside the window, type (or paste) a command, then press to run it. (Ctrl+V may not work). You can keep this window open and reuse it for every step.
Open the terminal (section 3). Type this line and press Enter (it may take a minute):
npm install -g @google/gemini-cli
When it finishes, check it worked by typing:
gemini --version
If you see a version number, you’re good. (If it says “not recognised”, close the terminal, open a new one, and try again.)
In the same terminal, type:
pip install eulerian-marketing-platform
You should end with a line like “Successfully installed eulerian-marketing-platform”.
Gemini needs the of Python on your computer. In the terminal, type:
python -c "import sys; print(sys.executable)"
It prints one line, for example:
C:\Users\you\AppData\Local\Programs\Python\Python312\python.exe
— you’ll paste it in Step 4. To copy in the Windows terminal: drag-select the text with the mouse, then press . (If the line contains WindowsApps, install Python from python.org and run this again.)
This file tells Gemini to use Eulerian. It’s named settings.json and lives in a folder called .gemini. Here’s exactly how to find or create it.
Open (the yellow folder icon, or press Windows key + E).
Click the at the top, type exactly %USERPROFILE%\.gemini and press .
If it says the folder doesn’t exist: type %USERPROFILE% instead, press Enter, then and name it exactly .gemini, then open it.
In File Explorer, open the menu → → tick . Now files show their real ending, like .json or .txt.
settings.json
Right-click an empty area → .
Rename it to exactly settings.json (delete the .txt ending). Click on the warning.
Right-click settings.json → .
Delete anything inside, 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"}}}}
with your own values (keep the quotes "" around each one):
- "command": your Python path from Step 3.
- "EMP_API_ENDPOINT": your Eulerian URL (item 3 of “Before you begin”).
- "EMP_API_TOKEN": your Eulerian token (item 2).
change every single backslash \ into a backslash \\. For example, this:C:\Users\you\...\python.exemust be typed as:C:\\Users\\you\\...\\python.exe
Then save the file: press . The settings file location, for reference:
%USERPROFILE%\.gemini\settings.json
This is a free key that lets Gemini answer (it is separate from your Eulerian token).
Click , then it (it starts with AIza or similar).
Back in the terminal, type set GEMINI_API_KEY= and then your key right after the =, and press Enter:
set GEMINI_API_KEY=your-key-pasted-here
(macOS/Linux: use export GEMINI_API_KEY=your-key instead.)
In the terminal window, type gemini and press Enter.
If it asks about trusting the folder, choose . If it asks how to authenticate, choose .
Type /mcp list and press Enter. After a few seconds the Eulerian server should show as , with a list of tools:
What success looks like: the Eulerian server is “Ready” with its tools listed.
Ask Gemini in plain language, for example: The first time, it will ask permission to run a tool — say yes. When you see your real data, you’re done.
- How did our paid search campaigns perform last week?
- Which channels contributed most to conversions this month?
- Compare campaign cost vs. revenue this month vs. last month.
- What Eulerian tools do you have available?
be specific. “What is the CPA of our display campaigns last month?” works far better than “how are campaigns doing?”.
- They’re like passwords — don’t share them, don’t put them in screenshots or emails. If one is ever seen by someone else, create a new one.
- before using real business data with any AI tool.
- in the Eulerian interface; AI can occasionally phrase a query imperfectly.
Close the terminal and open a new one. Still failing? Type npx @google/gemini-cli instead of gemini.
Reinstall Python from python.org and tick . Then open a new terminal. Tool discovery can take 20–30 seconds. Wait a moment and run /mcp list again. The "timeout" line in Step 4 also helps.
Re-check Step 4: the command must be your exact Python path with backslashes (\\).
That is your Gemini quota, not Eulerian. Type /model to switch model, or wait for it to reset.
Use a instead (Step 5). The free Google sign-in no longer works in the CLI.