google-tag-manager-mcp-server MCP Server

An interface to the Google Tag Manager API over MCP, in two flavours: a hosted server with Google OAuth built in, and a local CLI that runs on your own credentials.

Local serverstdioApache-2.0

What is the google-tag-manager-mcp-server MCP Server?

google-tag-manager-mcp-server is an MCP project maintained in the stape-io/google-tag-manager-mcp-server repository. The maintainer describes its purpose as “An interface to the Google Tag Manager API over MCP, in two flavours: a hosted server with Google OAuth built in, and a local CLI…”. Read the project documentation for the complete scope.

Installation

The documented npm package is google-tag-manager-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares GOOGLE_SERVICE_ACCOUNT_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the google-tag-manager-mcp-server MCP Server

{
  "mcpServers": {
    "gtm-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "google-tag-manager-mcp-server"
      ],
      "env": {
        "GOOGLE_SERVICE_ACCOUNT_KEY": "YOUR_GOOGLE_SERVICE_ACCOUNT_KEY"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
GOOGLE_SERVICE_ACCOUNT_KEYDeclared in the maintainer’s client configuration.Check documentation