AgentcyAlpha
Integrations/Gemini CLI

Set up Gemini CLI

Google’s open-source CLI coding agent. Add Agentcy so Gemini can query your marketing data from the terminal.

SETUP
4 STEPS
  1. 01

    Sign up at app.goagentcy.com and create an API key

  2. 02

    Create or edit ~/.gemini/settings.json (global) or .gemini/settings.json (project)

  3. 03

    Paste the config snippet below, replacing YOUR_AGENTCY_API_KEY with your actual key

  4. 04

    Start a new Gemini CLI session to connect to Agentcy

CONFIG

path: ~/.gemini/settings.json

settings.json
{
  "mcpServers": {
    "agentcy": {
      "httpUrl": "https://data.goagentcy.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_AGENTCY_API_KEY"
      }
    }
  }
}
Last verified: March 5, 2026Official docs
TIPS

Gemini CLI uses httpUrl (not url) for remote MCP servers. Shares its config format with Gemini Code Assist. Environment variables in the config are auto-expanded from your shell environment. Supports both global (~/.gemini/) and project-scoped (.gemini/) configs.

EXAMPLE QUERIES
4 SAMPLES

How is organic traffic performing for aurora-fitness.com?

What are our top 10 search queries by click-through rate?

Create a Python script that generates weekly marketing reports

Research emerging trends in our industry

v1.0Need help?