mcpbeat Sign in

Samarth Gtm MCP Server

by samarthanalytics-sj Your server? Claim it
local only

Samarth Gtm MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 159 installs a week from npm. Last commit 5 Oct 2026.

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

Installs per day peak 771 · avg 158 · -37% w/w
a month agotoday
159
Installs / week
npm · samarth-gtm-mcp
2
Stars
0 open issues
5 Oct 2026
Last commit
88 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 3 d ago · rules 995398eba69f

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

    const child = spawn(exe, [safe], { detached: true, stdio: 'ignore' });
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

    const child = spawn(exe, [safe], { detached: true, stdio: 'ignore' });
                placeholder={t.hasWebhook ? 'New webhook URL (leave empty to keep the current one)' : 'https://hooks.slack.com/services/…'}

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch Samarth Gtm MCP and you get told the day something new turns up.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add samarth-gtm-mcp -e 'GOOGLE_OAUTH_CLIENT_ID=<GOOGLE_OAUTH_CLIENT_ID>' -e 'GOOGLE_OAUTH_CLIENT_SECRET=<GOOGLE_OAUTH_CLIENT_SECRET>' -- npx -y samarth-gtm-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "samarth-gtm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "samarth-gtm-mcp"
      ],
      "env": {
        "GOOGLE_OAUTH_CLIENT_ID": "<GOOGLE_OAUTH_CLIENT_ID>",
        "GOOGLE_OAUTH_CLIENT_SECRET": "<GOOGLE_OAUTH_CLIENT_SECRET>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.samarth-gtm-mcp]
command = "npx"
args = ["-y", "samarth-gtm-mcp"]
env = { GOOGLE_OAUTH_CLIENT_ID = "<GOOGLE_OAUTH_CLIENT_ID>", GOOGLE_OAUTH_CLIENT_SECRET = "<GOOGLE_OAUTH_CLIENT_SECRET>" }
.cursor/mcp.json
{
  "mcpServers": {
    "samarth-gtm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "samarth-gtm-mcp"
      ],
      "env": {
        "GOOGLE_OAUTH_CLIENT_ID": "<GOOGLE_OAUTH_CLIENT_ID>",
        "GOOGLE_OAUTH_CLIENT_SECRET": "<GOOGLE_OAUTH_CLIENT_SECRET>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "samarth-gtm-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "samarth-gtm-mcp"
      ],
      "env": {
        "GOOGLE_OAUTH_CLIENT_ID": "<GOOGLE_OAUTH_CLIENT_ID>",
        "GOOGLE_OAUTH_CLIENT_SECRET": "<GOOGLE_OAUTH_CLIENT_SECRET>"
      }
    }
  }
}

Put your own values in place of <GOOGLE_OAUTH_CLIENT_ID> (Your Google OAuth 2.0 client ID (Desktop app type)), <GOOGLE_OAUTH_CLIENT_SECRET> (Your Google OAuth 2.0 client secret). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: 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)).

Alternatives to Samarth Gtm MCP

same job, measured the same way
gws-admin-mcp
by antct11

Safe Google Workspace admin for AI agents: read-only by default, confirm-gated deletes, audit log.

local only
Microsoft Ads MCP by AdPlug
by danielpopamd

Microsoft Ads MCP server: 11 tools for search, PMax, Google Ads imports. Read-only by default.

answering
Google Analytics 4
by getmcpads

Google Analytics 4 MCP server: 27 read tools, no write tools.

571 installs/wk local only
Cortexpad
by cortexpad

Google Keep-style notes app with an MCP server for AI agents to read/write notes.

answering
Google Ads
by getmcpads

Google Ads MCP server: 35 read tools, 13 opt-in preview-first writes.

637 installs/wk local only
NordicMCP — Google Mail
by nordicmcp

Hosted Gmail MCP server: read, search, and manage messages. Google OAuth2 handled by NordicMCP.

answering
MCP Gsheets
by freema

MCP server for Google Sheets API — read, write, format, batch operations.

6 236 installs/wk local only
MCP Google Analytics
by leonardosepulvedat

GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools.

1 448 installs/wk local only

Samarth Gtm MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Samarth Gtm MCP?
Samarth Gtm MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package samarth-gtm-mcp was installed 159 times last week.
How do I connect Samarth Gtm MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls samarth-gtm-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Samarth Gtm MCP?
The npm package samarth-gtm-mcp was installed 159 times in the last week. Week over week that is -37%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Samarth Gtm MCP open source?
Yes — it is published under the MIT licence, written in TypeScript and 2 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.