Google Tag Manager MCP server
Inspect Google Tag Manager tags, triggers and workspaces through MCP. Compare a draft with the published container before approving changes.
Choose your AI assistant
What can you do with Google Tag Manager?
LoomaScale’s Model Context Protocol (MCP) server gives your assistant tools to work with Google Tag Manager using the access you grant.
What you need before you start
Use a Google identity with access to the intended GTM container. Identify the public GTM- container ID; editing and publishing require the corresponding container permissions.
How to read the report
Begin with a configuration audit of the published container. Inspect tags and triggers for specific findings, and report each finding's confidence. Runtime firing, consent and site installation still need page-level verification.
See it in action
- You
- Is my purchase tag in the published container?
- LoomaScale
A purchase tag exists in the draft workspace but is absent from the live version. Check the published version and use Preview to test the trigger.
Set up the connection
- Open Connections in LoomaScale and authorize Google Tag Manager with a login that can access the data you want to use. Open LoomaScale connections
- Follow the setup guide for your assistant and authorize LoomaScale in the browser. Choose your AI assistant
- Run a prompt below and check the first result before continuing.
Remote MCP endpoint
For manual setup, add this URL as a remote HTTP server in your MCP client and complete the OAuth sign-in.
https://api.loomascale.com/mcp/gtmWhat should you ask first?
Use LoomaScale to call gtm_list_containers. Show container names, public GTM IDs and API paths. Ask which container to inspect. Read its live version and list workspaces. Do not edit, create versions or publish.
Audit the selected GTM container's published configuration through LoomaScale. List tracking findings with their confidence and relevant tags or triggers. Identify any unpublished workspaces separately. State live version ID and whether evidence was cached. Explain which findings need Preview or runtime verification. Do not edit or publish.
Questions people ask before they start
What should I check first?
Confirm the container and whether the evidence describes the published version or a named workspace. A draft tag is not proof that the same tag is live.
Who controls access to the data?
Your provider login determines which accounts or resources LoomaScale can reach. Review the permissions during sign-in. You can disconnect the source in LoomaScale.