data-ai MCP Server
An MCP server for Google Tag Manager. Connect it to your LLM, authenticate once, and start managing GTM through natural language.
Discovered via github-topic:mcp and last synced 1w ago.
Install instructions not detected yet
Check the source repository for the latest setup steps.
Transport
Rename an account
The server does not require a specified client. Each MCP client that has OAuth 2.1 with PKCE on an HTTP transport can connect to the server. This includes clients with Dynamic Client Registration (RFC 7591) and clients without it. --- ## What You Can Do Give these instructions to your AI assistant: - *"List all my GTM containers"* - *"Create a GA4 event tag for form submissions"* - *"Examine this container for problems and duplicates"* - *"Write a tracking plan document for the marketing team"* - *"Set up ecommerce tracking for purchases"* - *"Publish the changes"* You do not use the GTM interface for these tasks. You do not copy configurations manually. You give the instruction in usual language. --- ## Quick Start ### Claude (Web and Desktop) For Claude.ai: 1. Select **Settings**, then **Connectors**, then **Add Custom Connector**. 2. Type this URL: `https://mcp.gtmeditor.com` 3. Click **Add**. 4. Sign in with your Google account. For Claude Code (CLI), use this command: ```bash claude mcp add -t http gtm https://mcp.gtmeditor.com ``` ### ChatGPT 1. Go to the [OpenAI Apps Platform](https://platform.openai.com/apps). 2. Add an MCP integration with this URL: `https://mcp.gtmeditor.com` 3. Give permission with your Google account. ### Gemini CLI ```bash gemini mcp add --transport http --url https://mcp.gtmeditor.com gtm ``` ### Cursor 1. Open **Settings**, then **MCP**. 2. Click **Add new MCP server**. 3. Set the type to **URL**. 4. Type this URL: `https://mcp.gtmeditor.com/authorize` 5. Give permission with your Google account. As an alternative, add this configuration to your `.cursor/mcp.json` file: ```json { "mcpServers": { "gtm": { "url": "https://mcp.gtmeditor.com/authorize" } } } ``` --- ## Functions ### Tag Control The server creates and changes all GTM tag types: - **GA4 configuration and events.** Set up Google Analytics 4 with the correct measurement IDs. - **Ecommerce tracking.** Use purchase, add-to-cart, and view-item events. - **Custom HTML.** Add scripts, pixels, and custom code. - **Custom image.** Add tracking pixels with cache prevention. ### Trigger Control The server creates triggers for these conditions: - Page views on all pages or on specified URLs - Custom dataLayer events - Clicks - Form submissions - Timers - Trigger groups for complex conditions ### Container Operations - Read accounts, containers, and workspaces. - Create a version from the changes in a workspace. - Publish a version to make it live. - Put items in folders. - Enable or disable the built-in variables. ### Server-Side Containers The server has full support for server-side GTM containers: - **Clients.** Create, change, and delete server-side clients. The GA4 client is an example. - **Transformations.** Control event parameters with allow, exclude, and augment rules. ### Community Template Gallery The server imports templates from the Google Community Template Gallery. Give instructions such as these: - *"Import the iubenda cookie consent template"* - *"Add Cookiebot to my container"* - *"Set up Facebook Pixel with the gallery template"* The AI assistant finds the template and its GitHub repository. Then the assistant imports the template automatically. ### AI Workflows **Container examination.** Give the instruction *"Examine my container for problems"*. The assistant examines the workspace for these conditions: - Names that do not agree - Tags that occur more than once - Triggers that no tag uses - Risks to security - Configurations that do not obey the best practices **Tracking plan.** Give the instruction *"Write a tracking plan"*. The assistant writes a markdown document with this content: - All events and their triggers - The necessary dataLayer values - The definitions of the variables - Notes about the implementation **GA4 recommendations.** Give the instruction *"Help me set up GA4 for ecommerce"*. The assistant recommends the tags, the triggers, the necessary variables, and the dataLayer code. --- ## Examples of Use ### Make a Complete Tracking Setup The assistant can make a full GA4 ecommerce implementation. Give the instruction *"Set up GA4 ecommerce tracking for my store"*. The assistant then does these steps: 1. It creates 12 tags or more. These include the configuration tag and all the ecommerce event tags. 2. It creates one trigger for each dataLayer event. 3. It creates dataLayer variables for the items, the currency, the value, and the transaction ID. 4. It obeys the Google recommendations for event names and parameters. ### Add Consent Control You can connect privacy tools such as OneTrust to your tracking. Give the instruction *"Make GA4 fire only when the user gives consent for analytics"*. The assistant then does these steps: 1. It creates the variables that read the consent. 2. It creates the related triggers. 3. It changes the applicable tags. ### Change Many Items You can control containers that have many items. Give instructions such as these: - *"Add the prefix 'ecom -' to all ecommerce triggers"* - *"Change all tags to use a measurement ID variable"* The assistant can change or move many items in one operation. ### Make Custom Variables You can make complex tracking logic. Give instructions such as these: - *"Create a variable that gives the local time"* - *"Add a custom parameter to the purchase tag"* The assistant makes custom JavaScript variables and dataLayer variables. ### Use by an Agency - Control the containers of more than one client. - Use the same implementation for all clients. - Set up a new project quickly. - Make a version and publish the changes safely. --- ## How the Server Operates The server connects AI assistants to the Google Tag Manager API. It uses the [Model Context Protocol](https://modelcontextprotocol.io). When you give an instruction, the server does these steps: 1. It authenticates you with your Google account through OAuth 2.1. 2. It reads the configuration of your container. 3. It makes the changes that you request. 4. It asks for your approval before a destructive operation. The server does not keep your Google password. The server uses tokens. You can cancel a token at any time from your Google account. --- ## Safety Functions - The server asks for approval before a deletion or a publication. - The server changes only the workspace. No change is live until you publish it. - The server makes a version before each publication. - The server writes a log of the changes. --- ## Comparison with Other GTM MCP Servers More than one MCP server for Google Tag Manager is available. The most usual alternative is [stape-io/google-tag-manager-mcp-server](https://github.com/stape-io/google-tag-manager-mcp-server). The two projects are different in their design. This section gives the facts. It does not say that one project is better than the other. Use the facts to select the server that agrees with your conditions. The data is correct on 21 August 2026. ### Design and Distribution
List accessible GTM accounts
Check whether the current request is authenticated
List containers and their public IDs and settings
List workspace tags
List tags, triggers, and variables assigned to a folder
Update a variable with fingerprint-based concurrency control
Create a web, app, AMP, or server container
Delete a trigger; requires `confirm: true`
Create a client
Create a custom template from `.tpl` code
Create a trigger
Create a variable
Delete a variable; requires `confirm: true`
List transformations
Get a client
Delete a client; requires `confirm: true`
Create a version from a conflict-free workspace
Get a transformation
Update template code
Recommend a GA4 structure from stated goals
Get complete variable details
Get complete trigger details
Test MCP connectivity
Import a Community Template Gallery template
List workspace variables
Permanently delete a container; requires `confirm: true`
List workspace triggers
Create a tag
List workspaces in a container
List workspace folders
Rename a container while preserving its other settings
Update a trigger with fingerprint-based concurrency control
List all saved version headers across every result page
Return compact GA4 and Custom HTML input examples
Review tags, triggers, and variables for quality problems
Purpose
List server-container clients
Create a transformation
Publish a selected version; requires `confirm: true`
Guide Community Gallery discovery and import
Update a tag with fingerprint-based concurrency control
Update a client
Return compact trigger input examples
Purpose
Disable built-in variable types; requires `confirm: true`
Get template metadata and template code
Build a Markdown tracking plan from a workspace
Get complete tag details
List enabled built-in variables
Delete a tag; requires `confirm: true`
Enable built-in variable types
List custom templates
Create a workspace
Update a transformation
Delete an unused template; requires `confirm: true`
Delete a transformation; requires `confirm: true`
Score a workspace against embedded guidance
Produce a staged edit/version/publish plan
Go
One binary, or a Docker image
Streamable HTTP
BSD-3-Clause
Current state
18
`create_tag`, `list_tags`, `delete_tag`
Yes
16
6
This server supplies GTM rules as MCP resources at `gtm://best-practices`. An AI assistant can read these rules before it makes a change. The topics are names and organization, the safe-edit workflow, GA4 and consent, and server-side containers. The stape-io server supplies tools only. ### Authentication
Not supplied
Show pending changes and merge conflicts
MCP Streamable HTTP
Find a container by destination ID or GTM public tag ID
Get a web install snippet or server-container configuration
Merge a source container into a target; requires `confirm: true`
Move a tag ID into a new container; requires confirmation and terms acceptance
Get workspace metadata and its current fingerprint
Update selected workspace fields
Delete a workspace; requires `confirm: true`
Get complete folder metadata
Create a folder
List all container environments across every result page
Get environment configuration and authorization metadata
Create a user environment
Move a destination to a container; requires `confirm: true`
List Google tag configurations in a workspace
Get a Google tag configuration
Get the latest saved header, which may differ from live
Get a saved version and its complete entity collections
Make a version Latest without publishing; requires `confirm: true`
Discard workspace changes to a built-in variable, client, tag, template, transformation, trigger, variable, or zone; requires `confirm: true`
Default
empty
empty
empty
Compile an ephemeral preview without saving or publishing
Update a folder with fingerprint protection
List all zones across every result page
Update selected fields with fingerprint concurrency control
Create a Google tag configuration
Get the currently published version and its entities
Content
`8080`
empty
Apply multiple entity changes; requires `confirm: true`
Replace a conflict with a resolved entity; requires `confirm: true`
Move tags, triggers, and variables; requires `confirm: true`
Create a workspace zone
Update selected fields with fingerprint concurrency control
Delete a user environment; requires `confirm: true`
Delete a configuration; requires `confirm: true`
Update a saved version's name or description
empty
empty
`info`
current groups
Synchronize with the latest container version; requires `confirm: true`
Delete a folder; requires `confirm: true`
Discard workspace folder changes; requires `confirm: true`
Get boundary, child-container, and type-restriction configuration
Delete a zone; requires `confirm: true`
Rotate the authorization code; requires `confirm: true`
List Google tag destinations linked to a container
Update a configuration with fingerprint protection
Soft-delete a version; requires `confirm: true`
`http://localhost:8080`
`8h`
`false`
Get a destination by its link ID
Restore a soft-deleted version; requires `confirm: true`
`168h`
Implementing and auditing GCP VPC firewall rules to enforce network segmentation, restrict ingress and egress traffic, apply hierarchical firewall policies across the organization, and monitor firewall rule effectiveness using VPC Flow Logs.
Auditing Google Cloud Platform IAM permissions to identify overly permissive bindings, primitive role usage, service account key proliferation, and cross-project access risks using gcloud CLI, Policy Analyzer, and IAM Recommender.
Configuring Google Cloud Identity-Aware Proxy (IAP) to enforce per-request identity verification for Compute Engine, App Engine, Cloud Run, and GKE services using access levels, context-aware policies, and programmatic access with service accounts.
Implement GCP Binary Authorization to enforce deploy-time security controls that ensure only trusted, attested container images are deployed to Google Kubernetes Engine and Cloud Run.
Sample code and notebooks for Generative AI on Google Cloud, with Gemini Enterprise Agent Platform
The secure gateway connecting AI agents to enterprise systems.
DecisionBox connects to your data warehouse, runs autonomous AI agents that write and execute SQL, and surfaces validated insights and actionable recommendations — without you asking a single question.
Learn how to use the cloud-gcp Claude skill. Complete guide with installation instructions and examples.
Learn how to use the implementing-gcp-vpc-firewall-rules Claude skill. Complete guide with installation instructions and examples.
Learn how to use the auditing-gcp-iam-permissions Claude skill. Complete guide with installation instructions and examples.