An MCP server for Google Tag Manager. Connect it to your LLM, authenticate once, and start managing GTM through natural language.
MCPpedia last refreshed this data
Gtm MCP Server is an MCP server that an MCP server for Google Tag Manager. Connect it to your LLM, authenticate once, and start managing GTM through natural language. Its tool list has not been published yet over http, requires no API key, and scores 77/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"gtm": {
"url": "https://mcp.gtmeditor.com/authorize"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Let AI manage your Google Tag Manager containers.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in marketing / analytics
Search Console, Google Analytics and keyword data for your AI agent.
DataForSEO API modelcontextprotocol server
Ask your agent about your own Apple Health data: 194 metrics, 22 tools, local, 0 deps.
Newsletters where you pay for the emails you send, not for dormant subscribers, at a fraction of the price of beehiiv and the like. Open source: self-host it, or use mailcheap.ai.
MCP Security Weekly
Get CVE alerts and security updates for Gtm Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
[!IMPORTANT]
The hosted instance at https://mcp.gtmeditor.com will be shut down on November 30, 2026. See #139 for details. Thanks to everyone who used it!
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 confirmation.
Use the hosted server at:
https://mcp.gtmeditor.com
The server supports browser-based Google OAuth for individual users and service-account authentication for self-hosted automation.
| Item | Current state |
|---|---|
Version in server.json | 1.13.0 |
| Transport | MCP Streamable HTTP, or stdio for local service-account use |
| Runtime tools | 64 GTM tools by default; 94 with GTM_TOOL_GROUPS=all, plus 2 utility tools |
| MCP resources | 8 resource definitions |
| MCP prompts | 6 prompts |
| Official GTM API coverage | 101 of 106 methods |
| Hosted endpoint | https://mcp.gtmeditor.com |
The project implements 101 methods from Google's 106-method GTM v2 discovery surface. The five accounts.user_permissions methods are intentionally excluded because granting and revoking GTM access are security-related and it shouldn't be manager by an LLM.
Add the hosted URL as a remote HTTP MCP server. The client should discover the OAuth metadata, open Google sign-in, and reconnect with the issued bearer token.
claude mcp add --transport http gtm https://mcp.gtmeditor.com
gemini mcp add --transport http gtm https://mcp.gtmeditor.com
Gemini CLI can also use this settings.json entry:
{
"mcpServers": {
"gtm": {
"httpUrl": "https://mcp.gtmeditor.com"
}
}
}
Add the following to .cursor/mcp.json:
{
"mcpServers": {
"gtm": {
"url": "https://mcp.gtmeditor.com"
}
}
}
Add a custom or remote MCP connection in the client and use
https://mcp.gtmeditor.com as the server URL. Product menus change more often
than this server, so refer to the client's current MCP connection instructions
if the label differs.
After connecting, try:
List my GTM accounts, containers, and workspaces. Do not make changes.
The Google account used during OAuth determines which GTM accounts the server can access.
list_accounts, list_containers, and list_workspaces to discover
IDs. Do not guess IDs.audit_container prompt.get_workspace_status and resolve conflicts before versioning.create_version to snapshot the workspace.get_version.publish_version with confirm: true only when the selected version
is ready to go live.get_live_version.Example requests: