Gtm MCP Server
The GTM MCP Server is a tool based on the Model Context Protocol that allows users to manage Google Tag Manager containers in natural language through AI assistants (such as Claude, ChatGPT, Gemini), enabling functions such as tag creation, configuration auditing, tracking plan generation, and change publishing.
rating : 2.5 points
downloads : 5.1K
What is GTM MCP Server?
GTM MCP Server is a bridge that connects AI assistants (such as Claude, ChatGPT, Gemini) with the Google Tag Manager API. It allows you to manage website tracking codes through natural language conversations without manually clicking on the GTM interface. Just tell the AI what you want to achieve, and it will automatically create tags, set triggers, manage variables, etc.How to use GTM MCP Server?
It's very simple to use: 1) Add the MCP connector to the AI assistant; 2) Authorize access to your Google account; 3) Start managing GTM with natural language. For example, tell the AI 'Create a GA4 event tag for form submission', and it will automatically complete all technical configurations.Use cases
Suitable for website administrators, digital marketers, data analysts, developers, and marketing agencies. Especially suitable for scenarios such as quickly setting up new website tracking, batch - managing multiple containers, standardizing tracking implementation, generating tracking documents, and integrating third - party tools.Main features
Tag management
Create and modify any GTM tag types, including GA4 configurations, e - commerce events, custom HTML, custom images, etc. The AI will automatically configure the correct parameters according to your description.
Trigger management
Build triggers for various scenarios: page views, custom events, click tracking, form submissions, timers, etc. Support complex condition combinations.
Container audit
Automatically analyze the workspace, detect naming inconsistencies, duplicate tags, orphaned triggers, security issues, etc., and provide improvement suggestions.
Tracking plan generation
Automatically generate a tracking plan document in Markdown format, including all event, trigger, and variable definitions and implementation instructions.
Server - side container support
Fully support server - side GTM containers, including advanced functions such as client - side management and conversion rule settings.
Community template library
Import templates directly from the Google community template library, such as Cookie consent management, Facebook Pixel, etc. The AI will automatically search and install them.
Bulk operations
Rename, update, or organize dozens of tags and triggers in batches through simple instructions to improve management efficiency.
Version control
All changes are first made in the workspace. Only after creating a version can you publish the changes, ensuring security and controllability.
Advantages
No technical knowledge required: Describe your requirements in natural language, and the AI will handle the technical details.
Save time: Complete manual configurations that originally took hours in just a few minutes.
Reduce errors: The AI follows best practices to avoid human - made configuration errors.
Unified standards: Ensure consistency in the implementation of all containers.
Real - time collaboration: Interact with the AI in a conversational way and adjust configurations immediately.
Safe and controllable: Deletion or publishing operations require confirmation before execution.
Multi - platform support: Compatible with mainstream AI assistants such as Claude, ChatGPT, and Gemini.
Limitations
Google account authorization required: You must authorize access to the GTM API.
Network dependency: A stable network connection is required.
Learning curve: You need to understand basic GTM concepts and terms.
API limitations: Subject to the rate limits of the Google Tag Manager API.
Specific function limitations: Some advanced trigger conditions need to be configured manually.
How to use
Select an AI assistant
Select the AI assistant you use: Claude (web version or desktop version), ChatGPT, or Gemini CLI.
Add the MCP connector
Add a custom MCP connector in the settings of the AI assistant and enter the server URL: https://mcp.gtmeditor.com
Authorize your Google account
Click the authorization button, log in with your Google account, and grant access to the GTM API. Your credentials will not be stored.
Start conversational management
Now you can manage GTM with natural language. For example: 'List all my containers' or 'Create a GA4 tag for purchase events'.
Review and publish
The AI will first make changes in the workspace. You can review them and then decide whether to create a version and publish it to the production environment.
Usage examples
Complete e - commerce tracking setup
Set up complete GA4 e - commerce tracking for a newly launched e - commerce website, including all standard events such as product browsing, adding to cart, starting checkout, and purchasing.
Consent management integration
Integrate a consent management platform (such as OneTrust) with website tracking to ensure that analytics tags are only triggered when the user gives consent.
Bulk renaming and organization
Add a unified prefix to dozens of tags and triggers in a large container and organize them into folders to improve maintainability.
Import tools from the template library
Import third - party tools from the Google community template library, such as Cookie consent management or social media pixels.
Generate a tracking plan document
Generate a detailed tracking implementation document for the development team, explaining all events, data layer requirements, and implementation steps.
Frequently Asked Questions
Is my Google account credential secure?
Will the AI directly publish changes to the production environment?
Which AI assistants are supported?
Do I need technical knowledge?
Can I manage containers for multiple clients?
Are there API rate limits?
Can I undo the changes made by the AI?
Does it support server - side GTM?
Related resources
GitHub repository
Complete source code, issue tracking, and contribution guidelines
GTM API reference
GTM API documentation optimized for LLMs, including request templates and validation rules
MCP protocol specification
Official documentation and specification of the Model Context Protocol
Google Tag Manager API
Official Google Tag Manager API documentation
Docker image
Official Docker container image
Issue feedback
Report issues, request features, or provide feedback

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
34.6K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
72.6K
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
20.5K
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
25.7K
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
63.8K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
31.5K
5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
22.1K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
48.5K
4.8 points





