[Analytics MCP servers](/about/analytics-mcp-servers) November 16, 2026

# Google Tag Manager MCP: is there an official server?

Google ships no Tag Manager MCP server. What third-party GTM servers can do through the API, which scopes let them publish, and what to check first.

![](/images/65d75b0ae8d69ef95785a5d6_david-pombar.webp)

**[David Pombar](/authors-guides/david-pombar)** Swiss army knife at Trackingplan

6 min read · 1273 words

> **TL;DR** Google doesn’t publish a Google Tag Manager MCP server. Third-party servers wrap the Tag Manager API v2, which covers reading, editing, versioning and publishing containers. The scope a server asks for decides how far it can go. Read-only needs one scope; the widest servers ask for all seven.

Analytics MCP servers mostly read reports. A Tag Manager server is different: it can change what runs on your site. This page covers what exists, what the API allows, and what to check before you connect one. It’s part of our map of [analytics MCP servers](/guides/analytics-mcp-servers).

![The seven Tag Manager API scopes from read-only to account management, with the effect of each one, from viewing containers to publishing a version to the live site.](/images/google-tag-manager-mcp-scopes.webp)

Each scope widens what the server can do, up to publishing a version to the live site.

## Is there an MCP server for Google Tag Manager?

Not from Google. As of 16 November 2026, Tag Manager isn’t in [Google’s own list](https://github.com/google/mcp) of the remote and open-source MCP servers it publishes, and it isn’t in [Google Cloud’s product list](https://docs.cloud.google.com/mcp/supported-products) of managed remote ones.

What exists are third-party servers built on the Tag Manager API v2. Search for one and you get a long list on MCP directories: open-source repositories by individual developers, agency projects and hosted services. They aren’t Google’s, however the listing reads.

Google does publish an MCP server for the reporting side, the [Google Analytics MCP server](/guides/google-analytics-mcp-server). It doesn’t read or write GTM.

## What a GTM MCP server can do: the scopes

Every GTM server is a wrapper around the Tag Manager API, and the API is gated by OAuth scopes. The scope list is the most honest description of what a server can do. From [Google’s authorisation guide](https://developers.google.com/tag-platform/tag-manager/api/v2/authorization):

| Scope | Google’s description | What it means in practice |
| --- | --- | --- |
| `tagmanager.readonly` | View your Google Tag Manager containers | Read tags, triggers, variables and versions |
| `tagmanager.edit.containers` | Manage your Google Tag Manager containers | Create and change tags, triggers and variables in a workspace |
| `tagmanager.delete.containers` | Delete your Google Tag Manager containers | Remove containers |
| `tagmanager.edit.containerversions` | Manage your Google Tag Manager container versions | Create and change versions |
| `tagmanager.publish` | Publish your Google Tag Manager containers | Push a version live |
| `tagmanager.manage.users` | Manage user permissions of your Google Tag Manager data | Grant and remove access |
| `tagmanager.manage.accounts` | Manage your Google Tag Manager accounts | Change account settings |

The token also acts as you: the server reaches the accounts and containers your Google account can reach. If you’re an admin, so is the assistant.

## One third-party server, as an example: Stape’s

The most widely listed GTM server is published by Stape, in the GitHub repository `stape-io/google-tag-manager-mcp-server`, under the Apache 2.0 licence. It isn’t from Google, and we don’t vouch for it. Its README is clear about what it is, which makes it a useful example. As of 16 November 2026, per its README and source:

-   **Two forms.** A hosted server at `https://gtm-mcp.stape.io/mcp`, where you sign in with Google in the browser and data passes through Stape’s domain, and a local CLI, the npm package `google-tag-manager-mcp-server`, run with your own service account key or token, so data doesn’t pass through Stape’s domain.
-   **Clients.** The README has steps for Claude Desktop, Claude Code, VS Code, GitHub Copilot, Copilot CLI, Cursor, Antigravity and ChatGPT. ChatGPT gets the hosted server only.
-   **Tools.** 20 tools, one per GTM resource: `gtm_account`, `gtm_container`, `gtm_workspace`, `gtm_tag`, `gtm_trigger`, `gtm_variable`, `gtm_version` and so on, plus `gtm_auth_status` to check the token. Each takes an action: `gtm_tag` creates, updates, removes and reverts tags; `gtm_version` can publish and remove versions.
-   **Scopes.** Its source requests all seven Tag Manager scopes, `tagmanager.publish`, `tagmanager.delete.containers` and `tagmanager.manage.users` included.

A server meant to build containers needs those scopes. Connecting it still hands the assistant everything your GTM account can do.

## Why write access to GTM is a different risk

Change a GA4 custom dimension by mistake and a report looks odd. Publish a GTM version by mistake and every page that loads the container runs it: a purchase tag that fires twice, a consent check removed, a pixel sent before the visitor answers the banner.

GTM already has the safety net. Changes happen in a workspace and only reach the site when someone publishes a version. Keep that line:

-   **Let the assistant draft, not publish.** Keep publish and delete tools blocked, or on approval, in your client.
-   **Give it its own workspace**, so its changes don’t mix with what your team has half-finished.
-   **Preview before publishing.** GTM’s Preview mode exists for this.
-   **Read the version diff** before anyone presses Publish.

## Check a GTM server before you connect it

1.  **Who publishes it?** A company with a support channel or an individual repository. Either can be fine; know which.
2.  **Which scopes does it request?** Look in the source, not only the README. Read-only work needs `tagmanager.readonly` alone.
3.  **Where does the token live?** Locally, or on the publisher’s servers.
4.  **Which tools write?** Then set each one to need approval in Claude, or keep ChatGPT on asking first.
5.  **Which account do you connect with?** A user with Read access on one container is safer than an admin on all of them.

For the wider audit of a container, before or after an AI touches it, see our [GTM audit checklist](/blog/gtm-audit).

## What the Tag Manager API can’t tell you

The API returns configuration: what the container says should happen. It doesn’t return what happened. A tag can be set up correctly and still fail in production: the dataLayer push arrives after the trigger, a variable reads an empty path on one template, the consent state blocks it in one market. An MCP server hands the model whatever the platform stores, and for GTM that’s the plan, not the result. Debugging that gap is its own job; our [dataLayer debugging guide](/guides/datalayer-debugging-gtm) covers it.

Trackingplan works from the other side. It finds your GTM containers in your own traffic and captures every published release, with no setup, so it can line up a release with a broken event or a drop in traffic. It watches the hits each tag sends, with the dataLayer and the consent state, on real traffic. When the fix is in GTM, it explains the problem, prepares the change in a separate workspace, tests it on the site with and without the change, and leaves publishing to you.

[Trackingplan MCP](/landings/mcp) brings that into Claude, ChatGPT or Cursor. Each person signs in as themselves, with no API key, and any change to the plan waits for approval. Ask it what changed in a container and when, or which release lines up with a broken event. The setup is in the [MCP endpoint docs](/docs/mcp-endpoint).

## FAQ

### Is there an MCP server for Google Tag Manager?

Not one from Google. As of 16 November 2026, Tag Manager isn’t in Google’s MCP repository or in Google Cloud’s list of managed remote MCP servers. Third-party servers built on the Tag Manager API v2 exist, Stape’s among them, and they can read and change containers.

### Can a GTM MCP server publish changes to my live site?

Yes, if it asks for the `tagmanager.publish` scope and your account can publish. A published container version goes live on every page that loads the container, so keep publish and delete tools on approval or blocked.

### Which scope does a read-only GTM MCP server need?

`tagmanager.readonly`, which Google describes as view your Google Tag Manager containers. Edit, delete, publish, user and account management each have their own scope.

### Can an AI assistant tell if my GTM tags actually fire?

Not through the Tag Manager API. The API returns the container’s configuration: tags, triggers, variables and versions. Whether a tag fired, with which parameters and under which consent state, is only visible in the requests the site sends.

Part of[Analytics MCP servers: GA4, PostHog, Mixpanel and more](/guides/analytics-mcp-servers)

On this page

1.  [*01*Is there an MCP server for Google Tag Manager?](#is-there-an-mcp-server-for-google-tag-manager)
2.  [*02*What a GTM MCP server can do: the scopes](#what-a-gtm-mcp-server-can-do-the-scopes)
3.  [*03*One third-party server, as an example: Stape’s](#one-third-party-server-as-an-example-stape-s)
4.  [*04*Why write access to GTM is a different risk](#why-write-access-to-gtm-is-a-different-risk)
5.  [*05*Check a GTM server before you connect it](#check-a-gtm-server-before-you-connect-it)
6.  [*06*What the Tag Manager API can’t tell you](#what-the-tag-manager-api-can-t-tell-you)
7.  [*07*FAQ](#faq)

**Stop babysitting tags**

Trackingplan audits your real user data around the clock and flags issues before they cost you.

[Start free trial →](https://app.trackingplan.com/signup)

![](/images/65d75b0ae8d69ef95785a5d6_david-pombar.webp)

**David Pombar** Swiss army knife at Trackingplan

Read more from David, a Senior Product Strategist with 18+ years in digital product development and an atypical error detection knack.

Share Copy link [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.trackingplan.com%2Fguides%2Fgoogle-tag-manager-mcp) [X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.trackingplan.com%2Fguides%2Fgoogle-tag-manager-mcp&text=Google%20Tag%20Manager%20MCP%3A%20is%20there%20an%20official%20server%3F)

Read next

[All Guides →](/guides)

-   [
    
    7 minAnalytics MCP serversNovember 16, 2026
    
    ### Google Analytics MCP server: tools, clients and limits
    
    What Google’s Analytics MCP server is, the 13 tools it exposes, the clients it supports, how it runs locally or hosted, and what it can’t see in GA4.
    
    by **David Pombar**](/guides/google-analytics-mcp-server)
-   [
    
    7 minAnalytics MCP serversNovember 16, 2026
    
    ### Google Search Console MCP: the options that exist
    
    Google ships no Search Console MCP server. Here are the options that exist, what the API lets any server read or change, and how to vet one first.
    
    by **David Pombar**](/guides/google-search-console-mcp)
-   [
    
    7 minDatalayerNovember 2, 2026
    
    ### dataLayer debugging in GTM: order and timing errors
    
    How to debug dataLayer order and timing errors in GTM: late pushes, an overwritten dataLayer, single-page app routes, and consent-delayed tags.
    
    by **David Pombar**](/guides/datalayer-debugging-gtm)

Trackingplan

## See everything. Miss nothing.

Your implementations audited around the clock with real-time, real-user data. Real-time alerts about errors or changes in your data, campaigns, pixels, privacy and consent. Let AI flag issues before they cost you.

[Start free trial →](https://app.trackingplan.com/signup) [Book a demo](/demo)
