Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心
开发者工具 #官方#TypeScript#混合部署#MIT

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 维护方均无隶属或背书关系;名称与简介如实标注,介绍文案由本站再加工。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。