Skip to content
MCP server

Ainative Gtm MCP

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.4.2
Listing updated
5 days ago

About Ainative Gtm MCP

Ainative Gtm MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add ainative-gtm-mcp --env GOOGLE_ADS_DEVELOPER_TOKEN='<GOOGLE_ADS_DEVELOPER_TOKEN>' --env GTM_SERVICE_ACCOUNT_KEY_PATH='<GTM_SERVICE_ACCOUNT_KEY_PATH>' -- npx -y @ainative/gtm-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "ainative-gtm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ainative/gtm-mcp"
      ],
      "env": {
        "GOOGLE_ADS_DEVELOPER_TOKEN": "<GOOGLE_ADS_DEVELOPER_TOKEN>",
        "GTM_SERVICE_ACCOUNT_KEY_PATH": "<GTM_SERVICE_ACCOUNT_KEY_PATH>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "ainative-gtm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ainative/gtm-mcp"
      ],
      "env": {
        "GOOGLE_ADS_DEVELOPER_TOKEN": "<GOOGLE_ADS_DEVELOPER_TOKEN>",
        "GTM_SERVICE_ACCOUNT_KEY_PATH": "<GTM_SERVICE_ACCOUNT_KEY_PATH>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "ainative-gtm-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ainative/gtm-mcp"
      ],
      "env": {
        "GOOGLE_ADS_DEVELOPER_TOKEN": "<GOOGLE_ADS_DEVELOPER_TOKEN>",
        "GTM_SERVICE_ACCOUNT_KEY_PATH": "<GTM_SERVICE_ACCOUNT_KEY_PATH>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "ainative-gtm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ainative/gtm-mcp"
      ],
      "env": {
        "GOOGLE_ADS_DEVELOPER_TOKEN": "<GOOGLE_ADS_DEVELOPER_TOKEN>",
        "GTM_SERVICE_ACCOUNT_KEY_PATH": "<GTM_SERVICE_ACCOUNT_KEY_PATH>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "ainative-gtm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ainative/gtm-mcp"
      ],
      "env": {
        "GOOGLE_ADS_DEVELOPER_TOKEN": "<GOOGLE_ADS_DEVELOPER_TOKEN>",
        "GTM_SERVICE_ACCOUNT_KEY_PATH": "<GTM_SERVICE_ACCOUNT_KEY_PATH>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GOOGLE_ADS_DEVELOPER_TOKENGoogle Ads API developer token (required for Google Ads tools)
  • GOOGLE_ADS_CUSTOMER_IDDefault Google Ads customer ID (10 digits, no dashes)
  • GTM_SERVICE_ACCOUNT_KEY_PATHPath to a Google Cloud service-account JSON key with Tag Manager API access

Pricing

Open source

Ainative Gtm MCP FAQ

Is Ainative Gtm MCP free?

Yes. Ainative Gtm MCP is open source, so you can use and self-host it for free.

How do I add Ainative Gtm MCP to Claude Code?

Run this command in your terminal: claude mcp add ainative-gtm-mcp --env GOOGLE_ADS_DEVELOPER_TOKEN='<GOOGLE_ADS_DEVELOPER_TOKEN>' --env GTM_SERVICE_ACCOUNT_KEY_PATH='<GTM_SERVICE_ACCOUNT_KEY_PATH>' -- npx -y @ainative/gtm-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers