- Antigravity CLI integration guide
- For users without advanced technical knowledge
- Remote connector with OAuth 2.1 · Terminal (agy) · mcp_config.json
This guide connects to Eulerian's . The CLI (the command) is Google's version: an agent you work with by typing in the console, with no graphical interface. It supports with authentication. You paste no API token: the connector is added in the file and you sign in with your own Eulerian account. Versus Antigravity 2.0 and the IDE, here : you open the manager with the command and the OAuth sign-in is completed by into the console itself.
A remote endpoint + OAuth sign-in: you store no API tokens and the CLI never sees your password. Eulerian grants only a limited, revocable access.
- Check last week's paid search campaign performance with a single sentence.
- Find out which media channels drove the most conversions this month.
- Analyse the customer journey of your highest-converting segment.
- Get analytics insights without leaving the terminal.
You need these four items before continuing:
Installed with a single command (see Step 1). Works on Windows, macOS and Linux. It shares account and configuration with Antigravity 2.0 and the IDE.
The CLI signs in with your Google account the first time you launch it (or reuses the existing session if you use Antigravity 2.0/IDE).
It's your Eulerian API endpoint with /mcp appended. You find it in the Eulerian interface, within your account, under the "Eulerian API" section.
Your Eulerian username and password. You'll sign in during the OAuth step. There is no API token to paste.
The endpoint must be reachable over the internet and over HTTPS with a valid TLS certificate: the connection originates from your computer. If you have access to several grids, use the endpoint of the relevant one.
Install the CLI (agy)
Open a and run the installer for your system. On , open (Windows key → type "powershell" → Enter) and paste:
Launch "agy" and finish the welcome
In a fresh terminal, type and press Enter. The first time, the CLI may open your browser to sign in with your (or reuse the existing session). Then complete the wizard: choose a (↑/↓ arrows + Enter), accept the ([Done]) and, when asked, trust the folder ().
First launch of the CLI: choose a color theme with the arrows and press Enter.
The CLI asks you to trust the folder you open it from; leave "Yes, I trust this folder" and press Enter.
It may ask you to sign in via the browser with your Google account, or reuse the existing session if you share credentials with Antigravity 2.0/IDE.
Find your MCP endpoint in Eulerian
In the Eulerian interface, within your account, open the section. Your is shown there. The MCP server URL is that same endpoint with appended:
The "Eulerian API" section: your API Endpoint (demo values). You don't need the API token for this method.
https://<your-Eulerian-API-endpoint>/mcp
Here you don't copy the API token. You only need the endpoint URL with /mcp; you'll identify yourself with your username and password during the OAuth step.
Open the mcp_config.json configuration file
The connector is defined in a text file the CLI shares with Antigravity 2.0 and the IDE. Open it with a text editor. On (in PowerShell):
notepad $env:USERPROFILE\.gemini\config\mcp_config.json
Windows: C:\Users\<your-username>\.gemini\config\mcp_config.json · macOS and Linux: ~/.gemini/config/mcp_config.json. If the editor asks whether to create the file, say yes. You can also use it per project in .agents/mcp_config.json.
Add Eulerian's server and save
Paste this content into the file (replace with your endpoint, with at the end) and (File → Save):
{"mcpServers": {"eulerian": {"serverUrl": "https://<your-Eulerian-API-endpoint>/mcp"}}}
Since the three surfaces share this file, Eulerian may already be there. In that case you don't need to add it again: skip straight to Step 6.
Open the MCP manager with /mcp
In the CLI prompt box, type and press Enter. The manager opens, where you'll see . Since you haven't signed in yet, it will show with an "Unauthorized" notice (this is normal; we fix it in the next step).
The "MCP Servers" manager shows Eulerian with "[Auth Needed]": authentication is missing.
Start authentication
With selected (the `>` arrow to its left), press to open the actions. You'll see , and . Move to and press Enter.
With Eulerian selected, press Enter and choose "Authenticate".
Sign in and authorize in the browser
The CLI opens your browser with Eulerian's page. Enter your Eulerian username and password, and on the permissions screen click (the CLI never sees your password).
Eulerian's sign-in screen.
Authorization in Eulerian: review the permissions and click "Approve".
Review the permissions before approving. For read-only reports, eulerian:reports.read is enough; grant write only if your use case requires it.
Copy the code and paste it into the terminal
The browser shows a (click ). Go back to the terminal: the CLI is waiting at . Paste the code and press Enter. You'll see .
Antigravity shows a one-time code: copy it with "Copy to Clipboard" (code hidden).
The CLI asks you to paste the authorization code (the URL is hidden); paste it and press Enter.
The terminal prints an authorization URL: copy it and open it manually in the browser to sign in, then paste the code here.
Connector connected
Press to return to the MCP panel. Now appears as with the list of available tools. It's now connected.
Eulerian connected: "✓ Eulerian [Authed]" with its tools (eulerian_tool_invoke, …).
No tokens pasted. You can sign the CLI out at any time with the /logout command, or revoke access from your Eulerian account.
Use it
Press to leave the MCP panel and return to the prompt box. There, type your question in natural language and press Enter; the CLI will call Eulerian's tools. For example:
Which Eulerian tools do you have access to?
The CLI replies using Eulerian's MCP, listing the available tools.
The MCP configuration lives in the mcp_config.json file on your computer, and authentication is individual: each user signs in with their own Eulerian account.
- The connector is defined in your mcp_config.json (global at ~/.gemini/config/mcp_config.json or per project in .agents/mcp_config.json).
- Each user connects with their own Eulerian account, so they only access the data their account can see.
- In corporate environments, confirm with your IT department which AI tools are approved for processing business data.
The access granted is limited and revocable: use the /logout command in the CLI to sign out, or revoke it from your Eulerian account at any time.
Antigravity 2.0, the IDE and the CLI (~/.gemini/config/mcp_config.json) and the same session. If you already added Eulerian on another surface, the CLI detects it. And because authentication is OAuth 2.1 delegated to the client, the same endpoint also works with Claude, ChatGPT or Mistral: Eulerian's part is always the same; only where you add the connector changes.
This guide covers the terminal (Antigravity CLI, the agy command). Antigravity 2.0 is the agent app and the IDE is the code editor; each has its own guide, but Eulerian's part (endpoint + OAuth) is identical.
No API token is stored on your computer. You authenticate with your Eulerian account and Eulerian grants the CLI a limited access (for example, read-only reports) that is revocable at any time.
The code you paste into the terminal is temporary and single-use: it only serves to complete authentication and expires quickly. It is not a token to store or share.
Review the permissions on Eulerian's authorization screen (for example eulerian:reports.read) before clicking "Approve". Avoid write permissions if you won't use them.
Only add MCP servers from developers you trust. Always verify the origin of the URL: here, the developer is Eulerian.
Use /logout to disconnect your account and clear the credentials saved on the computer. Before using real data, confirm with IT which AI platforms are approved.
Close and reopen the terminal so it picks up the new PATH after installing. If it persists, reinstall with the Step 1 command.
It hasn't been added to the config file: open it with a text editor (Step 4) and paste the block from Step 5, save and reopen /mcp.
That's normal before signing in. Select Eulerian, press Enter and choose "Authenticate" (Step 7). If it persists after authenticating, contact Eulerian.
The terminal prints a URL: copy it and open it manually in the browser. After approving, copy the code and paste it into the terminal.
Use your Eulerian credentials (not your Google ones). If you have access to several grids, use the endpoint of the correct one.
Copy the full code with "Copy to Clipboard" and paste it before it expires; if it expires, run "Authenticate" again.
Run /logout in the CLI to clear the saved credentials and authenticate again.