PluginBench
MCP Server

io.github.samarthanalytics-sj/samarth-gtm-mcp MCP Server

io.github.samarthanalytics-sj/samarth-gtm-mcp

What is the io.github.samarthanalytics-sj/samarth-gtm-mcp MCP server?

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

How to install io.github.samarthanalytics-sj/samarth-gtm-mcp

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • GOOGLE_OAUTH_CLIENT_ID
    required

    Your Google OAuth 2.0 client ID (Desktop app type)

  • GOOGLE_OAUTH_CLIENT_SECRET
    required
    secret

    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)

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "samarth-gtm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "samarth-gtm-mcp"
      ],
      "env": {
        "GOOGLE_OAUTH_CLIENT_ID": "<YOUR_GOOGLE_OAUTH_CLIENT_ID>",
        "GOOGLE_OAUTH_CLIENT_SECRET": "<YOUR_GOOGLE_OAUTH_CLIENT_SECRET>",
        "GTM_MCP_ENABLE_WRITES": "<YOUR_GTM_MCP_ENABLE_WRITES>",
        "GTM_MCP_ENABLE_PUBLISH": "<YOUR_GTM_MCP_ENABLE_PUBLISH>",
        "GTM_MCP_ENABLE_DELETES": "<YOUR_GTM_MCP_ENABLE_DELETES>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "samarth-gtm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "samarth-gtm-mcp"
      ],
      "env": {
        "GOOGLE_OAUTH_CLIENT_ID": "<YOUR_GOOGLE_OAUTH_CLIENT_ID>",
        "GOOGLE_OAUTH_CLIENT_SECRET": "<YOUR_GOOGLE_OAUTH_CLIENT_SECRET>",
        "GTM_MCP_ENABLE_WRITES": "<YOUR_GTM_MCP_ENABLE_WRITES>",
        "GTM_MCP_ENABLE_PUBLISH": "<YOUR_GTM_MCP_ENABLE_PUBLISH>",
        "GTM_MCP_ENABLE_DELETES": "<YOUR_GTM_MCP_ENABLE_DELETES>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "samarth-gtm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "samarth-gtm-mcp"
      ],
      "env": {
        "GOOGLE_OAUTH_CLIENT_ID": "<YOUR_GOOGLE_OAUTH_CLIENT_ID>",
        "GOOGLE_OAUTH_CLIENT_SECRET": "<YOUR_GOOGLE_OAUTH_CLIENT_SECRET>",
        "GTM_MCP_ENABLE_WRITES": "<YOUR_GTM_MCP_ENABLE_WRITES>",
        "GTM_MCP_ENABLE_PUBLISH": "<YOUR_GTM_MCP_ENABLE_PUBLISH>",
        "GTM_MCP_ENABLE_DELETES": "<YOUR_GTM_MCP_ENABLE_DELETES>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "samarth-gtm-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "samarth-gtm-mcp"
      ],
      "env": {
        "GOOGLE_OAUTH_CLIENT_ID": "<YOUR_GOOGLE_OAUTH_CLIENT_ID>",
        "GOOGLE_OAUTH_CLIENT_SECRET": "<YOUR_GOOGLE_OAUTH_CLIENT_SECRET>",
        "GTM_MCP_ENABLE_WRITES": "<YOUR_GTM_MCP_ENABLE_WRITES>",
        "GTM_MCP_ENABLE_PUBLISH": "<YOUR_GTM_MCP_ENABLE_PUBLISH>",
        "GTM_MCP_ENABLE_DELETES": "<YOUR_GTM_MCP_ENABLE_DELETES>"
      }
    }
  }
}
Claude Code
claude mcp add samarth-gtm-mcp --env GOOGLE_OAUTH_CLIENT_ID=<YOUR_GOOGLE_OAUTH_CLIENT_ID> --env GOOGLE_OAUTH_CLIENT_SECRET=<YOUR_GOOGLE_OAUTH_CLIENT_SECRET> --env GTM_MCP_ENABLE_WRITES=<YOUR_GTM_MCP_ENABLE_WRITES> --env GTM_MCP_ENABLE_PUBLISH=<YOUR_GTM_MCP_ENABLE_PUBLISH> --env GTM_MCP_ENABLE_DELETES=<YOUR_GTM_MCP_ENABLE_DELETES> -- npx -y samarth-gtm-mcp

Related MCP servers

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →

Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.

45k
TypeScript
Apache-2.0
View repository →

Let AI agents manage your Puter files, websites, and serverless workers over MCP.

43k
TypeScript
AGPL-3.0
View repository →

Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.

37k
TypeScript
Apache-2.0
View repository →

Run arbitrary shell commands from an MCP-connected AI agent.

37k
TypeScript
Apache-2.0
View repository →

Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.

37k
TypeScript
Apache-2.0
View repository →
io.github.samarthanalytics-sj/samarth-gtm-mcp MCP Server | PluginBench