54
/ 100
1 month ago
glama

Samarth GTM MCP Server

Production-grade MCP server for the Google Tag Manager API v2 with read-only GA4 (Admin + Data API) tooling. 107 tools covering the full GTM surface, including server-side containers. Ships read-only: writes, publishes, and deletes are each gated behind separate opt-in flags, every mutation requires per-call confirmation, and a dry-run mode simulates changes. Includes container audits

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
⚠️
Known vulnerabilities in dependencies: 3 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
⚠️
Tests do not pass
Either the test suite is broken or the code regressed. Either way the published behaviour can’t be verified by the publisher’s own tests.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
🔐
You'll be asked for 6 credentials: GOOGLE_CLIENT_SECRET, GOOGLE_OAUTH_CLIENT_SECRET, PORTAL_GOOGLE_OAUTH_CLIENT_SECRET, PORTAL_SESSION_SECRET, RUNTIME_WORKER_TOKEN, SESSION_SECRET
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies3 high2 low

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

high@modelcontextprotocol/sdk@1.17.4GHSA-345p-7cg4-v4c7

@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse

high@modelcontextprotocol/sdk@1.17.4GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@1.17.4GHSA-w48q-cv73-mx4w

Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default

lowexpress@4.18.2GHSA-qw6h-vgh9-j6wx

express vulnerable to XSS via response.redirect()

lowexpress@4.18.2GHSA-rv95-896h-c2vc

Express.js Open Redirect in malformed URLs

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configGOOGLE_CLIENT_IDEdit .env — at minimum add and GOOGLE_CLIENT_SECRET
🔐 secretGOOGLE_CLIENT_SECRETEdit .env — at minimum add GOOGLE_CLIENT_ID and
configGOOGLE_OAUTH_CLIENT_ID... GOOGLE_OAUTH_CLIENT_SECRET=... npx -y -p samarth-gtm-mcp samarth-gtm-auth
🔐 secretGOOGLE_OAUTH_CLIENT_SECRETGOOGLE_OAUTH_CLIENT_ID=... =... npx -y -p samarth-gtm-mcp samarth-gtm-auth
configGOOGLE_OAUTH_REDIRECT_URI
configPORTGTM_MCP_HTTP_PORT 3001 HTTP server port (http transport only; falls back to )
configPORTAL_GOOGLE_OAUTH_CLIENT_ID
🔐 secretPORTAL_GOOGLE_OAUTH_CLIENT_SECRET
configPORTAL_GOOGLE_OAUTH_REDIRECT_URI
configPORTAL_PUBLIC_URL
🔐 secretPORTAL_SESSION_SECRET
configRUNTIME_WORKER_ALLOWLIST
configRUNTIME_WORKER_MAX_URLS
configRUNTIME_WORKER_MAX_WAIT
configRUNTIME_WORKER_MODE
configRUNTIME_WORKER_TIMEOUT
🔐 secretRUNTIME_WORKER_TOKEN
🔐 secretSESSION_SECRET
configVERCEL
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 4 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/samarthanalytics-sj-samarth-analytics-mcp-ka7c5u)](https://m8ven.ai/mcp/samarthanalytics-sj-samarth-analytics-mcp-ka7c5u)
commit: 004b192061e452fe244e5b8b1ba9ef470c99554f
code hash: cb632ec52e47e4f50f9008094868fb2ce05f37c6fda2f1364030a4b211ab1339
verified: 6/15/2026, 12:57:36 PM
view raw JSON →