Google Tag Manager MCP MCP Server
io.github.A1-x-Tech/mcp-google-tagmanager
What this kind of tool is for
- Scaffold, lint, or restyle a component your agent is already editing.
- Run accessibility, link, or screenshot checks against a local build.
- Turn a design constraint into generated markup the agent can iterate on.
How to compare servers like this
- Framework fit:
- Check the tool targets your stack (React, Vue, plain HTML) before installing it.
- Runtime needs:
- Some browser-driving tools need a local browser or display; read the setup notes first.
- Maintenance signal:
- Frontend tooling churns quickly; recent commits are a good filter.
- Output quality:
- Prefer tools whose generated code you would accept into the repo as-is.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the Google Tag Manager MCP MCP server?
MCP server for the Google Tag Manager API v2: containers, workspaces, tags, triggers, publishing.
How to install Google Tag Manager MCP
Copy-paste configuration for popular MCP clients.
GOOGLE_TAGMANAGER_CLIENT_IDGoogle OAuth client id (refresh-token flow).
GOOGLE_TAGMANAGER_CLIENT_SECRETsecretGoogle OAuth client secret (refresh-token flow). Treat it as a secret.
GOOGLE_TAGMANAGER_REFRESH_TOKENsecretGoogle OAuth refresh token; exchanged for access tokens automatically. Treat it as a secret.
GOOGLE_TAGMANAGER_ACCESS_TOKENsecretReady-made OAuth access token (~1h lifetime). Alternative to the client-id/secret/refresh-token trio.
GOOGLE_TAGMANAGER_OAUTH_PORTFixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.
GOOGLE_TAGMANAGER_API_BASEAPI root host override.
GOOGLE_TAGMANAGER_TIMEOUT_MSPer-request timeout in milliseconds.
GOOGLE_TAGMANAGER_MAX_RETRIESRetries on transient errors (429, quota 403, and 5xx/network for reads).
GOOGLE_TAGMANAGER_MIN_INTERVAL_MSMinimum spacing between API requests, for the 0.25 QPS quota.
{
"mcpServers": {
"mcp-google-tagmanager": {
"command": "npx",
"args": [
"-y",
"mcp-google-tagmanager"
],
"env": {
"GOOGLE_TAGMANAGER_CLIENT_ID": "<YOUR_GOOGLE_TAGMANAGER_CLIENT_ID>",
"GOOGLE_TAGMANAGER_CLIENT_SECRET": "<YOUR_GOOGLE_TAGMANAGER_CLIENT_SECRET>",
"GOOGLE_TAGMANAGER_REFRESH_TOKEN": "<YOUR_GOOGLE_TAGMANAGER_REFRESH_TOKEN>",
"GOOGLE_TAGMANAGER_ACCESS_TOKEN": "<YOUR_GOOGLE_TAGMANAGER_ACCESS_TOKEN>",
"GOOGLE_TAGMANAGER_OAUTH_PORT": "<YOUR_GOOGLE_TAGMANAGER_OAUTH_PORT>",
"GOOGLE_TAGMANAGER_API_BASE": "<YOUR_GOOGLE_TAGMANAGER_API_BASE>",
"GOOGLE_TAGMANAGER_TIMEOUT_MS": "<YOUR_GOOGLE_TAGMANAGER_TIMEOUT_MS>",
"GOOGLE_TAGMANAGER_MAX_RETRIES": "<YOUR_GOOGLE_TAGMANAGER_MAX_RETRIES>",
"GOOGLE_TAGMANAGER_MIN_INTERVAL_MS": "<YOUR_GOOGLE_TAGMANAGER_MIN_INTERVAL_MS>"
}
}
}
}Related MCP servers
MCP server for the Google Tasks API: task lists, subtasks, due dates, complete and move tasks.
View repository →
Shopify Admin MCP
MCP server for the Shopify Admin API: products, orders, customers, inventory, discounts.

Yandex Audience MCP
MCP server for Yandex Audience API: segments (CRM, lookalike, pixel), pixels, grants.

Yandex Delivery MCP
MCP server for the Yandex Delivery B2B API: express claims, tracking, NDD/pickup-point orders.

Yandex Merchants MCP
MCP server for the Yandex Merchants partner API: feeds, offer prices, discounts, hide/unhide.

Yango Delivery MCP
MCP server for the Yango Delivery claims B2B API: price checks, delivery claims, courier tracking.