Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🎯 Marketing
  3. Ainative Gtm MCP
Ainative Gtm MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/22/2026, 10:47:08 AM

Ainative Gtm MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ainative-gtm-mcp": {
      "command": "npx",
      "args": [
        "--",
        "-y",
        "@ainative/gtm-mcp"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (55) Directory Badge Claim listing Alternatives🎯 More in Marketing

Capabilities & Tool Schemas (55) ~1.1k tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server β€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Ainative Gtm MCP.

gtm_list_accounts

List all accessible GTM accounts

gtm_list_containers

List containers in an account

gtm_get_container

Get container details

gtm_list_tags

List all tags in a workspace

gtm_get_tag

Get full tag configuration

gtm_update_tag

Update a tag (trigger, params, name)

Documentation Overview

@ainative/gtm-mcp

Google Tag Manager and Google Ads MCP server β€” audit, fix, and manage GTM containers and Google Ads campaigns, budgets, conversions, placements, geo targeting, and auto-apply recommendations from AI agents (Claude, Cursor, and any MCP client).

Part of the AINative open-source tools.

57 tools across 7 categories: accounts, tags, triggers, audit, versions/publishing, and a complete Google Ads lifecycle (39 tools) β€” build, publish, track, and adjust campaigns end-to-end: create campaigns/ad groups/RSAs/RDAs/HTML5 ads, Performance Max, bidding strategy & bid control, ad extensions (sitelinks/callouts/snippets/call), audiences, offline gclid conversion import, geo/language targeting, budgets, placements, and auto-apply recommendations β€” fully programmatic, no UI required.

Keywords: google tag manager mcp, google ads mcp, gtm mcp server, google ads api mcp, conversion tracking mcp, campaign budget management, negative placement / click-fraud exclusion, geo targeting, auto-apply recommendations, recommendation subscriptions, conversion goals, Smart Bidding, PPC automation, ad spend control, Claude MCP, model context protocol, AI agent advertising tools.

Quick Start

1. Install

bash
# Claude Code (recommended)
claude mcp add ainative-gtm-mcp npx -- -y @ainative/gtm-mcp \
  -e GTM_SERVICE_ACCOUNT_KEY_PATH=/path/to/service-account.json

# Or run directly
npx @ainative/gtm-mcp

2. Set up Google Cloud authentication

The server authenticates via a Google Cloud service account with Tag Manager API access. There is no browser OAuth flow β€” it's designed for headless/agent use.

Step 1 β€” Enable the Tag Manager API

  1. Go to Google Cloud Console
  2. Select or create a project
  3. Navigate to APIs & Services β†’ Library
  4. Search for Tag Manager API (tagmanager.googleapis.com) and click Enable

Step 2 β€” Create a service account

  1. Go to IAM & Admin β†’ Service Accounts
  2. Click Create Service Account
  3. Give it a name (e.g. gtm-mcp-agent)
  4. Skip role assignment at GCP level β€” GTM has its own permission system
  5. Click Done, then open the service account
  6. Go to Keys β†’ Add Key β†’ Create new key β†’ JSON
  7. Download the JSON key file β€” keep it safe

Step 3 β€” Grant the service account access in GTM

This is the step most people miss. The GCP service account needs to be added as a user inside Google Tag Manager separately:

  1. Go to tagmanager.google.com
  2. Click Admin (top nav)
  3. Under Account, click User Management
  4. Click + β†’ Add users
  5. Enter the service account email (e.g. gtm-mcp-agent@your-project.iam.gserviceaccount.com)
  6. Set permission to Publish (required for tag editing and publishing)
  7. Save

Note: If you only need read access (auditing), Read permission is sufficient.

Step 4 β€” Configure the env var

server.ts
export GTM_SERVICE_ACCOUNT_KEY_PATH="/path/to/service-account.json"

# Or use inline JSON (useful for CI/CD)
export GTM_SERVICE_ACCOUNT_KEY_JSON='{"type":"service_account","project_id":"...","private_key":"..."}'

# Or use Application Default Credentials
gcloud auth application-default login

3. Connect to Claude Code

Terminal
claude mcp add ainative-gtm-mcp npx -- -y @ainative/gtm-mcp \
  -e GTM_SERVICE_ACCOUNT_KEY_PATH=/path/to/service-account.json

Or add a .mcp.json to your project root:

config.json
{
  "mcpServers": {
    "ainative-gtm-mcp": {
      "command": "npx",
      "args": ["-y", "@ainative/gtm-mcp"],
      "env": {
        "GTM_SERVICE_ACCOUNT_KEY_PATH": "/path/to/service-account.json"
      }
    }
  }
}

Security: Add .mcp.json to .gitignore if it contains key paths. Use .mcp.example.json as a template for teammates.

4. Verify it works

Ask Claude:

Code
List my GTM accounts

Expected: your GTM account name and ID. If you get an empty array [], the service account hasn't been added to GTM yet (Step 3 above).


Important: GTM vs Google Ads conversions

This MCP server manages Google Tag Manager containers β€” tags, triggers, variables, and publishing.

If you see events like ads_conversion_PURCHASE_1 in GA4, those may be coming from Google Ads auto-imported conversions (via GA4 ↔ Google Ads account linking), not GTM tags. In that case:

  • If the event fires via a GTM tag β†’ use gtm_find_misfiring_conversion_tags to fix it
  • If the event is a GA4-imported Google Ads conversion β†’ fix it in Google Ads β†’ Tools β†’ Conversions, not in GTM

To tell the difference: if your GTM container has no tags (gtm_list_tags returns []), the conversion event is coming from outside GTM.


Example: Fix a misfiring conversion tag

The most common GTM billing issue β€” a Google Ads conversion tag fires on every page view instead of only on purchase confirmation.

Code
1. List your accounts:
   "List my GTM accounts"
   β†’ accountId: 123456789

2. List containers:
   "List containers for account 123456789"
   β†’ containerId: 987654321, publicId: GTM-XXXXXXX

3. Audit the container:
   "Audit container 987654321 in account 123456789"
   β†’ health score, list of issues including misfiring tags

4. Find misfiring conversion tags:
   "Find misfiring conversion tags in container 987654321"
   β†’ shows which tags fire on All Pages instead of specific events

5. Fix the tag:
   "Fix tag 42 to only fire on the purchase_confirmed event"
   β†’ gtm_fix_conversion_tag_trigger creates a scoped Custom Event trigger
     and rewires the tag automatically

6. Review and publish:
   "Show pending workspace changes, then publish"
   β†’ gtm_get_workspace_status + gtm_publish

Tool Reference

Account & Container (3 tools)

ToolDescription
gtm_list_accountsList all accessible GTM accounts
gtm_list_containersList containers in an account
gtm_get_containerGet container details

Tags (4 tools)

ToolDescription
gtm_list_tagsList all tags in a workspace
gtm_get_tagGet full tag configuration
gtm_update_tagUpdate a tag (trigger, params, name)
gtm_delete_tagDelete a tag

Triggers (4 tools)

ToolDescription
gtm_list_triggersList all triggers
gtm_get_triggerGet trigger configuration
gtm_create_triggerCreate a new trigger
gtm_update_triggerUpdate an existing trigger

Audit & Fix (3 tools)

ToolDescription
gtm_audit_containerFull container audit β€” health score 0–100, issues list
gtm_find_misfiring_conversion_tagsFind conversion tags firing on All Pages instead of specific events
gtm_fix_conversion_tag_triggerFix a misfiring tag β€” creates scoped Custom Event trigger, rewires tag

Versions & Publishing (4 tools)

ToolDescription
gtm_list_workspacesList workspaces
gtm_get_workspace_statusView pending changes before publishing
gtm_create_versionCreate a named version from workspace changes
gtm_publishPublish workspace to live

Google Ads (39 tools)

Full programmatic campaign lifecycle β€” an agent can build, launch, measure, and optimize a campaign end-to-end with no UI.

Build (campaigns, ad groups, ads, assets)

ToolDescription
gads_create_campaignCreate a Search/Display campaign with a dedicated budget + correct network settings
gads_create_pmax_campaignOne-call Performance Max builder β€” campaign + budget + asset group (headlines, descriptions, images, logo) in a single call; Google's AI optimizes across Search/Display/YouTube/Gmail
gads_create_ad_groupCreate an ad group inside a campaign
gads_create_responsive_search_adCreate an RSA (3–15 headlines, 2–4 descriptions, length-validated)
gads_create_responsive_display_adCreate a responsive display ad
gads_create_html5_adCreate an HTML5 upload (animated) display ad from a media bundle
gads_upload_image_assetUpload an image asset by URL
gads_upload_media_bundleUpload an HTML5 media-bundle (zip) asset

Bidding & bids

ToolDescription
gads_set_bidding_strategySwap bidding strategy (Maximize Clicks / Maximize Conversions / Target CPA / Target ROAS / Manual CPC) β€” reads back the change to confirm it landed (empty-payload swaps silently no-op)
gads_set_ad_group_bidSet an ad group's default max CPC bid
gads_set_keyword_bidSet a specific keyword's max CPC bid

Ad control

ToolDescription
gads_set_ad_statusPause / enable / remove an individual ad
gads_request_ad_reviewRequest re-review (appeal) of a disapproved/limited ad where API-appealable; honest result for UI-only policy topics

Ad extensions (assets)

ToolDescription
gads_add_sitelinkCreate + attach a sitelink
gads_add_calloutCreate + attach a callout (e.g. "7-Day Free Trial")
gads_add_structured_snippetCreate + attach a structured snippet
gads_add_call_extensionCreate + attach a call (phone) extension

Audiences & conversions (attribution)

ToolDescription
gads_add_audience_to_ad_groupAttach a user-list audience (observation or targeting)
gads_create_conversion_actionCreate an offline (UPLOAD_CLICKS) conversion action for gclid import
gads_upload_click_conversionUpload an offline conversion keyed by gclid β€” ties a real signup back to the ad click that drove it

Conversions & reporting

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Marketing View all alternatives
  • MCP Server logoMCP Server

    Generate styled QR codes, manage dynamic short links with click analytics, and publish micro-landing pages. Install: npx @qr-maker/mcp-server --api-key=YOURKEY.

    🎯 Marketing4 views
    Compare vs MCP Server β†’
  • Meta Ads MCP logoMeta Ads MCP

    MCP server for Meta Marketing API v25.0 β€” 123 tools for Facebook & Instagram ad campaigns, audiences, creatives, insights, catalogs, and automated rules.

    🎯 Marketing1 views
    Compare vs Meta Ads MCP β†’
  • Aapl Ads MCP logoAapl Ads MCP

    MCP server for Apple Search Ads API v5 β€” read-only, self-hosted

    🎯 Marketing3 views
    Compare vs Aapl Ads MCP β†’
  • Opus Growth logoOpus Growth
    Verified

    Hosted, OAuth-protected MCP server for advertising operations. One connector covers Google Ads, Meta Ads, Microsoft Advertising, TikTok Ads and LinkedIn Ads, plus Search Console, GA4, YouTube, Tag Manager and Google Business Profile. Every write returns a dry-run preview and is applied only after explicit confirmation.

    🎯 Marketing4 views
    Compare vs Opus Growth β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

Last commit
1mo ago
Most recent push to the default branch.
Tools exposed
55
Callable tools this server registers over MCP.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Ainative Gtm MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "ainative-gtm-mcp": { "command": "npx", "args": ["--","-y","@ainative/gtm-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAinative Gtm MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ainative-gtm-mcp?style=directory)](https://allmcps.com/mcp/ainative-gtm-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/ainative-gtm-mcp"><img src="https://allmcps.com/api/badge/ainative-gtm-mcp?style=directory" alt="Ainative Gtm MCP on AllMCPs" /></a>

Technical Specs & Signals

Category🎯Marketing
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedAug 1, 2026
10/14 checks healthy over the last 46d
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars0
GitHub Star CountTotal stargazers on GitHub representing community popularity (0 stars).
Last commit1mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Aug 1, 2026
48Quality signal: Fair Β· 48/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools24/30
Adoption & activity2/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev Β· @ainative/gtm-mcp (npm)

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🎯 Marketing β†’Best MCP servers for Marketing β†’Best Google Workspace MCP servers β†’Alternatives to Ainative Gtm MCP β†’Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients