Google Tag Manager MCP Server

MCP server for Google Tag Manager

Remote serverstreamable-httpGo

What is the Google Tag Manager MCP Server?

Google tag manager mcp server connects Google Tag Manager to AI assistants that speak the Model Context Protocol. MCP server for Google Tag Manager.

What Google Tag Manager does

This is a server that supports remote MCP connections, with Google OAuth built-in and provides an interface to the Google Tag Manager API.

Practical notes

  • Maintained by stape-io, written in Go.

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 Google Tag Manager MCP Server

{
  "mcpServers": {
    "gtm-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://gtm-mcp.stape.ai/mcp"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GOOGLE_CLIENT_IDConfiguration value read at startup.Optional
GOOGLE_CLIENT_SECRETCredential the server authenticates with.Yes
COOKIE_ENCRYPTION_KEYCredential the server authenticates with.Yes
WORKER_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • “Use Google Tag Manager to Troubleshooting.”

Frequently asked questions

MCP server for Google Tag Manager Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.