home / mcp / gtm mcp server

GTM MCP Server

Provides a remote MCP connection to Google Tag Manager with OAuth and GTM API access.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "stape-io-google-tag-manager-mcp-server": {
      "url": "https://gtm-mcp.stape.ai/mcp"
    }
  }
}

This MCP server enables remote connections for Google Tag Manager with built-in Google OAuth and a direct interface to the Google Tag Manager API. It lets you connect your MCP-enabled client to the GTM ecosystem securely and efficiently, so you can manage GTM assets and actions from your MCP workflow.

How to use

To use this MCP server with an MCP client, configure the client to point to the provided remote MCP URL, then complete the OAuth login to authorize access. Once authorization is successful, your tools and actions exposed by the GTM MCP server become available in your MCP client.

You will connect by referencing the remote MCP server in your client’s MCP configuration. After you restart the client, you will be prompted to authenticate via your Google account. Complete the authentication flow to grant access to the MCP server, and you can start using GTM-related tools through your MCP client.

Sample MCP server configuration (HTTP remote) you can reference in your client setup is shown below for guidance. Use this exact structure in your client configuration where applicable.

{
  "mcpServers": {
    "gtm_mcp": {
      "type": "http",
      " url": "https://gtm-mcp.stape.ai/mcp",
      "args": []
    }
  }
}