Google Tag Manager MCP server

Ask Claude to audit your Tag Manager container, show what changed between versions, and publish fixes after a preview.

  • Try free in Caybl, Pro in your own AI
  • Sign in with Google - no Cloud project
  • Listed in Claude's connector directory
Google Analytics: freePro: $29/monthSee pricing →
In short: A Google Tag Manager MCP server lets an AI like Claude or ChatGPT read your containers - tags, triggers, variables and version history - and, if you allow it, draft and publish changes. Caybl.ai hosts one: sign in with Google, nothing to install. Changes are drafted first, and publishing is a separate step you approve after seeing exactly what will change on the live site - with one-step rollback.

When conversions drop, the cause is often in Tag Manager: a paused tag, a trigger that stopped matching, or a version published without anyone checking. With Caybl.ai connected, your AI reads the whole container at once, audits it, and compares any two versions - and with Google Analytics or Google Ads connected too, it can line up a version's date with the day the numbers moved.

Set it up in 2 minutes

Step 1

Sign in with Google

Use the account that can see your Google Tag Manager data.

Step 2

Approve access

Google's own consent screen. You never handle a token or key file.

Step 3

Add it to your AI

In Claude, open Caybl.ai in the connector directory. Anywhere else, add the MCP server URL https://api.caybl.ai/mcp.

Step 4

Ask

"Audit our Tag Manager container and list the problems, worst first."

Full walkthrough with screenshots: Step-by-step: connect Google Tag Manager to Claude.

What the Google Tag Manager MCP server can do

Reading is always on. Tools marked write are off until you switch them on. Claude can dry-run a change first, so the platform checks it without applying anything.

ToolWhat it does
gtm_list_containersEvery container the account can see: GTM id, name, web or server, domains
gtm_container_overviewWhat's live: version, counts of tags/triggers/variables, paused tags, workspaces with unpublished changes
gtm_list_tagsTags in plain words - type, event or conversion id, firing triggers, paused, consent
gtm_list_triggers_and_variablesTrigger conditions as sentences, which tags use each, and the variables
gtm_audit_containerPaused tags, duplicate GA4 events, retired UA tags, tags that never fire, missing consent settings - each with a fix
gtm_version_historyExactly what changed between two versions, e.g. 'Google Ads purchase tag: PAUSED'
gtm_pause_tagwritePause or unpause a tag, as a draft
gtm_upsert_tag / gtm_upsert_triggerwriteCreate or edit GA4 event and Google Ads conversion tags, and page view / click / form / custom event triggers, as drafts
gtm_publishwritePublish drafts as a named version after a preview of exactly what changes live, or roll back to an earlier version

What you can ask

Your options for a Google Tag Manager MCP server

 SetupAccessHostingBest for
Open-source GTM MCP serversClone, configure a Google Cloud OAuth client or service account, run or deploy it yourselfVaries; several can publish changes directlyYour machine or your own cloud accountA developer who wants full control and is comfortable running a server
Your own script on the Tag Manager APIGoogle Cloud project, OAuth or service account, codeAnything the API allowsWherever you run itOne-off bulk changes across many containers
Caybl.ai (hosted)Sign in with Google, add one URL to Claude or ChatGPTRead by default; optional drafts and previewed publishing, with one-step rollbackAlready running (EU region)Marketers who want audits and answers in plain English, next to their GA4 and Ads data

Google doesn't publish an official Tag Manager MCP server. If you're a developer happy to run one, the open-source servers work. Caybl.ai is for everyone else: one Google sign-in, works in claude.ai and ChatGPT in the browser, and every change is drafted and previewed before anything goes live.

Related

Last updated 23 October 2026.

Connect Google Tag Manager to Claude

Sign in with Google, add one URL, ask in plain English. No exports, no Cloud project.

Get started free →

FAQ