Skip to content

Use Adquimo in Gemini CLI

Add Adquimo to Gemini CLI in settings.json or with gemini mcp add, sign in with /mcp auth or use an API key, and check the connection.

Private beta

Updated

Applies to
  • Gemini CLI
View as Markdown
Private beta
Open to a small group of design partners while we test it. Details may change before general availability. To ask about joining the beta, email [email protected].
On this page

Gemini CLI reads its MCP servers from settings.json: ~/.gemini/settings.json for every project, or .gemini/settings.json inside one project.

Requirements

  • A current version of Gemini CLI.
  • An Adquimo account in the private beta.

Set up with OAuth

Add the server from a terminal:

Shell
gemini mcp add --transport http adquimo https://mcp.adquimo.com/mcp

Or add it to settings.json yourself. Gemini CLI uses the key httpUrl for Streamable HTTP servers:

JSON
{
  "mcpServers": {
    "adquimo": {
      "httpUrl": "https://mcp.adquimo.com/mcp"
    }
  }
}

Sign in and authorize

Start Gemini CLI and run:

Plain text
/mcp auth adquimo

Gemini CLI opens Adquimo's sign-in in your browser. Sign in with your email code, review what Gemini CLI may do in your workspace and approve it.

Set up with an API key instead

For headless runs, create an API key in the Adquimo app, keep it in an environment variable and reference the variable in settings.json:

JSON
{
  "mcpServers": {
    "adquimo": {
      "httpUrl": "https://mcp.adquimo.com/mcp",
      "headers": {
        "Authorization": "Bearer $ADQUIMO_API_KEY"
      }
    }
  }
}

Check it works

Run /mcp to see Adquimo and its tools, then ask:

Plain text
Which ad accounts can you see in Adquimo?

Gemini CLI lists the ad accounts connected to your workspace, or says none are connected yet.

Gemini CLI asks before running a tool unless the server is marked as trusted. Leave Adquimo untrusted, so tools that change something always ask, and approve read-only tools as you go.

Troubleshooting

What you seeWhat to do
Adquimo is listed but its tools aren'tRun /mcp auth adquimo to finish signing in.
The server doesn't startCheck you used httpUrl, not url, for this server in settings.json.
401 errors with an API keyADQUIMO_API_KEY isn't set where Gemini CLI runs, or the key was revoked.

Remove Adquimo

Shell
gemini mcp remove adquimo

Then remove Gemini CLI under AI tools in Access in the Adquimo app, or revoke the API key you used.

  • Add Adquimo to your AI tool · For people and for AI agents reading on their behalf. Find the right setup for your AI tool, connect it once, and check it works.
  • Use Adquimo in any MCP client · The endpoint, transport, OAuth discovery, scopes and API key header any MCP client needs to connect to Adquimo.