{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.tagpilot/ga4-mcp",
  "slug": "io.github.tagpilot.ga4-mcp",
  "title": "Tag Pilot GA4",
  "summary": "Free, read-only Google Analytics 4: reports, funnels, realtime.",
  "version": "0.3.0",
  "serverKey": "ga4-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.tagpilot.ga4-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.tagpilot.ga4-mcp/install.md",
  "trust": {
    "score": 89,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T20:31:52.90720766Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@tagpilot/ga4-mcp@0.3.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add ga4-mcp -- npx -y @tagpilot/ga4-mcp@0.3.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"ga4-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@tagpilot/ga4-mcp@0.3.0\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"ga4-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@tagpilot/ga4-mcp@0.3.0\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"ga4-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@tagpilot/ga4-mcp@0.3.0\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.ga4-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"@tagpilot/ga4-mcp@0.3.0\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "TAGPILOT_API_KEY",
      "required": false,
      "secret": true,
      "description": "Optional. Leave unset: the first GA4 question connects this device to your free Tag Pilot account in the browser. Set a ga4:mcp key (tpk_…) only for CI or headless setups.",
      "help": "Optional. Leave unset: the first GA4 question connects this device to your free Tag Pilot account in the browser. Set a ga4:mcp key (tpk_…) only for CI or headless setups.",
      "placeholder": "<TAGPILOT_API_KEY>"
    },
    {
      "name": "GA4_MCP_NO_BROWSER",
      "required": false,
      "secret": false,
      "description": "Set to 1 to only return the Google sign-in link (open it in any browser) instead of opening a browser.",
      "help": "Set to 1 to only return the Google sign-in link (open it in any browser) instead of opening a browser.",
      "placeholder": "<GA4_MCP_NO_BROWSER>"
    },
    {
      "name": "GA4_MCP_AUTH_WAIT_SECONDS",
      "required": false,
      "secret": false,
      "description": "How long a tool call waits for the browser sign-in before returning the link.",
      "help": "How long a tool call waits for the browser sign-in before returning the link.",
      "default": "45",
      "placeholder": "45"
    }
  ],
  "expectedTools": [
    "get_account_summaries",
    "get_property_details",
    "list_google_ads_links",
    "list_property_annotations",
    "get_custom_dimensions_and_metrics",
    "run_report",
    "run_realtime_report",
    "run_funnel_report",
    "check_duplicate_transactions",
    "check_traffic_attribution",
    "connect",
    "connection_status"
  ],
  "agentSteps": [
    "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).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: get_account_summaries, get_property_details, list_google_ads_links, list_property_annotations, get_custom_dimensions_and_metrics, run_report, run_realtime_report, run_funnel_report, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T20:31:52.90720766Z"
}
