Skip to content
Gemini CLI

Tag Pilot GTM for Gemini CLI

io.github.tagpilot/gtm-mcp

Free, read-only Google Tag Manager: containers, tags, diffs vs live, audits. No GCP setup.

client:Gemini CLI transport:stdio runtime:npm

Install Tag Pilot GTM in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "gtm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@tagpilot/gtm-mcp"
      ],
      "env": {
        "TAGPILOT_API_KEY": "<TAGPILOT_API_KEY>",
        "GTM_MCP_NO_BROWSER": "<GTM_MCP_NO_BROWSER>",
        "GTM_MCP_AUTH_WAIT_SECONDS": "<GTM_MCP_AUTH_WAIT_SECONDS>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Tag Pilot GTM in other clients