MCP ServerSTDIOOfficialv1.0.1

gtm-ga4 MCP Server

GTM + GA4 MCP: tag management, consent auditing, workspace versioning, reports.

io.github.mharnett/gtm-ga4

Hosted URL

https://github.com/mharnett/mcp-gtm-ga4

Transport

STDIO

Auth

3 required env vars

Connect to gtm-ga4

Hosted endpoint — paste into any MCP client.

https://github.com/mharnett/mcp-gtm-ga4

Environment variables

Configuration this server reads at startup.

  • GOOGLE_APPLICATION_CREDENTIALSRequired

    Path to service account JSON credentials file

  • GTM_ACCOUNT_IDRequired

    GTM account ID

  • GTM_CONTAINER_IDRequired

    GTM container ID

  • GA4_PROPERTY_ID

    GA4 property ID (numeric)

Resources

Where to find authoritative docs and source for gtm-ga4.

Try gtm-ga4 with 30+ AI models

Open MCP Agent Studio and connect this server to Claude, GPT, Gemini, DeepSeek and more — no install required.

Open Agent Studio

Related servers

More on MCP Playground