samarth-gtm-mcp
Google Tag Manager + read-only GA4 MCP server. Read-only by default, gated writes, audits.
Documentation & Preview
{ "mcpServers": { "mcp-samarth-gtm-mcp-6de566248d00d32f1768": { "command": "npx", "args": [ "-y", "--package", "samarth-gtm-mcp@1.19.0", "samarth-gtm-mcp" ], "env": { "GOOGLE_OAUTH_CLIENT_ID": "${ENV_GOOGLE_OAUTH_CLIENT_ID}", "GOOGLE_OAUTH_CLIENT_SECRET": "${ENV_GOOGLE_OAUTH_CLIENT_SECRET}", "GTM_MCP_ENABLE_WRITES": "${ENV_GTM_MCP_ENABLE_WRITES}", "GTM_MCP_ENABLE_PUBLISH": "${ENV_GTM_MCP_ENABLE_PUBLISH}", "GTM_MCP_ENABLE_DELETES": "${ENV_GTM_MCP_ENABLE_DELETES}" } } }, "setup": { "fields": [ { "id": "ENV_GOOGLE_OAUTH_CLIENT_ID", "label": "GOOGLE_OAUTH_CLIENT_ID", "description": "Your Google OAuth 2.0 client ID (Desktop app type)", "required": true, "secret": false, "default": "" }, { "id": "ENV_GOOGLE_OAUTH_CLIENT_SECRET", "label": "GOOGLE_OAUTH_CLIENT_SECRET", "description": "Your Google OAuth 2.0 client secret", "required": true, "secret": true, "default": "" }, { "id": "ENV_GTM_MCP_ENABLE_WRITES", "label": "GTM_MCP_ENABLE_WRITES", "description": "Set to 'true' to allow create/update operations (default: read-only)", "required": false, "secret": false, "default": "" }, { "id": "ENV_GTM_MCP_ENABLE_PUBLISH", "label": "GTM_MCP_ENABLE_PUBLISH", "description": "Set to 'true' to allow publish operations (default: disabled)", "required": false, "secret": false, "default": "" }, { "id": "ENV_GTM_MCP_ENABLE_DELETES", "label": "GTM_MCP_ENABLE_DELETES", "description": "Set to 'true' to allow delete operations (default: disabled)", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.samarthanalytics-sj/samarth-gtm-mcp", "registryVersion": "1.19.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.samarthanalytics-sj%2Fsamarth-gtm-mcp/versions/1.19.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "samarth-gtm-mcp", "version": "1.19.0", "integrity": "sha512-7ziSaEaS0Az74HX78a/MStZd23WKc2hWVWcvGoJ90M4fDtkpIUlnC+QMhnPL5FYxmnazmhcUWGWRA5OTEChUSA==", "registryNameMatched": "io.github.samarthanalytics-sj/samarth-gtm-mcp", "checkedAt": "2026-11-04T17:36:45.342Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }