Google doesn't publish an MCP server for Google Tag Manager that we could find. Stape, a company that hosts server-side Tag Manager containers, publishes an open-source one. Connected, Claude or ChatGPT can browse your containers, edit tags, triggers and variables in a workspace, create versions and publish them. It signs in with your Google account, so it can do whatever your Tag Manager role allows. This guide covers what it can do, what to watch, how to connect, and what changes when a marketing and web team share one container.
MCP (Model Context Protocol) is an open standard for plugging AI assistants into other apps. Claude and ChatGPT are a great fit for one person looking after a container. BlueNexus is for when the container is shared work.
For a marketer or developer who looks after one container.
For someone who works in ChatGPT already.
For a marketing and web team sharing one container.
What it can do, and what to watch
Stape's Google Tag Manager MCP server wraps the Tag Manager API in 20 tools. They cover accounts, containers, workspaces, tags, triggers, variables, folders, templates, environments, zones, user permissions and versions. One tool, gtm_guide, returns Stape's advice on safe editing, naming, audits and consent mode, without calling the API.
Three things are worth knowing:
- It can change the live site. Publishing a version makes it live. The server can also delete containers and change who has access.
- Your role is the limit. It signs in asking for every Tag Manager permission, but Google only allows what your role on the container allows.
- The address is changing. Stape's code says the old
gtm-mcp.stape.aiaddress stops working on 1 December 2026. Usehttps://gtm-mcp.stape.io/mcp.
What Stape's Google Tag Manager MCP server lets an AI do
- It isn't made by Google
- It can publish, delete and change user access
- The old gtm-mcp.stape.ai address stops on 1 December 2026
- Your Tag Manager role still decides what works
Connect Google Tag Manager to Claude or ChatGPT
Both use the hosted server and your own Google account.
Connect Google Tag Manager to Claude
5 minA good fit if you look after your own container.
- 1In Claude, open Customize, then Connectors, and add a custom connector with
https://gtm-mcp.stape.io/mcp. On Team and Enterprise, an owner adds it under Organization settings. - 2If asked, choose Sign in now and Register automatically.
- 3Click Connect and sign in with your Google account.
- 4Ask a question first, like which containers you can see and which version is live.
Stape's README also covers Claude Code and a local version that runs on your computer.
Connect Google Tag Manager to ChatGPT
10 minA good fit if you already work in ChatGPT.
- 1In ChatGPT on the web, open Plugins, select +, then Add custom MCP server.
- 2Use
https://gtm-mcp.stape.io/mcpand set authentication to OAuth. Confirm the warning and create it as a plugin. - 3Install it from your plugins, sign in with Google, and pick it with @ in a chat.
- 4Ask what changed in the live version, compared with the one before.
ChatGPT only reaches the hosted server. Workspace admins can restrict custom MCP servers. We didn't find a Google-made Tag Manager app in ChatGPT's Plugins in November 2026.
For developers
The Tag Manager API limits are 10,000 requests a day per Google Cloud project, and 0.25 requests a second, counted over 100 seconds. Going over returns a 403 error. Daily quotas reset at midnight Pacific time. Stape's local version runs with npx -y google-tag-manager-mcp-server and your own credentials, like a service account key, so requests don't pass through Stape. Stape says its MCP servers are free to use.
Who can do what
- Your role decides. In Tag Manager, container permissions go Read, Edit, Approve and Publish. Edit can change a workspace but can't create versions. Approve can create versions but can't publish. Only Publish can make changes live.
- Work in a workspace. Ask for changes in a new workspace, then check them in Preview before anyone publishes.
- Approvals. In Tag Manager 360, Edit users can request approval before publishing. Standard containers don't have approvals.
- No personal data. Google's Tag Manager Use Policy doesn't allow uploading data that identifies a person. Don't ask the AI to put names or emails in tags or variables.
- Your data. The hosted server passes requests through Stape. Container details go to the AI app you use, and that app's settings apply.
When it doesn't work
- 401 or 403 errors. Ask the AI to run
gtm_auth_status. It checks your Google sign-in and which permissions are missing. - It stopped on 1 December. Change the address to
gtm-mcp.stape.io/mcpand sign in again. If your organization manages the connector, ask an admin. - Can't create a workspace. Standard containers allow three workspaces, counting the default one. Publish or remove one first.
- "Conflict found". Someone published while you worked. Update the workspace from the latest version and resolve the conflicts before publishing.
- Something broke after publishing. In Tag Manager, open Versions and set the previous version as latest, then publish it.
With a team: Google Tag Manager in BlueNexus
In Claude or ChatGPT, each person connects their own Google account and works in their own chats. That suits one person. In a team, paid media asks for tags, a developer owns the site code, marketing operations publishes, and two people's half-finished workspaces sit in the same container.
BlueNexus is a shared AI workspace where people and AI agents work in the same projects, channels and tasks. The BlueNexus Google Tag Manager connector, our own integration, is coming soon. It has 32 tools (19 that read and 13 that write) to browse accounts and containers, edit tags, triggers and variables inside workspaces, and create and publish container versions. Every edit and every version waits for a person in Needs you, and publishing to your site stays with a person. Connect it with a Google account that has the access your team should have.
Once it's live, open Add a connector, search for Google Tag Manager, click Connect and follow the steps.
- All
- AI
- Analytics
- Communication
- Finance
- Marketing
- Productivity
- Sales
- Social
Browse accounts and containers, edit tags, triggers and variables inside workspaces, and create and publish container versions.
Illustration of the BlueNexus app with example data.
At Saltmarsh Outdoor, a 45-person outdoor gear retailer in Portland, Maine, Quinn, the paid media lead, asks the marketing agent on Friday 13 November for a Google Ads conversion tag on the Black Friday early access sign-up. The plan waits in Needs you.
Quinn approves. Emery, the web developer, checks the tag in Preview that afternoon, and Rowan, the marketing operations lead, publishes it. The agent set up the change. The person who looks after the live site decided when it went live.
Quinn asked the marketing agent for a Google Ads conversion tag on the Black Friday early access sign-up. From Google Tag Manager. Nothing is changed or posted until Quinn approves it, and nothing is published until Rowan publishes it.
- Work in the Early access sign-ups workspaceRowan opened it from the live version, 89
- Add a Google Ads conversion tag and its triggerConversion ID and label from Quinn, firing on the sign_up event from the early access form
- Post the change in the marketing channel for EmeryWith the tag, the trigger and what to check in Preview
- Publish itLeft unticked: Rowan publishes after Emery's Preview
Illustration of the BlueNexus app with example data.
To clean up a container, see how to audit a Google Tag Manager container. For the team, see a Google Tag Manager release checklist.
Which way fits you
If you look after one container yourself, connect Stape's server to Claude or ChatGPT, work in a workspace, and publish yourself after Preview.
If the container is shared, across paid media, development, marketing operations and whoever owns the cookie banner, you'll get more from one shared space than from several private chats. That's what BlueNexus is built for, and you can sign up for BlueNexus to bring your team in.