Prepared customer guide · Updated 10 October 2026
Google Tag Manager MCP installation
Check access
- Buyer / billing owner
- Manages the purchase and billing. A company purchase alone does not give this person permission to use the MCP.
- Company / customer account
- Links the product, paid access period and personal licences. Your confirmed membership must match the company that holds the licence.
- Personal licence user
- Signs in with their own confirmed portal account. An active, paid licence for this exact Google service must be assigned to you. Buyer and user can be the same person; the assignment is still required.
Your Google account must have read access to the intended Tag Manager container. You need its API path with account and container IDs, rather than just the public GTM-… identifier.
You also need Codex CLI or Claude Code installed and set up with your own account. The AI client and its usage are not included in this connection.
Connect Google in the portal
Use your existing invitation or portal account. If your personal licence is missing, clarify its assignment with your company’s billing owner.
Open portal sign-inSign in with your personal account
Open “Connect your Google services”. Choose your company under “Workspace” and the assigned product under “Google service”. If no paid access is shown, resolve your licence and membership first.
Check the existing Google connection
Use a matching connection marked “Connected”. If none exists, choose “Connect with Google” and your authorized Google account. Leave “Allow changes too” off for this setup. If the portal reports incomplete setup, ONE LOOP must first confirm its configuration.
Select data sources deliberately
Choose “Load options from Google”. Select only the required data sources and choose “Save selection”. Use “Load more” to see more. New sources are not automatically authorized for your AI client.
After “Load options from Google”, choose the “Tag Manager account” first. Then select the container under “Allow access to Tag Manager containers” and save. Its full key is accounts/…/containers/….
Google permissions and personal client permissions
The module’s Google read scope is listed below; openid identifies the account. Previously granted permissions for the same Google account may appear together on Google’s consent screen. The actual existing permission may therefore exceed this single read scope. Do not approve an unexplained expansion.
- Google scope for reading
https://www.googleapis.com/auth/tagmanager.readonly- Personal MCP read scope
mcp:gtm:read
This setup does not publish tags. The MCP contract exposes no container publication, synchronization or version creation. The first read needs no write permission.
Set up your AI client
Copy the “MCP server address” from the portal’s “Connect your assistant” section. It must match the module address below. No token, API key or customer number belongs in the URL. At personal sign-in, check the portal address, client, return destination, module and selected sources; approve only the required read access.
Codex CLI
Run in your own device’s terminal with Codex installed. Then check /mcp in a Codex chat.
codex mcp add one-loop-gtm --url https://mcp.one-loop.de/google-tag-manager
codex mcp login one-loop-gtm --scopes mcp:gtm:read --oauth-client-registration dcrOfficial Codex MCP guideOfficial Codex CLI reference
Claude Code
Run in the intended project folder with Claude Code installed. Then open Claude Code, enter /mcp and start authentication for this server.
claude mcp add --transport http --scope local one-loop-gtm https://mcp.one-loop.de/google-tag-managerOfficial Claude Code MCP guide
Review the requested permissions before “Allow access”. If a client also requests writes, decline and clarify compatibility; do not expand your Google permissions. Restart sign-in when it expires.
Check addresses and mapping
- MCP endpoint / OAuth resource
https://mcp.one-loop.de/google-tag-manager- Sign-in provider / OAuth issuer
https://billing.one-loop.de- Portal module
google_tag_manager- Google data-source key
accounts/…/containers/…
The OAuth resource is the full module URL, not your Google data-source key. The website uses google-analytics-4 for GA4, while its endpoint is /google-analytics. The shared /mcp address does not belong to these four modules.
Check the first read
Use the exact key saved in the portal. Have your client confirm the data source before reading it. This read changes no Google configuration.
- Read tool
gtm_get_container- Parameter for your data source
resource_key
Suggested first chat
Use ONE LOOP GTM. Ask me for the full accounts/…/containers/… key selected in my portal, then call gtm_get_container once with that resource_key. Show only the container. Do not change workspaces, tags, triggers or variables, or publish anything.
Expect the selected container with its path and metadata. gtm_list_containers shows only your approved selection.
Disconnect access
Choose the revocation that matches your goal. A client authorization, a module connection and shared Google permission are different forms of access. Disconnecting does not cancel a subscription.
Revoke one personal AI client
Open “Your AI clients” in the portal. Compare client name, Google service, data sources and connection date. Choose “Revoke access” for the matching entry and confirm. The list must then show “Revoked”. Your Google connection and other personal permissions remain; this access requires a new sign-in.
Disconnect this Google module
Choose “Disconnect this module” on the matching Google connection and confirm. Its AI clients lose access. If “Disconnection pending” appears, ONE LOOP has already blocked access but Google disconnection is not yet confirmed. Use “Finish disconnecting” and check again.
Disconnect shared Google permission
Only for this goal, choose “Disconnect all linked modules”. Review the affected connections first and confirm “Disconnect listed connections”. This affects the shared Google permission of the listed modules; it replaces neither subscription management nor an individual client revocation.
After portal revocation, you can remove the stored client sign-in from your device. This does not replace confirming revocation in the portal.
Codex CLI
codex mcp logout one-loop-gtmClaude Code
claude mcp remove --scope local one-loop-gtmResolve errors
- Account visible, container missing
- Select the Tag Manager account after loading so its containers can be retrieved. Check your container read permissions in Google. Use the saved API path; a GTM-… identifier or workspace path does not match gtm_get_container.
- No paid access / subscription_required
- Check the product, customer account, confirmed membership and your personal licence with the billing owner. A purchase for someone else or an active company invoice is insufficient. Resolve the existing purchase first if payment status is unclear.
- No data source / account_not_allowed / scope_missing
- Check the Google account, its existing permissions and the saved resource selection. A source must be selected both in the Google connection and the personal client permission. Authorize the client again after changing the selection; do not grant unrelated resources.
- Expired login / invalid_grant / invalid_target
- Restart personal client sign-in instead of replaying old callback links. Compare the module URL and issuer with this guide. If the portal says Google re-authentication is required, resolve that connection first. Do not share sign-in or callback URLs with support.
- authorization_unavailable / rate limit / timeout
- For a limit, wait the displayed interval and retry only the small read. If availability problems recur or operator configuration is missing, have ONE LOOP check the service. Do not repeat a write that may already have executed.
For a targeted investigation
Keep the Google service, client and version, affected step, time and displayed error code ready; add a displayed request ID. Share no tokens, passwords, callback URLs or customer data. Licence questions go to your company’s known billing owner. A verified MCP technical support contact is still missing here; use your existing agreed ONE LOOP contact, if available.