mcpField
G
Google Tag Manager MCP by InsightfulPipe

Google Tag Manager MCP by InsightfulPipe

Remote
insightfulpipe.comData & Analytics0Updated 1w ago

About Google Tag Manager MCP by InsightfulPipe

InsightfulPipe hosts this remote MCP server for AI assistants to inspect and manage Google Tag Manager containers, including tags, triggers, variables, and workspaces. Actions are configurable per account, and destructive actions are off by default.

Key features

  1. 01List and inspect containers and workspaces
  2. 02Review tags, triggers, and variables
  3. 03Check versions and pending changes
  4. 04Create and update workspace entities
  5. 05Preview a workspace in debug mode

Use cases

  1. 01Inventory tags in the default workspace
  2. 02Find triggers unused by any tag
  3. 03Create a GA4 event tag for form submissions

MCP support

The remote MCP server exposes Google Tag Manager account, container, workspace, and entity read and management actions to MCP clients. Administrators can enable actions per account, while destructive actions such as deletion are disabled by default.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://google-tag-manager.insightfulmcp.com/
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project README

Google Tag Manager MCP Server by Insightful Pipe

MCP Compatible Insightful Pipe License

Connect Google Tag Manager to AI assistants: audit and manage tags, triggers, variables and workspaces.

Part of the Insightful Pipe MCP Server Collection — use Google Tag Manager from Claude, ChatGPT, Cursor, and other AI assistants through the Model Context Protocol (MCP).

Google Tag Manager MCP Server

MCP Server URL

https://google-tag-manager.insightfulmcp.com/

What is Google Tag Manager MCP?

Google Tag Manager MCP is a remote Model Context Protocol server hosted by InsightfulPipe. Audit and manage GTM containers: tags, triggers, variables, workspaces, and versions.

Installation

Claude
  1. Copy the MCP Server URL: https://google-tag-manager.insightfulmcp.com/
  2. Open Claude connector settings (Customize > Connectors), click + and then Add custom connector
  3. Paste the URL and click Add
  4. Click Connect and sign in to InsightfulPipe if asked. Claude then lists the connector as connected.
ChatGPT

Custom MCP servers are added through ChatGPT's Developer mode. Availability depends on your ChatGPT plan, and workspace admins may need to allow it.

  1. Turn on Developer mode in ChatGPT settings
  2. Create a new app for a remote MCP server and paste the URL: https://google-tag-manager.insightfulmcp.com/
  3. Sign in to InsightfulPipe if asked. The connection finishes as soon as you are signed in.

See OpenAI's guide: Developer mode and MCP apps in ChatGPT

Claude Code
claude mcp add --transport http google-tag-manager https://google-tag-manager.insightfulmcp.com/
Cursor

Add the server to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "google-tag-manager": {
      "url": "https://google-tag-manager.insightfulmcp.com/"
    }
  }
}

When Cursor shows Needs authentication, click Connect and sign in to InsightfulPipe if asked.

Available Actions

61 actions: 37 read and 24 that make changes, 6 of them destructive and off by default.

Read Actions (37)
Show all 37 read actions
ActionDescription
get_accountFetch a single GTM account by id
get_accountsList all GTM accounts the authenticated user can access
get_built_in_variablesList built-in variables enabled in the workspace
get_clientFetch a single server-side client
get_clientsList server-side clients in a workspace
get_containerFetch a single container by id
get_container_snippetGet the install
get_containersList containers in a GTM account
get_destinationFetch a single destination
get_destinationsList destinations linked to a container
get_environmentFetch a single environment
get_environmentsList environments configured for a container
get_folderFetch a single folder
get_folder_entitiesReturn tags / triggers / variables that live inside a folder
get_foldersList folders in a workspace
get_gtag_configFetch a single Google Tag config
get_gtag_configsList Google Tag (gtag.js) configurations in a workspace
get_latest_version_headerFetch the most recent version header
get_live_versionFetch the version currently published to live
get_tagFetch a single tag
get_tagsList all tags in a workspace
get_templateFetch a single custom template
get_templatesList custom templates in a workspace
get_transformationFetch a single transformation
get_transformationsList server-side transformations in a workspace
get_triggerFetch a single trigger
get_triggersList all triggers in a workspace
get_variableFetch a single variable
get_variablesList user-defined variables in a workspace
get_versionFetch a single container version including all entities at that point in time
get_version_headersList lightweight version headers (id, name, entity counts) without full entity payloads
get_workspaceFetch a single workspace
get_workspace_statusShow pending changes in a workspace and any merge conflicts vs the latest container version
get_workspacesList workspaces (staging areas) in a container
get_zoneFetch a single zone
get_zonesList zones in a workspace
lookup_containerLook up a container by its public id (e.g. GTM-XXXXXX)
Actions That Make Changes (24)
Show all 24 write and destructive actions
ActionDescription
create_folderCreate a folder for organizing workspace entities
create_tagCreate a tag in a workspace
create_triggerCreate a trigger in a workspace
create_variableCreate a variable
create_workspaceCreate a new workspace (staging area)
delete_folderDelete a folder from a workspace
delete_tagDelete a tag from a workspace
delete_triggerDelete a trigger from a workspace
delete_variableDelete a user-defined variable from a workspace
delete_workspaceDelete a workspace
disable_built_in_variableDisable one or more built-in variables in a workspace
enable_built_in_variableEnable one or more built-in variables in the workspace by passing their type names as a comma-separated query value or repeated 'type' params
move_entities_to_folderMove tags / triggers / variables into a folder
quick_preview_workspaceGenerate a debug-mode preview of a workspace without saving it as a version
resolve_conflictResolve a merge conflict surfaced by sync_workspace by picking which side wins for a given entity
revert_folderDiscard a folder's uncommitted workspace changes
revert_tagDiscard a tag's uncommitted workspace changes, reverting it to the live container state
revert_triggerDiscard a trigger's uncommitted workspace changes
revert_variableDiscard a variable's uncommitted workspace changes
sync_workspacePull the latest container changes into a workspace, surfacing conflicts that need manual resolution
update_folderUpdate a folder
update_tagUpdate a tag
update_triggerUpdate a trigger
update_variableUpdate a variable

Control What Your AI Can Do

You decide what AI agents can do with each connected account:

  • Turn individual actions on or off for every connected account, so agents only see the actions you allow.
  • Connect as Read-only or Read & Write. A read-only connection can only enable read actions.
  • Destructive actions stay off by default. Actions such as deletes are disabled until an admin enables them.
  • Team access per account. Restricted team members only use the accounts they are granted, with the read actions enabled on them.

Usage Examples

"List all tags in my container's default workspace"
"Which triggers are not used by any tag?"
"Create a GA4 event tag for form submissions"

Pricing

The Google Tag Manager MCP server is included in every InsightfulPipe plan, together with all other MCP servers and the CLI. Plans start at $29.99/month, and you can try it for 7 days. See insightfulpipe.com/pricing for current plans.

Ready-Made Skills and Prompts

Explore More MCP Servers by Insightful Pipe

Visit insightfulpipe.com/mcp-servers to discover our full collection of MCP servers.

View All MCP Servers →

Resources

Support


Insightful Pipe — AI-powered marketing analytics through MCP servers. Explore all integrations →

License

MIT License - see LICENSE for details.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.