Samarth GTM MCP Server
Rank #8,387io.github.samarthanalytics-sj/samarth-gtm-mcp
Google Tag Manager + read-only GA4 MCP server. Read-only by default, gated writes, audits.
Samarth GTM MCP Server is a Model Context Protocol (MCP) server published by samarthanalytics-sj. It ranks #8,387 of 132,046 servers tracked on MCP Toplist, and its repository has 2 GitHub stars. Samarth GTM MCP Server is listed across 3 registries — Official MCP, PulseMCP and Glama, with 2 tracked versions. It was first listed on Jun 4, 2026 and most recently updated on Jun 12, 2026.
Ranks ahead of 123,659 of 132,046 servers on MCP Toplist.
Use Samarth GTM MCP Server
No credentials or required configuration declared — add it to your MCP client and go.
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>" -e "GTM_MCP_ENABLE_WRITES=<your GTM_MCP_ENABLE_WRITES>" -e "GTM_MCP_ENABLE_PUBLISH=<your GTM_MCP_ENABLE_PUBLISH>" -e "GTM_MCP_ENABLE_DELETES=<your GTM_MCP_ENABLE_DELETES>" -- npx -y samarth-gtm-mcpReplace each placeholder with your own value before saving.
[mcp_servers.samarth-gtm-mcp]
command = "npx"
args = ["-y", "samarth-gtm-mcp"]
[mcp_servers.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>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"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>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"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>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"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>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"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>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"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>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.samarthanalytics-sj%2Fsamarth-gtm-mcp)<a href="https://mcptoplist.com/server/io.github.samarthanalytics-sj%2Fsamarth-gtm-mcp"><img src="https://mcptoplist.com/badge/io.github.samarthanalytics-sj%2Fsamarth-gtm-mcp.svg" alt="MCP Toplist: Top 10% of 132,046" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 3 registries
samarthanalytics-sj
Available versions (2)
| Version | Published |
|---|---|
| 1.19.0 | Jun 12, 2026 |
| 1.18.0 | Jun 12, 2026 |
Frequently asked questions
- Who maintains Samarth GTM MCP Server?
- Samarth GTM MCP Server is maintained by samarthanalytics-sj, which publishes 1 MCP server (2 total versions) tracked on MCP Toplist.
- Is Samarth GTM MCP Server listed on the Official MCP Registry?
- Yes — Samarth GTM MCP Server is listed on the Official MCP Registry, alongside PulseMCP and Glama.
- How many versions does Samarth GTM MCP Server have?
- MCP Toplist tracks 2 versions of Samarth GTM MCP Server, most recently published on Jun 12, 2026.
- Where can I find the source code for Samarth GTM MCP Server?
- The source code for Samarth GTM MCP Server is hosted at github.com/samarthanalytics-sj/samarth-analytics-mcp.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.