Skip to content
VS Code

ainative gtm mcp for VS Code

io.github.ainative-studio/ainative-gtm-mcp

Full Google Ads, Analytics & Tag Manager lifecycle MCP for AI agents — 57 tools.

client:VS Code transport:stdio runtime:npm

Install ainative gtm mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "google-ads-developer-token",
      "description": "GOOGLE_ADS_DEVELOPER_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-ads-customer-id",
      "description": "GOOGLE_ADS_CUSTOMER_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gtm-service-account-key-path",
      "description": "GTM_SERVICE_ACCOUNT_KEY_PATH",
      "password": true
    }
  ],
  "servers": {
    "ainative-gtm-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ainative/gtm-mcp"
      ],
      "env": {
        "GOOGLE_ADS_DEVELOPER_TOKEN": "${input:google-ads-developer-token}",
        "GOOGLE_ADS_CUSTOMER_ID": "${input:google-ads-customer-id}",
        "GTM_SERVICE_ACCOUNT_KEY_PATH": "${input:gtm-service-account-key-path}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

ainative gtm mcp in other clients