{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.samarthanalytics-sj/samarth-gtm-mcp",
  "slug": "io.github.samarthanalytics-sj.samarth-gtm-mcp",
  "title": "samarth-gtm-mcp",
  "summary": "Google Tag Manager + read-only GA4 MCP server.",
  "version": "1.19.0",
  "serverKey": "samarth-gtm-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.samarthanalytics-sj.samarth-gtm-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.samarthanalytics-sj.samarth-gtm-mcp/install.md",
  "trust": {
    "score": 95,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T14:47:48.982327536Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "samarth-gtm-mcp@1.19.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add samarth-gtm-mcp -e 'GOOGLE_OAUTH_CLIENT_ID=<GOOGLE_OAUTH_CLIENT_ID>' -e 'GOOGLE_OAUTH_CLIENT_SECRET=<GOOGLE_OAUTH_CLIENT_SECRET>' -- npx -y samarth-gtm-mcp@1.19.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"samarth-gtm-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"samarth-gtm-mcp@1.19.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GOOGLE_OAUTH_CLIENT_ID\": \"<GOOGLE_OAUTH_CLIENT_ID>\",\n        \"GOOGLE_OAUTH_CLIENT_SECRET\": \"<GOOGLE_OAUTH_CLIENT_SECRET>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"samarth-gtm-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"samarth-gtm-mcp@1.19.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GOOGLE_OAUTH_CLIENT_ID\": \"<GOOGLE_OAUTH_CLIENT_ID>\",\n        \"GOOGLE_OAUTH_CLIENT_SECRET\": \"<GOOGLE_OAUTH_CLIENT_SECRET>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"GOOGLE_OAUTH_CLIENT_ID\",\n      \"id\": \"google-oauth-client-id\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"GOOGLE_OAUTH_CLIENT_SECRET\",\n      \"id\": \"google-oauth-client-secret\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"samarth-gtm-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"samarth-gtm-mcp@1.19.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GOOGLE_OAUTH_CLIENT_ID\": \"${input:google-oauth-client-id}\",\n        \"GOOGLE_OAUTH_CLIENT_SECRET\": \"${input:google-oauth-client-secret}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.samarth-gtm-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"samarth-gtm-mcp@1.19.0\"]\nenv = { \"GOOGLE_OAUTH_CLIENT_ID\" = \"<GOOGLE_OAUTH_CLIENT_ID>\", \"GOOGLE_OAUTH_CLIENT_SECRET\" = \"<GOOGLE_OAUTH_CLIENT_SECRET>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "GOOGLE_OAUTH_CLIENT_ID",
      "required": true,
      "secret": false,
      "description": "Your Google OAuth 2.0 client ID (Desktop app type)",
      "help": "Your Google OAuth 2.0 client ID (Desktop app type)",
      "placeholder": "<GOOGLE_OAUTH_CLIENT_ID>"
    },
    {
      "name": "GOOGLE_OAUTH_CLIENT_SECRET",
      "required": true,
      "secret": true,
      "description": "Your Google OAuth 2.0 client secret",
      "help": "Your Google OAuth 2.0 client secret",
      "placeholder": "<GOOGLE_OAUTH_CLIENT_SECRET>"
    },
    {
      "name": "GTM_MCP_ENABLE_WRITES",
      "required": false,
      "secret": false,
      "description": "Set to 'true' to allow create/update operations (default: read-only)",
      "help": "Set to 'true' to allow create/update operations (default: read-only)",
      "placeholder": "<GTM_MCP_ENABLE_WRITES>"
    },
    {
      "name": "GTM_MCP_ENABLE_PUBLISH",
      "required": false,
      "secret": false,
      "description": "Set to 'true' to allow publish operations (default: disabled)",
      "help": "Set to 'true' to allow publish operations (default: disabled)",
      "placeholder": "<GTM_MCP_ENABLE_PUBLISH>"
    },
    {
      "name": "GTM_MCP_ENABLE_DELETES",
      "required": false,
      "secret": false,
      "description": "Set to 'true' to allow delete operations (default: disabled)",
      "help": "Set to 'true' to allow delete operations (default: disabled)",
      "placeholder": "<GTM_MCP_ENABLE_DELETES>"
    }
  ],
  "expectedTools": [
    "accounts_list",
    "accounts_get",
    "containers_list",
    "containers_get",
    "containers_create",
    "containers_snippet",
    "containers_lookup",
    "containers_combine",
    "containers_move_tag_id",
    "destinations_list",
    "destinations_get",
    "destinations_link",
    "workspaces_list",
    "workspaces_get",
    "workspaces_create",
    "workspace_get_status",
    "workspace_sync",
    "workspace_resolve_conflict",
    "tags_list",
    "tags_get",
    "tags_create",
    "tags_update",
    "tags_delete",
    "triggers_list",
    "triggers_get",
    "triggers_create",
    "triggers_update",
    "triggers_delete",
    "variables_list",
    "variables_get",
    "variables_create",
    "variables_update",
    "variables_delete",
    "folders_list",
    "folders_get",
    "folders_entities",
    "folders_create",
    "folders_update",
    "folders_delete",
    "folders_move_entities",
    "built_in_variables_list",
    "built_in_variables_enable",
    "built_in_variables_disable",
    "built_in_variables_revert",
    "versions_list",
    "versions_get",
    "versions_create",
    "versions_set_latest",
    "versions_undelete",
    "versions_delete",
    "workspace_quick_preview",
    "versions_publish",
    "workspace_create_version_and_publish",
    "environments_list",
    "environments_get",
    "environments_create",
    "environments_update",
    "environments_reauthorize",
    "environments_delete",
    "user_permissions_list",
    "user_permissions_get",
    "user_permissions_create",
    "user_permissions_update",
    "user_permissions_delete",
    "clients_list",
    "clients_get",
    "clients_create",
    "clients_update",
    "clients_delete",
    "clients_revert",
    "transformations_list",
    "transformations_get",
    "transformations_create",
    "transformations_update",
    "transformations_delete",
    "transformations_revert",
    "zones_list",
    "zones_get",
    "zones_create",
    "zones_update",
    "zones_delete",
    "zones_revert",
    "templates_list",
    "templates_get",
    "templates_create",
    "templates_update",
    "templates_delete",
    "templates_revert",
    "gtag_config_list",
    "gtag_config_get",
    "gtag_config_create",
    "gtag_config_update",
    "gtag_config_delete",
    "audit_container",
    "export_container",
    "ga4_account_summaries_list",
    "ga4_properties_list",
    "ga4_property_get",
    "ga4_data_streams_list",
    "ga4_enhanced_measurement_get",
    "ga4_custom_dimensions_list",
    "ga4_custom_metrics_list",
    "ga4_data_retention_get",
    "ga4_key_events_list",
    "ga4_google_ads_links_list",
    "ga4_run_report",
    "ga4_run_realtime_report"
  ],
  "agentSteps": [
    "Ask the user for: GOOGLE_OAUTH_CLIENT_ID, GOOGLE_OAUTH_CLIENT_SECRET. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: accounts_list, accounts_get, containers_list, containers_get, containers_create, containers_snippet, containers_lookup, containers_combine, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T14:47:48.982327536Z"
}
