Loading MCP server directory, please wait...
Google Tag Manager + read-only GA4 MCP server. Read-only by default, gated writes, audits.
npx @getmcp/cli add io.github.samarthanalytics-sj/samarth-gtm-mcpRequires Node.js 18+. Community-contributed server. Review source before installing.
GOOGLE_OAUTH_CLIENT_IDYour Google OAuth 2.0 client ID (Desktop app type)
GOOGLE_OAUTH_CLIENT_SECRETYour Google OAuth 2.0 client secret
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"io.github.samarthanalytics-sj/samarth-gtm-mcp": {
"command": "npx",
"args": [
"-y",
"samarth-gtm-mcp"
],
"env": {
"GOOGLE_OAUTH_CLIENT_ID": "",
"GOOGLE_OAUTH_CLIENT_SECRET": "",
"GTM_MCP_ENABLE_WRITES": "",
"GTM_MCP_ENABLE_PUBLISH": "",
"GTM_MCP_ENABLE_DELETES": ""
}
}
}
}