プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Ainative Gtm MCP

作者:AINative-Studioバージョン 0.4.2i★ –iパソコンで動く
レジストリ名io.github.AINative-Studio/ainative-gtm-mcp

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: マーケティング・SNS
  • 入力が必要なもの:GOOGLE_ADS_DEVELOPER_TOKEN, GTM_SERVICE_ACCOUNT_KEY_PATH

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: GOOGLE_ADS_DEVELOPER_TOKEN, GOOGLE_ADS_CUSTOMER_ID, GTM_SERVICE_ACCOUNT_KEY_PATH

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

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

ターミナルでこれを実行します

claude mcp add ainative-gtm --env GOOGLE_ADS_DEVELOPER_TOKEN=your-value --env GOOGLE_ADS_CUSTOMER_ID=your-value --env GTM_SERVICE_ACCOUNT_KEY_PATH=your-value -- npx -y @ainative/gtm-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • GOOGLE_ADS_DEVELOPER_TOKEN 秘密 env
    Google Ads API developer token (required for Google Ads tools)
  • GOOGLE_ADS_CUSTOMER_ID env
    Default Google Ads customer ID (10 digits, no dashes)
  • GTM_SERVICE_ACCOUNT_KEY_PATH 秘密 env
    Path to a Google Cloud service-account JSON key with Tag Manager API access

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント AINative-Studio で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

マーケティング・SNSのほかのサーバーとの比較i

  • このカテゴリのほかの3558件のうち0%よりスターが多い
  • このカテゴリのほかの3558件のうち21%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの3558件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Ainative Gtm MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:GOOGLE_ADS_DEVELOPER_TOKEN, GTM_SERVICE_ACCOUNT_KEY_PATH

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.4.2)がレジストリに届いたのは3 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

パソコンで動く★ 244MIT10 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

@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
# 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
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
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:

{

"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:

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.

1. List your accounts:

"List my GTM accounts" → accountId: 123456789

  1. List containers: "List containers for account 123456789" → containerId: 987654321, publicId: GTM-XXXXXXX
  1. Audit the container: "Audit container 987654321 in account 123456789" → health score, list of issues including misfiring tags
  1. Find misfiring conversion tags: "Find misfiring conversion tags in container 987654321" → shows which tags fire on All Pages instead of specific events
  1. 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
  1. 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

ToolDescription
gads_list_conversion_actionsList all conversion actions — name, ID, counting type, status, category
gads_update_conversion_countingFix counting type (ONE_PER_CLICK vs MANY_PER_CLICK) for a conversion action
gads_audit_conversion_goalsAudit all conversion goals — find misconfigured counting, inactive conversions
gads_set_conversion_goal_inclusionInclude/exclude a conversion action from the primary Conversions metric & Smart Bidding (e.g. stop a PAGE_VIEW action inflating conversions)
gads_get_account_performanceAccount-level performance — impressions, clicks, cost, conversions by date range

Campaigns & budgets

ToolDescription
gads_update_campaign_budgetSet a campaign's daily budget (scale spend up or down)
gads_pause_campaignPause a campaign — stop ad serving immediately
gads_create_keywordAdd a keyword to an ad group
gads_remove_keywordRemove (pause) a keyword from an ad group

Targeting & fraud protection

ToolDescription
gads_remove_campaign_criterionRemove a campaign criterion (targeted geo/placement/keyword) by ID — e.g. stop targeting a country sending invalid traffic
gads_add_negative_placementExclude a website/app placement (block click-fraud sites like quiz farms and junk apps)
gads_add_geo_targetAdd a geo target (presence-only by default — the India-fraud-safe setting)
gads_set_presence_onlyForce presence-only geo targeting on a campaign
gads_add_negative_keywordAdd a campaign-level negative keyword
gads_add_language_targetAdd a language target to a campaign

Auto-apply recommendations

ToolDescription
gads_list_recommendation_subscriptionsList auto-apply recommendation subscriptions and their status (audit what auto-applies)
gads_set_recommendation_subscriptionTurn auto-apply recommendations ON/OFF (pause budget/bid recommendations that can silently raise spend)
Google Ads Authentication

The Google Ads tools use OAuth2 credenti

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く