Samarth Gtm MCP
io.github.samarthanalytics-sj/samarth-gtm-mcp
v1.19.0Updated Jun 12, 2026stdio · npm
Google Tag Manager + read-only GA4 MCP server. Read-only by default, gated writes, audits.
Install
Needs 1 secret. Replace 2 placeholders with your own values.
Run in your terminal. Replace 2 placeholders.
claude mcp add samarth-gtm-mcp -e 'GOOGLE_OAUTH_CLIENT_ID=<your-google-oauth-client-id>' -e 'GOOGLE_OAUTH_CLIENT_SECRET=<your-google-oauth-client-secret>' -- npx -y [email protected]Configuration
5 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
GOOGLE_OAUTH_CLIENT_SECRETEnv var· required· secretYour Google OAuth 2.0 client secretGOOGLE_OAUTH_CLIENT_IDEnv var· requiredYour Google OAuth 2.0 client ID (Desktop app type)GTM_MCP_ENABLE_WRITESEnv var· optionalSet to 'true' to allow create/update operations (default: read-only)GTM_MCP_ENABLE_PUBLISHEnv var· optionalSet to 'true' to allow publish operations (default: disabled)GTM_MCP_ENABLE_DELETESEnv var· optionalSet to 'true' to allow delete operations (default: disabled)
Links
Listed in the official MCP Registry since Jun 12, 2026. Mirrored daily; last checked Nov 26, 2026.