MCP server
Google Tag Manager MCP server
Google Tag Manager has no official MCP server. Stape Google Tag Manager MCP server, maintained by Stape (stape-io, community; not Google), is the one to try.
Server details
Publisher
Stape (stape-io, community; not Google)
Community-maintained.
Runs
Remote or local
Hosted by the publisher, or on your own computer.
https://gtm-mcp.stape.io/mcp
Sign-in
OAuth
A Google account with access to your Tag Manager containers. The hosted version passes your Tag Manager data through Stape’s server; the local npm package (google-tag-manager-mcp-server) uses your own service account key or tokens instead.
Google Tag Manager MCP server tools
gtm_account Performs all account-related operations: get, list, update.
gtm_auth_ status Diagnoses this server’s Google credentials: whether an access token can be obtained, whether Google accepts it, which Tag Manager scopes it grants and how long until it e.
gtm_built_ in_ variable Performs all built-in variable operations: create, list, remove, revert.
gtm_client Performs all client operations: create, get, list, update, remove, revert.
gtm_container Performs all container-related operations: create, get, update, remove, list, combine, lookup, moveTagId, snippet.
gtag_destination Lists the Google Tag destinations listed under https://tagmanager.google.com/#/home#tags.
gtm_environment Performs all environment operations: create, get, list, update, remove, reauthorize.
gtm_folder Performs all folder operations: create, get, list, update, remove, revert, entities, moveEntitiesToFolder.
gtm_gtag_ config Performs all Google tag config operations: create, get, list, update, remove.
gtm_guide Returns Google Tag Manager best-practice guidance and step-by-step workflows as markdown.
gtm_tag Performs all GTM tag operations: create, get, list, update, remove, revert.
gtm_template Performs all GTM custom template operations: create, get, list, update, remove, revert, importFromGallery.
gtm_transformation Performs all GTM transformation operations: create, get, list, update, remove, revert.
gtm_trigger Performs all GTM trigger operations: create, get, list, update, remove, revert.
gtm_user_ permission Performs all user permission operations: create, get, list, update, remove.
gtm_variable Performs all GTM variable operations: create, get, list, update, remove, revert.
gtm_version Performs all container version operations: get, live, publish, remove, setLatest, undelete, update.
gtm_version_ header Performs all container version header operations: list, latest.
gtm_workspace Performs various workspace operations including create, get, list, update, remove, createVersion, getStatus, sync, quickPreview, resolveConflict, and bulkUpdate actions.
gtm_zone Performs various zone operations including create, get, list, update, remove, and revert actions.
Add it to Claude, ChatGPT or Cursor
Stape hosts it, not Google, so your Tag Manager data passes through Stape’s server.
Claude
In Claude, open Customize, then Connectors. Select + Add, then Add custom connector, name it, paste https://gtm-mcp.stape.io/mcp and select Continue. Choose when to sign in and select Add. Free accounts can add one custom connector; on Team and Enterprise plans, an owner adds it under Organization settings, Connectors.
ChatGPT
In ChatGPT on the web, open Plugins, select the plus button, then Add custom MCP server. Name it, paste https://gtm-mcp.stape.io/mcp under Connection, set up sign-in and select Create as a plugin. Business, Enterprise and Edu workspaces can use every tool; Pro accounts get read-only tools.
Cursor
Add it to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project, as an entry under mcpServers whose url is https://gtm-mcp.stape.io/mcp.
Worth knowing
Google has no official Tag Manager MCP server. This community one can publish container versions to live traffic, and its own guide tells agents to work in a separate workspace and to confirm with the user before publishing; every update is a full replace, so omitted fields are deleted.
Google Tag Manager in Slack, without running a server
Kipwise Agent works with Google Tag Manager from a Slack thread, with no MCP server to run. Each person connects their own Google Tag Manager account, and anything that changes data waits for an Approve card. See Google Tag Manager in Slack.
@Kipwise connect Google Tag Manager
Each person connects their own Google Tag Manager account. Nobody shares a login.
@Kipwise what can you do in Google Tag Manager?
List containers, tags and triggers; add a tag or trigger and publish behind an Approve.
Questions
Is there an official Google Tag Manager MCP server?
No. Stape Google Tag Manager MCP server is maintained by Stape (stape-io, community; not Google).
What do I need to use the Google Tag Manager MCP server?
A Google account with access to your Tag Manager containers. The hosted version passes your Tag Manager data through Stape’s server; the local npm package (google-tag-manager-mcp-server) uses your own service account key or tokens instead.
Can I use Google Tag Manager from Slack without an MCP server?
Yes. Kipwise Agent connects to Google Tag Manager directly from a Slack thread. Each person connects their own Google Tag Manager account, and anything that changes data waits for an Approve card.
What does Kipwise Agent cost?
$29 a month per workspace, or $290 a year (2 months free). That includes $20 of AI credit every month, shared by the whole workspace. Add it to Slack and the free trial starts on your first message: $10 of AI credit for 14 days, no card needed.