About
This server enables remote MCP connections, integrates built‑in Google OAuth authentication, and provides a direct interface to the Google Tag Manager API. It allows tools like Claude Desktop to manage GTM containers programmatically.
Capabilities
The Google Tag Manager MCP Server bridges the gap between AI assistants and Google’s tag‑management ecosystem. By exposing a set of MCP resources, it allows tools such as Claude to authenticate via Google OAuth and then read or modify Tag Manager containers, tags, triggers, and variables programmatically. For developers who rely on automated data‑layer management or need to audit tag configurations, this server eliminates the manual steps of logging into the GTM web interface and manually copying JSON snapshots.
At its core, the server provides a secure, authenticated API surface that maps directly onto the official Google Tag Manager REST endpoints. When an AI client invokes a tool, the server performs OAuth token exchange on behalf of the user and forwards the request to GTM. The result is a seamless experience where an assistant can, for example, list all tags in a container, create a new trigger, or update a variable without exposing credentials to the client. This abstraction is especially valuable in CI/CD pipelines, where tag updates must be automated and auditable.
Key capabilities include:
- OAuth‑driven authentication that respects Google’s security model, ensuring tokens are refreshed automatically.
- Full CRUD operations on containers, workspaces, tags, triggers, and variables through a consistent MCP tool interface.
- Granular permission handling—the assistant only performs actions granted by the authenticated user’s GTM access level.
- Caching and state management that keeps tool listings up to date while minimizing API calls.
Typical use cases span across marketing, analytics, and engineering teams:
- Automated tag deployment during a release cycle, where an AI assistant pulls configuration changes from version control and pushes them to GTM.
- Tag health checks that scan for orphaned triggers or duplicate tags, reporting findings back to a project management tool.
- Dynamic audience segmentation where an assistant adjusts GTM audiences based on real‑time analytics data.
Integration into AI workflows is straightforward: developers add the MCP server URL to their client’s configuration, authenticate once through a browser flow, and then invoke tools as part of natural language prompts. The server’s design prioritizes security, compliance, and developer ergonomics, making it a standout solution for teams that need reliable, programmatic access to Google Tag Manager from conversational AI environments.
Related Servers
n8n
Self‑hosted, code‑first workflow automation platform
FastMCP
TypeScript framework for rapid MCP server development
Activepieces
Open-source AI automation platform for building and deploying extensible workflows
MaxKB
Enterprise‑grade AI agent platform with RAG and workflow orchestration.
Filestash
Web‑based file manager for any storage backend
MCP for Beginners
Learn Model Context Protocol with hands‑on examples
Weekly Views
Server Health
Information
Explore More Servers
Slack MCP Client
AI-powered Slack bridge for real‑world tool integration
Smartsheet MCP Server
AI‑ready Smartsheet integration via Model Context Protocol
Kafka MCP Server
Natural language interface for Kafka operations
Home Assistant MCP Server
LLM‑powered control and query for your smart home
Express MCP Server
Fast, lightweight Express-based MCP server template
MLB API MCP Server
FastMCP-powered access to MLB stats and data