Samarth Analytics MCP
An MCP server for Google Tag Manager operations including read-only GA4 data and admin tools. It supports container management, tag CRUD, audits, and server-side tagging with configurable authentication modes.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Manage GTM containers and tags
- Read GA4 data and admin settings
- Audit container analytics checks
- Configure server-side tagging
Source and maintenance
Community listingRegistry 1.19.0
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
samarth-gtm-mcp 1.19.0
npm
samarth-gtm-mcp package definition
{
"version": "1.19.0",
"transport": "stdio",
"identifier": "samarth-gtm-mcp",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "GOOGLE_OAUTH_CLIENT_ID",
"isRequired": true,
"description": "Your Google OAuth 2.0 client ID (Desktop app type)"
},
{
"name": "GOOGLE_OAUTH_CLIENT_SECRET",
"isRequired": true,
"description": "Your Google OAuth 2.0 client secret"
},
{
"name": "GTM_MCP_ENABLE_WRITES",
"description": "Set to 'true' to allow create/update operations (default: read-only)"
},
{
"name": "GTM_MCP_ENABLE_PUBLISH",
"description": "Set to 'true' to allow publish operations (default: disabled)"
},
{
"name": "GTM_MCP_ENABLE_DELETES",
"description": "Set to 'true' to allow delete operations (default: disabled)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
Cursor configuration
{
"mcpServers": {
"samarth-analytics-mcp": {
"command": "npx",
"args": [
"-y",
"samarth-gtm-mcp@1.19.0"
],
"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>"
}
}
}
}Cline
Cline configuration
{
"mcpServers": {
"samarth-analytics-mcp": {
"command": "npx",
"args": [
"-y",
"samarth-gtm-mcp@1.19.0"
],
"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
VS Code configuration
{
"servers": {
"samarth-analytics-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"samarth-gtm-mcp@1.19.0"
],
"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 Desktop
Claude Desktop configuration
{
"mcpServers": {
"samarth-analytics-mcp": {
"command": "npx",
"args": [
"-y",
"samarth-gtm-mcp@1.19.0"
],
"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>"
}
}
}
}Let your agent find its tools
Find servers like Samarth Analytics MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.