Wascer GTM MCP Server
Provides tools for managing Google Tag Manager accounts, containers, workspaces, tags, triggers, variables, versions, built-in variables, and server-side clients, including operations like create, get, list, update, remove, revert, publish, and more.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Wascer GTM MCP ServerList all my Google Tag Manager accounts."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Wascer GTM MCP Server
MCP server that allows AI assistants (Claude, Cursor, etc.) to manage Google Tag Manager using natural language.
How to connect
With Service Account (recommended)
Claude Desktop
Settings → Developer → Edit Config:
{
"mcpServers": {
"wascer-gtm": {
"command": "bash",
"args": [
"-c",
"npx -y mcp-remote https://gtm-mcp.wascer.com/mcp --header \"X-GTM-Service-Account: $(base64 -w 0 $GTM_SERVICE_ACCOUNT_FILE)\""
],
"env": {
"GTM_SERVICE_ACCOUNT_FILE": "/path/to/service-account.json"
}
}
}
}Cursor
Settings → MCP → Add Server:
{
"mcpServers": {
"wascer-gtm": {
"command": "bash",
"args": [
"-c",
"npx -y mcp-remote https://gtm-mcp.wascer.com/mcp --header \"X-GTM-Service-Account: $(base64 -w 0 $GTM_SERVICE_ACCOUNT_FILE)\""
],
"env": {
"GTM_SERVICE_ACCOUNT_FILE": "/path/to/service-account.json"
}
}
}
}VS Code
Add to .vscode/mcp.json or user settings:
{
"mcpServers": {
"wascer-gtm": {
"command": "bash",
"args": [
"-c",
"npx -y mcp-remote https://gtm-mcp.wascer.com/mcp --header \"X-GTM-Service-Account: $(base64 -w 0 $GTM_SERVICE_ACCOUNT_FILE)\""
],
"env": {
"GTM_SERVICE_ACCOUNT_FILE": "/path/to/service-account.json"
}
}
}
}Claude Code
claude mcp add wascer-gtm \
-e GTM_SERVICE_ACCOUNT_FILE="/path/to/service-account.json" \
-- bash -c 'npx -y mcp-remote https://gtm-mcp.wascer.com/mcp --header "X-GTM-Service-Account: $(base64 -w 0 $GTM_SERVICE_ACCOUNT_FILE)"'Just replace
/path/to/service-account.jsonwith the actual path to your Service Account JSON file. The base64 encoding is handled automatically.
Without Service Account
If you don't have a Service Account, the MCP will use your Google OAuth login instead. You'll have access to GTM accounts that your Google account has permission on.
Claude Desktop / Cursor / VS Code
{
"mcpServers": {
"wascer-gtm": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://gtm-mcp.wascer.com/mcp"]
}
}
}Claude Code
claude mcp add wascer-gtm -- npx mcp-remote https://gtm-mcp.wascer.com/mcpWhen connecting, the browser opens for Google login. After authenticating, the tools become available.
Related MCP server: unboundai-gtm-mcp-server
What you can do
Using natural language, you can ask the AI to:
List GTM accounts and containers
Create web and server-side containers
Create and edit tags, triggers and variables
Enable built-in variables (Page URL, Event, Click ID, etc.)
Create server-side clients (GA4 client, etc.)
Create and publish versions
Usage example
In my GTM account, create a web container called "my-site" with:
- GA4 ID variable with value G-XXXXXXXX
- All Pages trigger
- GA4 Configuration tag pointing to the server
- Publish itThe AI executes all operations automatically via the Google Tag Manager API.
Available tools
Tool | Operations | Description |
| get, list, update | Manage GTM accounts |
| create, get, list, update, remove, snippet | Manage containers (web & server) |
| create, get, list, update, remove, createVersion, getStatus, sync | Manage workspaces and create versions |
| create, get, list, update, remove, revert | Manage tags |
| create, get, list, update, remove, revert | Manage triggers |
| create, get, list, update, remove, revert | Manage variables |
| get, live, publish, remove, setLatest, undelete, update | Manage and publish versions |
| create, list, remove, revert | Enable/disable built-in variables |
| create, get, list, update, remove, revert | Manage server-side clients |
Authentication
Google OAuth (default)
When connecting, you log in with your Google account. The MCP accesses GTM accounts that your account has permission on. No additional configuration needed.
Service Account (optional)
For platform-level access (e.g. managing client accounts), point to your Service Account JSON file in the MCP configuration (as shown in the connection examples above). The file is read locally, base64 encoded automatically, and sent via HTTP header — it never appears in chat and is never sent to the LLM.
How to get a Service Account JSON
Go to Google Cloud Console → IAM & Admin → Service Accounts
Create a Service Account (or use an existing one)
Create a JSON key and download it
Save the JSON file somewhere on your machine (e.g.
~/keys/service-account.json)Use the file path in the
GTM_SERVICE_ACCOUNT_FILEenv var in your MCP configIn Google Tag Manager, add the SA email as an admin on the accounts you want to manage
Troubleshooting
Reset authentication
rm -rf ~/.mcp-authRestart your MCP client to re-login.
"Access blocked" on Google login
Make sure your Google account has access to Tag Manager and the OAuth app has GTM scopes enabled.
Tools not showing up
Use a short server name (e.g. wascer-gtm). Some clients have a 60-character limit for name + tool.
License
Apache-2.0
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAn MCP Server that provides a conversational interface to Google Tag Manager API, allowing users to manage tags, triggers, variables, and containers through natural language.Last updated
- AlicenseAqualityDmaintenanceMCP server for Google Tag Manager API, enabling users to manage containers, tags, and triggers through natural language using Google Application Default Credentials.Last updated1841Apache 2.0
- AlicenseAqualityAmaintenanceMCP server for Google Tag Manager and GA4, enabling tag management, consent auditing, workspace versioning, and analytics reporting through natural language.Last updated18642MIT
- Alicense-qualityDmaintenanceA unified MCP server that gives AI assistants direct access to Google Analytics 4, Google Search Console, Google Ads and Google Merchant Center data using OAuth2 user credentials.Last updatedMIT
Related MCP Connectors
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/soureiBR/wascer-gtm-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server