gtm-mcp

scottmckellam/gtm-mcp
★ 0 stars Python 💻 Code/Dev Tools Updated today
Local Claude Code MCP server for Google Tag Manager (19 tools)
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "gtm-mcp": {
      "command": "uvx",
      "args": [
        "gtm-mcp"
      ]
    }
  }
}

Or install with pip: pip install gtm-mcp

README Excerpt

A local Claude Code MCP server for **Google Tag Manager** — list/inspect tags, triggers, variables, and workspaces; create/update/pause/delete; create + publish container versions. Built to replace the one-off Python scripts that have been used historically (`cleanup_legacy_awct_gtm.py`, `add_clarity_to_gtm.py`, `fix_clarity_tag_ids.py`, etc.) for ad-hoc GTM work.

Tools (19)

create_tagcreate_triggercreate_version_and_publishcreate_workspacedelete_tagdelete_triggerdelete_variabledelete_workspacefind_containerget_taglist_accountslist_containerslist_tagslist_triggerslist_variableslist_versionslist_workspacespause_tagupdate_tag