Connect the Google Tag Manager MCP server to your AI agent Open source, MIT, on npm. Setup instructions for Claude, Cursor and Codex are in the repository; adoption questions — Telegram. GitHub repository Telegram

Google Tag Manager MCP capabilities

This catalog contains 19 public pages—one for every registered MCP tool in mcp-google-tagmanager. Each page starts with the user's task, explains the result, and states whether the call changes real data.

Use this catalog to choose a ready-made capability. Full parameter schemas and API response details remain in the technical reference.

Containers

  • Create a container — Creates a new container in a GTM account. Impact: changes data.
  • Get a container — Gets one container by account id + container id. Impact: read-only.
  • List containers — Lists the containers of a GTM account. Impact: read-only.

Tags, triggers and variables

  • Create a tag, trigger or variable — Creates a tag, trigger or variable in a workspace. Impact: changes data.
  • Delete a tag, trigger or variable — Deletes a tag, trigger or variable by its API path. Impact: destructive operation.
  • Get any resource by path — Generic getter for any GTM resource by its API-relative path — tags, triggers, variables, versions, containers, workspaces. Impact: read-only.
  • List tags — Lists the tags of a workspace. Impact: read-only.
  • List triggers — Lists the triggers of a workspace. Impact: read-only.
  • List variables — Lists the user-defined variables of a workspace (built-in variables live in manage_built_in_variables). Impact: read-only.
  • Update a tag, trigger or variable — Updates a tag, trigger or variable by its API path. Impact: destructive operation.

Versions and publishing

Workspaces

  • Create a workspace — Creates a new workspace in a container — an isolated draft where tags, triggers and variables are edited before being compiled into a version. Impact: changes data.
  • Get a workspace — Gets one workspace by account id + container id + workspace id. Impact: read-only.
  • List workspaces — Lists the workspaces of a container. Impact: read-only.

Accounts

  • Get a GTM account — Gets one Google Tag Manager account by id. Impact: read-only.
  • List GTM accounts — Lists all Google Tag Manager accounts the authorized user can access. Impact: read-only.

Built-in variables

Additional API methods

  • Raw Tag Manager API call — Escape hatch to call any Google Tag Manager API v2 path directly, for endpoints without a dedicated tool (environments, folders, templates, zones, workspace :sync / :quick_preview, version_headers, ...). Impact: destructive operation.

For maintainers and publishers