MCP server for Google Tag Manager: audit containers, validate GA4/Google Ads/Meta tracking, diff workspaces against versions, export importable container JSON and, in opt-in write mode, apply reviewed changes inside a workspace. Never publishes. For Claude, Cursor, Codex and any MCP client.
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"mcp-gtm-audit","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# mcp-gtm-audit [](https://pypi.org/project/mcp-gtm-audit/) [](https://github.com/acamolese/gtm-audit-mcp/actions/workflows/ci.yml) [](LICENSE) MCP (Model Context Protocol) server for **Google Tag Manager**. It lets Claude Code, Claude Desktop, Cursor, Codex and any MCP client audit a container, validate GA4 / Google Ads / Meta tracking, diff a workspace against the live version, export an importable container JSON and, when you opt in, apply a reviewed set of changes inside a workspace. It never publishes. Versions and publishing stay in the GTM UI, after a human has looked at the workspace in Preview. ## What it does - **Inventory**: accounts, containers, workspaces, versions, tags, triggers, variables, and any single entity in full. - **Audit** (`gtm_audit`): tags without triggers, paused tags, Custom HTML risks, Google tag without Measurement ID, GA4 events without name or Measurement ID, missing Consent Mode checks, references to deleted variables, duplicated tags, orphan triggers, unused variables, duplicated and default names. HTML plus JSON report, in English or Italian. - **Tracking validation** (`gtm_tracking_validation`): GA4 events per Measurement ID with their parameters, missing ecommerce parameters (`purchase`, `begin_checkout`, `add_to_cart`, `view_item`, `generate_lead`), Google Ads conversions and Conversion Linker, Meta pixels, server-side tagging detection (also through "Google tag: Configuration settings" variables). - **Diff** (`gtm_diff`): live version vs workspace, or any two versions, with the fields that changed and their before/after values. - **Export** (`gtm_export`): a file in GTM's own export format, importable from Admin > Import container. - **Write mode** (opt-in): create a workspace, create / update …
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.