Tag Pilot GTM

v0.1.0
io.github.tagpilot/gtm-mcp Checked 3 days ago Published 21 days ago

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

Values you need

VariableWhat it is
TAGPILOT_API_KEYoptional secret Optional. Leave unset: the first question connects this device to your free Tag Pilot account in the browser. Set a gtm:mcp key (tpk_…) only for CI or headless setups.
GTM_MCP_NO_BROWSERoptional Set to 1 to only return the Google sign-in link (open it in any browser) instead of opening a browser.
GTM_MCP_AUTH_WAIT_SECONDSoptional How long a tool call waits for the browser sign-in before returning the link. Default: 45

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add gtm-mcp -- npx -y @tagpilot/gtm-mcp@0.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "gtm-mcp": {
      "args": [
        "-y",
        "@tagpilot/gtm-mcp@0.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "gtm-mcp": {
      "args": [
        "-y",
        "@tagpilot/gtm-mcp@0.1.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "gtm-mcp": {
      "args": [
        "-y",
        "@tagpilot/gtm-mcp@0.1.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.gtm-mcp]
command = "npx"
args = ["-y", "@tagpilot/gtm-mcp@0.1.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_accounts, list_containers, list_workspaces, get_container, list_versions, get_live_version, get_tag, get_trigger, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json