Connectors · Marketing & media
Google Tag Manager MCP server for AI agents.
actionlake is an MCP gateway: one remote MCP server that connects Claude and other MCP clients to Google Tag Manager and the rest of your systems. It gives your agent 106 Google Tag Manager actions (39 reads, 52 writes and 15 that wait for a confirmation) and holds the Google Tag Manager credential itself, so the agent never does. It paces Google Tag Manager's limits and records every call. Connecting Google Tag Manager needs your own Google Tag Manager OAuth app and one admin sign-in.
100,000 free calls a month. No card, no email, no password: press Start a free sandbox on the next screen and keep the key it shows you.
claude mcp add --transport http actionlake https://connect.actionlake.com/mcpdo { action: "google_tag_manager.accounts.list", intent: "check which Google Tag Manager account is connected"}# Accounts: list · read · 1 upstream call- 106actionsin one signed file
- 39readlook, never change
- 52writecreate and update
- 15wait for a yesdestructive, confirmed first
Set up
Connect Google Tag Manager in three steps.
- 01
Add actionlake to Claude.
Run the command once in Claude Code; its consent page can create a free sandbox: 100,000 calls a month, no card. In the Claude app, add a custom connector with the URL below and paste your key on the consent page. Creating a new sandbox from the Claude app is not yet tested by us.
https://connect.actionlake.com/mcp - 02
Connect Google Tag Manager.
OAuth 2.0, authorization code with PKCE. You register your own OAuth app with Google Tag Manager, an admin signs in once, and you paste the app's client id and secret and the tokens from that sign-in; actionlake renews the access token from then on. actionlake stores what you paste write-only, sealed under your tenant's key.
Before the first sign-in, Google Tag Manager needs an OAuth app of your own, registered in its developer portal. actionlake has no Google Tag Manager app to lend you.
access_tokenAccess token from one sign-in with your own OAuth apprefresh_tokenRefresh token from the same sign-in; the access token is renewed from itclient_idGoogle OAuth client id (Google Cloud console > APIs & Services > Credentials; enable the Tag Manager API on the project)client_secretGoogle OAuth client secret
account { op: "connections.requirements", service: "google_tag_manager" } # free: exactly what to paste, and what is found for you - 03
Make the first call. Check before a write.
Ask in plain words; Claude picks the action. Before anything changes,
checkvalidates the call and prices it, for free.do { action: "google_tag_manager.accounts.list" }# accounts: list · read · 1 upstream callcheck { action: "google_tag_manager.tags.create", input: { … } }# free: inputs, permissions, cost and confirmations, nothing sent
Google Tag Manager at a glance
- Sign-in
- OAuth 2.0, authorization code with PKCE. You register your own OAuth app with Google Tag Manager, an admin signs in once, and you paste the app's client id and secret and the tokens from that sign-in; actionlake renews the access token from then on.
- You provide
access_tokenrefresh_tokenclient_idclient_secret- Limits we pace to
- 5 calls a second, per connection
- API covered
- Tag Manager API v2 (Discovery revision 20261021)
tagmanager.googleapis.com - Built from
- Google Tag Manager's documentation, read 23 October 2026tagmanager.googleapis.comdevelopers.google.com
- Service file
- Version 1.0.0, signed (Ed25519)
- Cached reads
- 39 of 39 reads, for up to 2 minutes; a write clears what it affects
- Shared entities
- 3, so ask can line Google Tag Manager up with your other systems
- Data
- Processed and stored in Sydney, Australia. No US region yet
Capabilities
What an AI agent can do in Google Tag Manager.
106 actions in 18 areas. Every one carries its effect, so a key can allow the reads and hold the rest.
- 39readlook, never change
- 52writecreate and update
- 15destructivewait for a confirmation
Workspaces
113 read · 7 write · 1 destructive
Workspaces: create · Workspaces: create version · Workspaces: list · Workspaces: quick preview
Containers
94 read · 4 write · 1 destructive
Containers: list · Containers: create · Containers: combine · Containers: get
Folders
83 read · 4 write · 1 destructive
Folders: create · Folders: entities · Folders: list · Folders: get
Templates
72 read · 4 write · 1 destructive
Templates: create · Templates: import from gallery · Templates: list · Templates: get
Versions
72 read · 4 write · 1 destructive
Versions: get · Versions: live · Versions: publish · Versions: set latest
Clients
62 read · 3 write · 1 destructive
Clients: create · Clients: list · Clients: get · Clients: revert
Environments
62 read · 3 write · 1 destructive
Environments: create · Environments: list · Environments: get · Environments: reauthorize
Tags
62 read · 3 write · 1 destructive
Tags: create · Tags: list · Tags: get · Tags: revert
10 more areas · 46 actions
- Transformations 6
- Triggers 6
- Variables 6
- Zones 6
- Gtag config 5
- User permissions 5
- Built in variables 4
- Accounts 3
- Destinations 3
- Version headers 2
Top actions
The Google Tag Manager API, shaped for agents.
The ids your agent types, what each does, and the one name it shares with other systems.
| Action | What it does | Effect | Same name in |
|---|---|---|---|
google_tag_manager.accounts.listAccounts: list | Lists all GTM Accounts that a user has access to. | read | this connector |
google_tag_manager.containers.listContainers: list | Lists all Containers that belongs to a GTM Account. | read | this connector |
google_tag_manager.tags.listTags: list | Lists all GTM Tags of a Container. | read | this connector |
google_tag_manager.tags.createTags: create | Creates a GTM Tag. | write | this connector |
google_tag_manager.triggers.listTriggers: list | Lists all GTM Triggers of a Container. | read | this connector |
google_tag_manager.variables.listVariables: list | Lists all GTM Variables of a Container. | read | this connector |
google_tag_manager.triggers.createTriggers: create | Creates a GTM Trigger. | write | this connector |
google_tag_manager.workspaces.listWorkspaces: list | Lists all Workspaces that belong to a GTM Container. | read | this connector |
google_tag_manager.variables.createVariables: create | Creates a GTM Variable. | write | this connector |
google_tag_manager.containers.createContainers: create | Creates a Container. | write | this connector |
google_tag_manager.workspaces.createWorkspaces: create | Creates a Workspace. | write | this connector |
google_tag_manager.tags.deleteTags: delete | Deletes a GTM Tag. | destructive | this connector |
Try it
Prompts to paste into Claude.
Each one names the Google Tag Manager actions it will call, so you know what it reads and what it changes before you send it.
- Readread
Accounts: list in Google Tag Manager and tell me what stands out.
calls
google_tag_manager.accounts.list - Writewrite
Tags: create in Google Tag Manager. Show me exactly what you will send before you save it.
calls
google_tag_manager.tags.create
Governance for Google Tag Manager
Destructive actions wait for a yes.
15 Google Tag Manager actions are destructive. These are all of them:
- Tags: delete
google_tag_manager.tags.delete - Triggers: delete
google_tag_manager.triggers.delete - Versions: delete
google_tag_manager.versions.delete - Variables: delete
google_tag_manager.variables.delete - Containers: delete
google_tag_manager.containers.delete - Workspaces: delete
google_tag_manager.workspaces.delete - Zones: delete
google_tag_manager.zones.delete - Clients: delete
google_tag_manager.clients.delete - Folders: delete
google_tag_manager.folders.delete - Templates: delete
google_tag_manager.templates.delete - Gtag config: delete
google_tag_manager.gtag_config.delete - Environments: delete
google_tag_manager.environments.delete - Transformations: delete
google_tag_manager.transformations.delete - User permissions: delete
google_tag_manager.user_permissions.delete - Built in variables: delete
google_tag_manager.built_in_variables.delete
A destructive action runs only with confirm: true. Under the human policy the agent cannot confirm for itself: the run stops until a named person approves, in the console or from a signed link in an email. The cap on a key is refused before the call is sent, never after.
Tags: delete?
intent: the user asked me to tags: delete
account { op: "keys.create", name: "google-tag-manager-agent", allowed_actions: ["google_tag_manager.*"], cap_calls: 2000, confirm_policy: "human_for_writes", approval_rules: [ { match: "google_tag_manager.tags.delete", approver: "[email protected]" }, { match: "google_tag_manager.triggers.delete", approver: "[email protected]" }, { match: "google_tag_manager.versions.delete", approver: "[email protected]" } ]}Cost
What Google Tag Manager costs on actionlake.
Every Google Tag Manager action is one upstream call, the only thing actionlake bills. Searching, check, cost, account and any call Google Tag Manager refused with 401, 403, 429 or a 5xx are free. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.
- 1upstream call per actionall 106 Google Tag Manager actions
- 16actions pageeach page of a long list is one call
- 39reads can be cacheda cache hit costs nothing
- 100,000calls a month, freepaid plans from US$49 a month for 250,000
Action index
Every Google Tag Manager action.
106 actions by area: the id your agent calls, what it does, and its effect.
Workspaces11
google_tag_manager.workspaces.bulk_updateWorkspaces: bulk updatewritegoogle_tag_manager.workspaces.createWorkspaces: createwritegoogle_tag_manager.workspaces.create_versionWorkspaces: create versionwritegoogle_tag_manager.workspaces.deleteWorkspaces: deletedestructivegoogle_tag_manager.workspaces.getWorkspaces: getreadgoogle_tag_manager.workspaces.get_statusWorkspaces: get statusreadgoogle_tag_manager.workspaces.listWorkspaces: listreadgoogle_tag_manager.workspaces.quick_previewWorkspaces: quick previewwritegoogle_tag_manager.workspaces.resolve_conflictWorkspaces: resolve conflictwritegoogle_tag_manager.workspaces.syncWorkspaces: syncwritegoogle_tag_manager.workspaces.updateWorkspaces: updatewrite
Containers9
google_tag_manager.containers.combineContainers: combinewritegoogle_tag_manager.containers.createContainers: createwritegoogle_tag_manager.containers.deleteContainers: deletedestructivegoogle_tag_manager.containers.getContainers: getreadgoogle_tag_manager.containers.listContainers: listreadgoogle_tag_manager.containers.lookupContainers: lookupreadgoogle_tag_manager.containers.move_tag_idContainers: move tag idwritegoogle_tag_manager.containers.snippetContainers: snippetreadgoogle_tag_manager.containers.updateContainers: updatewrite
Folders8
google_tag_manager.folders.createFolders: createwritegoogle_tag_manager.folders.deleteFolders: deletedestructivegoogle_tag_manager.folders.entitiesFolders: entitiesreadgoogle_tag_manager.folders.getFolders: getreadgoogle_tag_manager.folders.listFolders: listreadgoogle_tag_manager.folders.move_entities_to_folderFolders: move entities to folderwritegoogle_tag_manager.folders.revertFolders: revertwritegoogle_tag_manager.folders.updateFolders: updatewrite
Templates7
google_tag_manager.templates.createTemplates: createwritegoogle_tag_manager.templates.deleteTemplates: deletedestructivegoogle_tag_manager.templates.getTemplates: getreadgoogle_tag_manager.templates.import_from_galleryTemplates: import from gallerywritegoogle_tag_manager.templates.listTemplates: listreadgoogle_tag_manager.templates.revertTemplates: revertwritegoogle_tag_manager.templates.updateTemplates: updatewrite
Versions7
google_tag_manager.versions.deleteVersions: deletedestructivegoogle_tag_manager.versions.getVersions: getreadgoogle_tag_manager.versions.liveVersions: livereadgoogle_tag_manager.versions.publishVersions: publishwritegoogle_tag_manager.versions.set_latestVersions: set latestwritegoogle_tag_manager.versions.undeleteVersions: undeletewritegoogle_tag_manager.versions.updateVersions: updatewrite
Clients6
google_tag_manager.clients.createClients: createwritegoogle_tag_manager.clients.deleteClients: deletedestructivegoogle_tag_manager.clients.getClients: getreadgoogle_tag_manager.clients.listClients: listreadgoogle_tag_manager.clients.revertClients: revertwritegoogle_tag_manager.clients.updateClients: updatewrite
Environments6
google_tag_manager.environments.createEnvironments: createwritegoogle_tag_manager.environments.deleteEnvironments: deletedestructivegoogle_tag_manager.environments.getEnvironments: getreadgoogle_tag_manager.environments.listEnvironments: listreadgoogle_tag_manager.environments.reauthorizeEnvironments: reauthorizewritegoogle_tag_manager.environments.updateEnvironments: updatewrite
Tags6
google_tag_manager.tags.createTags: createwritegoogle_tag_manager.tags.deleteTags: deletedestructivegoogle_tag_manager.tags.getTags: getreadgoogle_tag_manager.tags.listTags: listreadgoogle_tag_manager.tags.revertTags: revertwritegoogle_tag_manager.tags.updateTags: updatewrite
Transformations6
google_tag_manager.transformations.createTransformations: createwritegoogle_tag_manager.transformations.deleteTransformations: deletedestructivegoogle_tag_manager.transformations.getTransformations: getreadgoogle_tag_manager.transformations.listTransformations: listreadgoogle_tag_manager.transformations.revertTransformations: revertwritegoogle_tag_manager.transformations.updateTransformations: updatewrite
Triggers6
google_tag_manager.triggers.createTriggers: createwritegoogle_tag_manager.triggers.deleteTriggers: deletedestructivegoogle_tag_manager.triggers.getTriggers: getreadgoogle_tag_manager.triggers.listTriggers: listreadgoogle_tag_manager.triggers.revertTriggers: revertwritegoogle_tag_manager.triggers.updateTriggers: updatewrite
Variables6
google_tag_manager.variables.createVariables: createwritegoogle_tag_manager.variables.deleteVariables: deletedestructivegoogle_tag_manager.variables.getVariables: getreadgoogle_tag_manager.variables.listVariables: listreadgoogle_tag_manager.variables.revertVariables: revertwritegoogle_tag_manager.variables.updateVariables: updatewrite
Zones6
google_tag_manager.zones.createZones: createwritegoogle_tag_manager.zones.deleteZones: deletedestructivegoogle_tag_manager.zones.getZones: getreadgoogle_tag_manager.zones.listZones: listreadgoogle_tag_manager.zones.revertZones: revertwritegoogle_tag_manager.zones.updateZones: updatewrite
Gtag config5
google_tag_manager.gtag_config.createGtag config: createwritegoogle_tag_manager.gtag_config.deleteGtag config: deletedestructivegoogle_tag_manager.gtag_config.getGtag config: getreadgoogle_tag_manager.gtag_config.listGtag config: listreadgoogle_tag_manager.gtag_config.updateGtag config: updatewrite
User permissions5
google_tag_manager.user_permissions.createUser permissions: createwritegoogle_tag_manager.user_permissions.deleteUser permissions: deletedestructivegoogle_tag_manager.user_permissions.getUser permissions: getreadgoogle_tag_manager.user_permissions.listUser permissions: listreadgoogle_tag_manager.user_permissions.updateUser permissions: updatewrite
Built in variables4
google_tag_manager.built_in_variables.createBuilt in variables: createwritegoogle_tag_manager.built_in_variables.deleteBuilt in variables: deletedestructivegoogle_tag_manager.built_in_variables.listBuilt in variables: listreadgoogle_tag_manager.built_in_variables.revertBuilt in variables: revertwrite
Accounts3
google_tag_manager.accounts.getAccounts: getreadgoogle_tag_manager.accounts.listAccounts: listreadgoogle_tag_manager.accounts.updateAccounts: updatewrite
Destinations3
google_tag_manager.destinations.getDestinations: getreadgoogle_tag_manager.destinations.linkDestinations: linkwritegoogle_tag_manager.destinations.listDestinations: listread
Version headers2
google_tag_manager.version_headers.latestVersion headers: latestreadgoogle_tag_manager.version_headers.listVersion headers: listread
Questions
The Google Tag Manager MCP server, answered.
Is there a Google Tag Manager MCP server for Claude?
Yes. actionlake is an MCP gateway: a remote MCP server that gives Claude, or another MCP client, 106 Google Tag Manager actions across workspaces, containers, folders and templates, through the same eight tools it uses for every other connector. actionlake is independent; it is not made or endorsed by Google Tag Manager.
What do I need to connect Google Tag Manager?
Your own Google Tag Manager OAuth app, registered with Google Tag Manager (its client id and client secret), and the access and refresh tokens from one admin sign-in. actionlake has no Google Tag Manager app of its own, so this is not a one-step consent. actionlake renews the access token as it expires. The free call account { op: "connections.requirements", service: "google_tag_manager" } lists exactly what to paste.
Can an AI agent delete or change things in Google Tag Manager?
Only if its key allows it, and only with an explicit confirmation. 15 Google Tag Manager actions are destructive, including tags: delete, triggers: delete and versions: delete. Each runs only with confirm: true. Under the human confirm policy, or an approval rule on the key, the run waits until a named person approves it.
Will an AI agent use up my Google Tag Manager API limit?
actionlake paces every call to the limits in the Google Tag Manager service file: 5 calls a second per connection. Repeated reads are answered from cache (39 Google Tag Manager actions can be), which never reaches Google Tag Manager.
What does a Google Tag Manager action cost?
One upstream call, the only unit actionlake bills. A list that pages bills one call per page (16 Google Tag Manager actions page). Cache hits, searches, dry runs and calls Google Tag Manager refused with 401, 403, 429 or a 5xx are free. The Free plan includes 100,000 calls a month with no card. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.
Which Google Tag Manager API does it cover?
The Tag Manager API v2 (Discovery revision 20261021) at tagmanager.googleapis.com. It is built from Google Tag Manager's documentation as read on 23 October 2026. 106 actions in 18 areas, each one in the signed service file (version 1.0.0).
Does actionlake keep my Google Tag Manager data, and where?
actionlake processes and stores data in Sydney, Australia; there is no US region yet. Reads may be cached for up to 2 minutes, and a write clears the reads it affects. Each run's request and response is kept, sealed, for your plan's trace window: 1 day on Free, 3 days on Starter, 7 days on Pro, 14 days on Team, 30 days on Business and 30 days on Enterprise. Your Google Tag Manager credential is sealed under your tenant's key, never logged and never returned. Your traffic is not used to train models.
Which AI clients can use it?
Claude Code, tested by us end to end, and the Claude app as a custom connector, tested by us with an existing key. Other MCP clients that support remote servers over Streamable HTTP (MCP revisions 2025-06-18 and 2025-11-25) and OAuth dynamic client registration, or a bearer header, should connect the same way; we have not tested them. Or plain REST, under the same action names.
Give your agent Google Tag Manager today.
Start free - 100,000 calls/month, no card. No signup. Hard caps on every key. Cached answers are free.