GTM Editor MCP Server

GTM MCP Server connects MCP clients to the Google Tag Manager API. It can inspect containers, create and update workspace entities, create versions, and publish a selected version after explicit…

Local server

What is the GTM Editor MCP Server?

GTM Editor is an MCP project maintained in the sprawz/gtm-mcp-server repository. The maintainer describes its purpose as “GTM MCP Server connects MCP clients to the Google Tag Manager API. It can inspect containers, create and update workspace entities, create versions, and publish…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
pingTest MCP connectivity
auth_statusCheck whether the current request is authenticated
list_accountsList accessible GTM accounts
update_accountRename an account
list_containersList containers and their public IDs and settings
lookup_containerFind a container by destination ID or GTM public tag ID
get_container_snippetGet a web install snippet or server-container configuration
create_containerCreate a web, app, AMP, or server container
update_containerRename a container while preserving its other settings
delete_containerPermanently delete a container; requires confirm: true
combine_containersMerge a source container into a target; requires confirm: true
move_tag_idMove a tag ID into a new container; requires confirmation and terms acceptance
list_workspacesList workspaces in a container
create_workspaceCreate a workspace
get_workspaceGet workspace metadata and its current fingerprint
update_workspaceUpdate selected workspace fields
delete_workspaceDelete a workspace; requires confirm: true
quick_preview_workspaceCompile an ephemeral preview without saving or publishing
get_workspace_statusShow pending changes and merge conflicts
bulk_update_workspaceApply multiple entity changes; requires confirm: true
resolve_workspace_conflictReplace a conflict with a resolved entity; requires confirm: true
sync_workspaceSynchronize with the latest container version; requires confirm: true
list_tagsList workspace tags
get_tagGet complete tag details
create_tagCreate a tag
update_tagUpdate a tag with fingerprint-based concurrency control
delete_tagDelete a tag; requires confirm: true
list_triggersList workspace triggers
get_triggerGet complete trigger details
create_triggerCreate a trigger
update_triggerUpdate a trigger with fingerprint-based concurrency control
delete_triggerDelete a trigger; requires confirm: true
list_variablesList workspace variables
get_variableGet complete variable details
create_variableCreate a variable
update_variableUpdate a variable with fingerprint-based concurrency control
delete_variableDelete a variable; requires confirm: true
list_foldersList workspace folders
get_folderGet complete folder metadata
create_folderCreate a folder
update_folderUpdate a folder with fingerprint protection
delete_folderDelete a folder; requires confirm: true
get_folder_entitiesList tags, triggers, and variables assigned to a folder
move_entities_to_folderMove tags, triggers, and variables; requires confirm: true
revert_folderDiscard workspace folder changes; requires confirm: true
list_built_in_variablesList enabled built-in variables
enable_built_in_variablesEnable built-in variable types
disable_built_in_variablesDisable built-in variable types; requires confirm: true
list_zonesList all zones across every result page
get_zoneGet boundary, child-container, and type-restriction configuration
create_zoneCreate a workspace zone
update_zoneUpdate selected fields with fingerprint concurrency control
delete_zoneDelete a zone; requires confirm: true
list_environmentsList all container environments across every result page
get_environmentGet environment configuration and authorization metadata
create_environmentCreate a user environment
update_environmentUpdate selected fields with fingerprint concurrency control
reauthorize_environmentRotate the authorization code; requires confirm: true
delete_environmentDelete a user environment; requires confirm: true
list_destinationsList Google tag destinations linked to a container
get_destinationGet a destination by its link ID
link_destinationMove a destination to a container; requires confirm: true
list_google_tag_configsList Google tag configurations in a workspace
get_google_tag_configGet a Google tag configuration
create_google_tag_configCreate a Google tag configuration
update_google_tag_configUpdate a configuration with fingerprint protection
delete_google_tag_configDelete a configuration; requires confirm: true
list_templatesList custom templates
get_templateGet template metadata and template code
create_templateCreate a custom template from .tpl code
update_templateUpdate template code
delete_templateDelete an unused template; requires confirm: true
import_gallery_templateImport a Community Template Gallery template
get_tag_templatesReturn compact GA4 and Custom HTML input examples
get_trigger_templatesReturn compact trigger input examples
list_clientsList server-container clients
get_clientGet a client
create_clientCreate a client
update_clientUpdate a client
delete_clientDelete a client; requires confirm: true
list_transformationsList transformations
get_transformationGet a transformation
create_transformationCreate a transformation
update_transformationUpdate a transformation
delete_transformationDelete a transformation; requires confirm: true
list_versionsList all saved version headers across every result page
get_latest_version_headerGet the latest saved header, which may differ from live
get_versionGet a saved version and its complete entity collections
get_live_versionGet the currently published version and its entities
create_versionCreate a version from a conflict-free workspace
publish_versionPublish a selected version; requires confirm: true
update_versionUpdate a saved version's name or description
delete_versionSoft-delete a version; requires confirm: true
undelete_versionRestore a soft-deleted version; requires confirm: true
set_latest_versionMake a version Latest without publishing; requires confirm: true
revert_workspace_entityDiscard workspace changes to a built-in variable, client, tag, template, transformation, trigger, variable, or zone; requires confirm: true

How to install the GTM Editor MCP Server

{
  "mcpServers": {
    "gtm": {
      "httpUrl": "https://mcp.gtmeditor.com"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.