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
开发者工具
npm 0 个平台
0 项功能
安装
npx -y samarth-gtm-mcp
把上面的配置写入 MCP 客户端的配置文件(Claude Desktop 为 claude_desktop_config.json),重启客户端后生效。
{
"mcpServers": {
"samarth-analytics-mcp": {
"command": "npx",
"args": [
"-y",
"samarth-gtm-mcp"
],
"env": {
"DRY_RUN": "<DRY_RUN>",
"GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
"GTM_MCP_HTTP_PORT": "<GTM_MCP_HTTP_PORT>",
"GTM_MCP_RETRY_MAX": "<GTM_MCP_RETRY_MAX>",
"GTM_MCP_TRANSPORT": "<GTM_MCP_TRANSPORT>",
"GTM_MCP_TOKEN_FILE": "<GTM_MCP_TOKEN_FILE>",
"GOOGLE_ACCESS_TOKEN": "<GOOGLE_ACCESS_TOKEN>",
"GOOGLE_REDIRECT_URI": "<GOOGLE_REDIRECT_URI>"
}
}
}
}把上面的配置写入 MCP 客户端的配置文件(Claude Desktop 为 claude_desktop_config.json),重启客户端后生效。
数据来源:公开的 MCP Server 目录。本站为独立第三方目录,与各 MCP Server 维护方均无隶属或背书关系;名称与简介如实标注,介绍文案由本站再加工。