An MCP server for Google Tag Manager. Connect it to your LLM, authenticate once, and start managing GTM through natural language.
# Add to your Claude Code skills
git clone https://github.com/paolobietolini/gtm-mcp-serverGuides for using mcp servers skills like gtm-mcp-server.
Last scanned: 6/5/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-06-05T08:08:52.699Z",
"npmAuditRan": true,
"pipAuditRan": true
}No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
30 days in the Featured rail
Let AI manage your Google Tag Manager containers.
Create tags, audit configurations, generate tracking plans, and publish changes, all through natural conversation with Claude, ChatGPT, Gemini, Cursor, and more.
URL: https://mcp.gtmeditor.com
| Client | Transport | Auth Flow | Status | |--------|-----------|-----------|--------| | Claude (Web & Desktop) | Streamable HTTP | OAuth 2.1 + PKCE | Supported | | Claude Code (CLI) | Streamable HTTP | OAuth 2.1 + PKCE | Supported | | ChatGPT | Streamable HTTP | OAuth 2.1 + PKCE | Supported | | Gemini CLI | Streamable HTTP | OAuth 2.1 + PKCE (DCR) | Supported | | Cursor | Streamable HTTP | OAuth 2.1 + PKCE | Supported |
The server is client-agnostic — any MCP client that supports OAuth 2.1 with PKCE over HTTP transport should work out of the box, including clients that use Dynamic Client Registration (RFC 7591) and those that don't.
Ask your AI assistant to:
No more clicking through the GTM interface. No more copy-pasting configurations. Just describe what you need.
Claude.ai:
https://mcp.gtmeditor.comClaude Code (CLI):
claude mcp add -t http gtm https://mcp.gtmeditor.com
https://mcp.gtmeditor.comgemini mcp add --transport http --url https://mcp.gtmeditor.com gtm
https://mcp.gtmeditor.com/authorizeOr add to your .cursor/mcp.json:
{
"mcpServers": {
"gtm": {
"url": "https://mcp.gtmeditor.com/authorize"
}
}
}
Create and modify any GTM tag type:
Build triggers for any scenario:
Full support for server-side GTM containers:
Import templates from Google's Community Template Gallery:
The AI will search for the template, find the GitHub repository, and import it automatically.
Container Audit "Audit my container for issues" — Analyzes your workspace for:
Tracking Plan Generation "Generate a tracking plan" — Creates markdown documentation of:
GA4 Setup Recommendations "Help me set up GA4 for ecommerce" — Recommends:
Ask AI to create a full GA4 ecommerce implementation from scratch:
Integrate privacy tools like OneTrust with your tracking:
Manage containers at scale:
Create sophisticated tracking logic:
The GTM MCP Server connects AI assistants to the Google Tag Manager API using the Model Context Protocol. When you ask Claude or ChatGPT to manage your GTM, it:
Your credentials are never stored—the server uses token-based authentication that you can revoke anytime from your Google account.
Want to run your own instance?
Self-hosted deployments can use a Google Service Account so the whole team shares access — no individual GTM permissions needed.
How it works: