MCP For Gtm MCP Server

A Model Context Protocol (MCP) server that integrates Google Tag Manager with Claude, enabling automated GTM configuration and component creation

Local serverstdioPython

What is the MCP For Gtm MCP Server?

A Model Context Protocol (MCP) server that integrates Google Tag Manager with Claude, enabling automated GTM configuration and component creation through natural

What the server does

  • GTM API Integration — Full Google Tag Manager API integration for creating and managing tags, triggers, and variables
  • Component Templates — Pre-built templates for common tracking scenarios (GA4, Facebook Pixel, conversion tracking)
  • Workflow Automation — Complete workflow creation for different site types (ecommerce, lead generation, content sites)
  • Claude Integration — Natural language interface for GTM configuration through Claude

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the MCP For Gtm MCP Server

{
  "mcpServers": {
    "gtm": {
      "command": "python",
      "args": [
        "/path/to/mcp-for-gtm/server.py"
      ],
      "env": {
        "GTM_CREDENTIALS_FILE": "YOUR_GTM_CREDENTIALS_FILE",
        "GTM_TOKEN_FILE": "YOUR_GTM_TOKEN_FILE"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
GTM_CREDENTIALS_FILEDeclared in the maintainer’s client configuration.Check documentation
GTM_TOKEN_FILEDeclared in the maintainer’s client configuration.Check documentation

Frequently asked questions

A Model Context Protocol (MCP) server that integrates Google Tag Manager with Claude, enabling automated GTM configuration and component creation through natural Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.