Samarth-gtm-mcp Server

Google Tag Manager + read-only GA4 MCP server. Read-only by default, gated writes, audits.

Local serverstdio

What is the Samarth-gtm-mcp Server?

Samarth-gtm-mcp is an MCP integration. Google Tag Manager + read-only GA4 MCP server. Read-only by default, gated writes, audits.

Packages and local setup

The published npm package is samarth-gtm-mcp, version 1.19.0. Its declared MCP transport is stdio.

The package declares GOOGLE_OAUTH_CLIENT_ID (required): Your Google OAuth 2.0 client ID (Desktop app type); GOOGLE_OAUTH_CLIENT_SECRET (required): Your Google OAuth 2.0 client secret; GTM_MCP_ENABLE_WRITES: Set to 'true' to allow create/update operations (default: read-only); GTM_MCP_ENABLE_PUBLISH: Set to 'true' to allow publish operations (default: disabled); GTM_MCP_ENABLE_DELETES: Set to 'true' to allow delete operations (default: disabled).

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 1.19.0 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related developer tools MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
GOOGLE_OAUTH_CLIENT_IDYour Google OAuth 2.0 client ID (Desktop app type)Yes
GOOGLE_OAUTH_CLIENT_SECRETYour Google OAuth 2.0 client secretYes
GTM_MCP_ENABLE_WRITESSet to 'true' to allow create/update operations (default: read-only)Optional
GTM_MCP_ENABLE_PUBLISHSet to 'true' to allow publish operations (default: disabled)Optional
GTM_MCP_ENABLE_DELETESSet to 'true' to allow delete operations (default: disabled)Optional