Google Tag Manager MCP server
Ask Claude to audit your Tag Manager container, show what changed between versions, and publish fixes after a preview.
Continue with Google · You choose which accounts to connect · Disconnect any time · No card needed
- Try free in Caybl, Pro in your own AI
- Sign in with Google - no Cloud project
- Listed in Claude's connector directory
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
Sign in with Google
Use the account that can see your Google Tag Manager data.
Approve access
Google's own consent screen. You never handle a token or key file.
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.
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.
| Tool | What it does |
|---|---|
gtm_list_containers | Every container the account can see: GTM id, name, web or server, domains |
gtm_container_overview | What's live: version, counts of tags/triggers/variables, paused tags, workspaces with unpublished changes |
gtm_list_tags | Tags in plain words - type, event or conversion id, firing triggers, paused, consent |
gtm_list_triggers_and_variables | Trigger conditions as sentences, which tags use each, and the variables |
gtm_audit_container | Paused tags, duplicate GA4 events, retired UA tags, tags that never fire, missing consent settings - each with a fix |
gtm_version_history | Exactly what changed between two versions, e.g. 'Google Ads purchase tag: PAUSED' |
gtm_pause_tagwrite | Pause or unpause a tag, as a draft |
gtm_upsert_tag / gtm_upsert_triggerwrite | Create or edit GA4 event and Google Ads conversion tags, and page view / click / form / custom event triggers, as drafts |
gtm_publishwrite | Publish drafts as a named version after a preview of exactly what changes live, or roll back to an earlier version |
What you can ask
- Audit“Audit our Tag Manager container and list the problems, worst first.”
- What changed“Google Ads conversions dropped last week. Did something change in Tag Manager?”
- Explain“When exactly does our purchase tag fire?”
- Cross-check“Which GA4 events are set up in Tag Manager but haven't arrived in GA4 this week?”
- Draft“Add a GA4 generate_lead event when the contact form is submitted.”
Your options for a Google Tag Manager MCP server
| Setup | Access | Hosting | Best for | |
|---|---|---|---|---|
| Open-source GTM MCP servers | Clone, configure a Google Cloud OAuth client or service account, run or deploy it yourself | Varies; several can publish changes directly | Your machine or your own cloud account | A developer who wants full control and is comfortable running a server |
| Your own script on the Tag Manager API | Google Cloud project, OAuth or service account, code | Anything the API allows | Wherever you run it | One-off bulk changes across many containers |
| Caybl.ai (hosted) | Sign in with Google, add one URL to Claude or ChatGPT | Read by default; optional drafts and previewed publishing, with one-step rollback | Already 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
- Google Analytics MCP server
- Google Ads MCP server
- Connect Google Tag Manager to Claude
- Free Claude skills, including a Tag Manager audit
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
Yes, if you switch changes on and ask it to. Edits are drafted in a separate “Caybl changes” workspace first. Publishing is its own step: Google compiles the workspace, your AI shows you exactly what will change on the live site, and it only publishes when you say yes, as a named version. To undo, ask it to publish the previous version again.
Pausing or unpausing a tag, GA4 event and Google Ads conversion tags, page view, click, form and custom event triggers, and publishing or rolling back versions. Never Custom HTML, never deletes. Changes are off until you turn them on, per container.
It lists and reads them, but only drafts changes in web containers.
Pro in Claude, ChatGPT and other AIs. On the free plan you can ask about it in Caybl's built-in assistant using credits.