Google Tag Manager MCP Server
This is PWD's internal Model Context Protocol (MCP) server for the Google Tag Manager API. It lets Claude and other MCP clients read and manage GTM accounts, containers, workspaces, tags, triggers and variables — using your own Google sign-in.
Access is restricted to @pwd.com.au Google accounts. You will only ever see the GTM accounts and containers your own Google account already has permission to access.
Connect from Claude Code
claude mcp add --transport http gtm-mcp https://gtm-mcp.pwd.com.au/mcp
Your next session will prompt you to authenticate — complete the Google sign-in in the browser window that opens.
Connect from Claude Desktop
Open Settings → Developer → Edit Config and add:
{
"mcpServers": {
"gtm-mcp": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://gtm-mcp.pwd.com.au/mcp"]
}
}
}
Restart Claude Desktop. A browser window will open for the Google sign-in; after you approve, the GTM tools appear automatically.
Connect from claude.ai
In a Team workspace, an admin can add it under Settings → Connectors → Add custom connector,
with the URL https://gtm-mcp.pwd.com.au/mcp.
Troubleshooting
If a connection gets stuck (mcp-remote caches credentials in ~/.mcp-auth), clear the cache and restart your client:
rm -rf ~/.mcp-auth
To fully disconnect your Google session from this server, run the gtm_remove_session tool
from your MCP client before removing the server entry.