Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

Ads MCP

von gudlabVersion 0.1.1i★ –iLäuft auf deinem Computer
Name in der Registryio.github.gudlab/ads-mcp

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

MCP server for Google Ads and Meta Ads. Wraps both APIs directly to manage campaigns.

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Marketing & Social Media
  • Das musst du eintragen: GOOGLE_ADS_CLIENT_ID, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_DEVELOPER_TOKEN, GOOGLE_ADS_REFRESH_TOKEN, GOOGLE_ADS_CUSTOMER_ID, META_APP_ID, META_APP_SECRET, META_ACCESS_TOKEN, META_AD_ACCOUNT_ID

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Das trägst du selbst ein: GOOGLE_ADS_CLIENT_ID, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_DEVELOPER_TOKEN, GOOGLE_ADS_REFRESH_TOKEN, GOOGLE_ADS_CUSTOMER_ID, GOOGLE_ADS_LOGIN_CUSTOMER_ID, META_APP_ID, META_APP_SECRET, META_ACCESS_TOKEN, META_AD_ACCOUNT_ID

Als geheim markierte Werte sind Schlüssel zu deinem Konto. Gib sie nie weiter und füge sie nie in einen Chat ein.

Du brauchst

  • npmNode.js installiert (für den Befehl npx)

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein

{
  "mcpServers": {
    "ads": {
      "command": "npx",
      "args": [
        "-y",
        "@gudlab/ads-mcp"
      ],
      "env": {
        "GOOGLE_ADS_CLIENT_ID": "your-value",
        "GOOGLE_ADS_CLIENT_SECRET": "your-value",
        "GOOGLE_ADS_DEVELOPER_TOKEN": "your-value",
        "GOOGLE_ADS_REFRESH_TOKEN": "your-value",
        "GOOGLE_ADS_CUSTOMER_ID": "your-value",
        "GOOGLE_ADS_LOGIN_CUSTOMER_ID": "your-value",
        "META_APP_ID": "your-value",
        "META_APP_SECRET": "your-value",
        "META_ACCESS_TOKEN": "your-value",
        "META_AD_ACCOUNT_ID": "your-value"
      }
    }
  }
}

Führe das in deinem Terminal aus

claude mcp add ads --env GOOGLE_ADS_CLIENT_ID=your-value --env GOOGLE_ADS_CLIENT_SECRET=your-value --env GOOGLE_ADS_DEVELOPER_TOKEN=your-value --env GOOGLE_ADS_REFRESH_TOKEN=your-value --env GOOGLE_ADS_CUSTOMER_ID=your-value --env GOOGLE_ADS_LOGIN_CUSTOMER_ID=your-value --env META_APP_ID=your-value --env META_APP_SECRET=your-value --env META_ACCESS_TOKEN=your-value --env META_AD_ACCOUNT_ID=your-value -- npx -y @gudlab/ads-mcp

Trag die leeren Werte ein, bevor du ihn startest.

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "mcpServers": {
    "ads": {
      "command": "npx",
      "args": [
        "-y",
        "@gudlab/ads-mcp"
      ],
      "env": {
        "GOOGLE_ADS_CLIENT_ID": "your-value",
        "GOOGLE_ADS_CLIENT_SECRET": "your-value",
        "GOOGLE_ADS_DEVELOPER_TOKEN": "your-value",
        "GOOGLE_ADS_REFRESH_TOKEN": "your-value",
        "GOOGLE_ADS_CUSTOMER_ID": "your-value",
        "GOOGLE_ADS_LOGIN_CUSTOMER_ID": "your-value",
        "META_APP_ID": "your-value",
        "META_APP_SECRET": "your-value",
        "META_ACCESS_TOKEN": "your-value",
        "META_AD_ACCOUNT_ID": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

In VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "servers": {
    "ads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@gudlab/ads-mcp"
      ],
      "env": {
        "GOOGLE_ADS_CLIENT_ID": "your-value",
        "GOOGLE_ADS_CLIENT_SECRET": "your-value",
        "GOOGLE_ADS_DEVELOPER_TOKEN": "your-value",
        "GOOGLE_ADS_REFRESH_TOKEN": "your-value",
        "GOOGLE_ADS_CUSTOMER_ID": "your-value",
        "GOOGLE_ADS_LOGIN_CUSTOMER_ID": "your-value",
        "META_APP_ID": "your-value",
        "META_APP_SECRET": "your-value",
        "META_ACCESS_TOKEN": "your-value",
        "META_AD_ACCOUNT_ID": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Werte, die du selbst einträgst

  • GOOGLE_ADS_CLIENT_ID geheim erforderlich env
    OAuth client ID from Google Cloud Console
  • GOOGLE_ADS_CLIENT_SECRET geheim erforderlich env
    OAuth client secret from Google Cloud Console
  • GOOGLE_ADS_DEVELOPER_TOKEN geheim erforderlich env
    Developer token from Google Ads API Center
  • GOOGLE_ADS_REFRESH_TOKEN geheim erforderlich env
    Refresh token minted via `pnpm google:auth`
  • GOOGLE_ADS_CUSTOMER_ID erforderlich env
    Default Google Ads account ID, 10 digits, no dashes
  • GOOGLE_ADS_LOGIN_CUSTOMER_ID env
    MCC account ID, only if the customer account is managed under one
  • META_APP_ID erforderlich env
    Meta App ID from developers.facebook.com
  • META_APP_SECRET geheim erforderlich env
    Meta App secret
  • META_ACCESS_TOKEN geheim erforderlich env
    Long-lived System User access token with ads_management scope
  • META_AD_ACCOUNT_ID erforderlich env
    Default Meta ad account ID, numeric, no act_ prefix

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 7. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto gudlab bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Marketing & Social Mediai

  • Mehr Sterne als 0 % der anderen 2970 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 38 % der anderen 2970 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 2970 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist Ads MCP sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Das musst du eintragen: GOOGLE_ADS_CLIENT_ID, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_DEVELOPER_TOKEN, GOOGLE_ADS_REFRESH_TOKEN, GOOGLE_ADS_CUSTOMER_ID, META_APP_ID, META_APP_SECRET, META_ACCESS_TOKEN, META_AD_ACCOUNT_ID

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.1.1) kam letzten Monat in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Node.js auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

Google Analytics MCP

von surendranb

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

Läuft auf deinem Computer★ 244MITAktualisiert vor 9 Tagen
Installieren

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

ads-mcp

An MCP server wrapping the Google Ads API and Meta Marketing API directly, with no third-party quota or middleman. Point an MCP-compatible client at it and manage Search campaigns, keywords, ads, and the full Meta campaign lifecycle (create, publish, monitor, report) against Google's and Meta's own APIs.

Every write tool that could spend money is safe by default: google_ads_create_search_campaign and every Meta create/copy tool always create objects PAUSED. The only tools that can turn spend on are google_ads_set_campaign_status and meta_ads_set_campaign_status / meta_ads_set_ad_set_status / meta_ads_set_ad_status, called explicitly.

Setup

Credentials require logins and business identity only you have; nothing here can be automated. Do not commit .env.

Google Ads
  1. Google Cloud project + OAuth client: console.cloud.google.com, new (or existing) project, APIs & Services, Credentials, Create OAuth client ID (type: Desktop app). Copy the Client ID/Secret into .env.
  2. Under that OAuth client, add http://localhost:8787/oauth2callback as an authorized redirect URI.
  3. Developer token: ads.google.com/aw/apicenter, apply for a token. Basic access is free and usually approved within a few days; it allows ~15,000 operations/day. Put it in .env as GOOGLE_ADS_DEVELOPER_TOKEN.
  4. Run pnpm install then pnpm google:auth. This opens a browser, you sign in and consent, and it prints a refresh token to paste into .env as GOOGLE_ADS_REFRESH_TOKEN.
  5. Set GOOGLE_ADS_CUSTOMER_ID to the 10-digit account ID (no dashes) these tools should operate on by default. If that account is managed under an MCC account, also set GOOGLE_ADS_LOGIN_CUSTOMER_ID to the MCC's ID.
Meta Ads (System User token)

A personal user token dies when Facebook shows a login checkpoint (Graph error 190 / subcode 459). A Business Manager System User token is the supported way to keep Marketing API access independent of a person's browser session.

  1. Meta App: developers.facebook.com, My Apps, Create App (type: Business). Copy the App ID and App Secret from Settings > Basic into .env as META_APP_ID / META_APP_SECRET.
  2. Business Manager: open business.facebook.com > Business Settings.
  3. Create a System User: Users > System Users > Add. Admin is simplest for ad account + Page + pixel assignment. Name it something like ads-mcp.
  4. Assign assets to that System User (Add Assets):
  • Ad account: allow manage campaigns (or full control).
  • Facebook Page used in creatives: allow create content / manage ads (or full control).
  • Pixel used for optimization: allow advertise.
  1. Generate a token: on the System User, Generate New Token. Select the app from step 1. Request at least:
  • ads_management
  • ads_read
  • business_management
  • pages_show_list
  • pages_read_engagement
  • pages_manage_ads (needed to create unpublished Page posts / link creatives) Choose a never-expiring token if the UI offers it.
  1. Put the token in .env as META_ACCESS_TOKEN. Never commit it.
  2. Set META_AD_ACCOUNT_ID to the numeric account ID (act_ prefix optional). Optionally set META_PAGE_ID and META_PIXEL_ID so create tools do not need them on every call.
  3. Optional: META_GRAPH_API_VERSION pins the Graph version. Default is v26.0.

App Review / Development mode. If the app, ad account, Page and pixel all belong to the same Business, a System User token usually works while the app is in Development mode (Standard Access) without App Review. Advanced Access and App Review are required to manage *other* businesses' ad accounts, or when the app is Live and those permissions are restricted. ads_management and the pages_* permissions are the ones Meta most often holds behind review.

Housing, employment, credit, and (in some regions) financial products and services ads must set special_ad_categories accordingly (HOUSING, EMPLOYMENT, CREDIT, FINANCIAL_PRODUCTS_SERVICES). Those campaigns have extra targeting limits; Advantage+ may be required or forbidden depending on the category.

Call meta_ads_get_account first. If META_APP_ID and META_APP_SECRET are set, the response includes token debug (scopes, expiry).

Graph errors this server rewrites
CodeTypical causeWhat to do
190 / 102Token expired, revoked, or invalidGenerate a new System User token
190 + subcode 459, or code 459User checkpointComplete the Facebook login checkpoint, then switch to a System User token
10, 200-299Missing permission or asset assignmentAssign the ad account / Page / pixel; add the scopes above; App Review if Live or cross-business
100 + error_user_title / error_user_msgInvalid field or ads policy rejectionFix the field or creative. Policy rejects cannot be overridden via the API
4 / 17 / 32 / 613Rate limitWait and retry
368Temporary policy blockCheck Business Support Home and the account Quality tab

Running

pnpm install

pnpm test pnpm dev # MCP server over stdio via tsx pnpm build && pnpm start # compiled version

Once published to npm, it also runs via npx @gudlab/ads-mcp, no local clone needed. Point an MCP-compatible client at it, e.g. in Claude Code's .mcp.json:

{

"mcpServers": { "ads-mcp": { "command": "npx", "args": ["-y", "@gudlab/ads-mcp"], "env": { "GOOGLE_ADS_CLIENT_ID": "...", "GOOGLE_ADS_CLIENT_SECRET": "...", "GOOGLE_ADS_DEVELOPER_TOKEN": "...", "GOOGLE_ADS_REFRESH_TOKEN": "...", "GOOGLE_ADS_CUSTOMER_ID": "...", "META_APP_ID": "...", "META_APP_SECRET": "...", "META_ACCESS_TOKEN": "...", "META_AD_ACCOUNT_ID": "...", "META_PAGE_ID": "...", "META_PIXEL_ID": "..." } } } }

Before that's published, point it at the local build instead: command: "node", args: ["/path/to/ads-mcp/dist/index.js"], or command: "pnpm", args: ["dev"] with cwd set to this directory for local iteration.

First real run: verify before trusting it

The Google Ads and Meta Marketing APIs both shift field/enum names across versions, so before relying on any tool here for real campaign work:

  1. Run google_ads_list_campaigns / meta_ads_get_account / meta_ads_list_campaigns first, read-only, the cheapest way to confirm auth and the client libraries are wired correctly.
  2. Test google_ads_create_search_campaign or meta_ads_create_campaign on a throwaway name, then check it in the ads UI rather than trusting the tool's own response as proof of correctness.
  3. Only after that, use *_set_*_status with ACTIVE on a real campaign.

End-to-end Meta example (always paused until the last step)

Budgets are in the ad account currency (e.g. 20 means 20 GBP, sent to Graph as 2000 minor units).

1. meta_ads_get_account

Confirm the token is valid and the account currency / timezone.

  1. meta_ads_search_targeting { "q": "online shopping", "type": "interest" } Copy an interest id from the results. Some detailed interests have been retired by Meta; try a broader query or type=behavior if this is empty.
  1. meta_ads_estimate_audience { "targeting": { "countries": ["GB"], "age_min": 25, "age_max": 54, "interests": [{ "id": "6003139266461" }] }, "optimization_goal": "OFFSITE_CONVERSIONS" }
  1. meta_ads_create_campaign { "name": "UK leads - paused", "objective": "OUTCOME_LEADS", "special_ad_categories": [] } Returns campaign_id. Status is PAUSED.
  1. meta_ads_create_ad_set { "campaign_id": " ", "name": "GB 25-54 shopping", "daily_budget": 15, "optimization_goal": "OFFSITE_CONVERSIONS", "billing_event": "IMPRESSIONS", "custom_event_type": "COMPLETE_REGISTRATION", "advantage_audience": false, "targeting": { "countries": ["GB"], "age_min": 25, "age_max": 54, "interests": [{ "id": "6003139266461", "name": "Online shopping" }] } } Advantage+ audience is off (targeting_automation.advantage_audience = 0). Status is PAUSED.
  1. meta_ads_upload_image { "url": "https://example.com/ads/hero.jpg" } or { "path": "/absolute/path/hero.jpg" } Returns hash.
  1. meta_ads_create_ad_creative { "name": "Homepage v1", "link": "https://example.com/?utm_source=meta", "message": "Open an account from your banking app.", "headline": "Pay from your bank", "description": "No card needed.", "image_hash": " ", "cta_type": "LEARN_MORE", "url_tags": "utm_source=meta&utm_medium=paid&utm_campaign=uk_leads" }
  1. meta_ads_create_ad { "name": "Ad 1", "ad_set_id": " ", "creative_id": " " } Status is PAUSED. Still no spend.
  1. Activate spend, in this order (or campaign last): meta_ads_set_ad_status { "ad_id": " ", "status": "ACTIVE" } meta_ads_set_ad_set_status { "ad_set_id": " ", "status": "ACTIVE" } meta_ads_set_campaign_status { "campaign_id": " ", "status": "ACTIVE" }
  1. meta_ads_get_ad_status Review / rejection lives in ad_review_feedback and issues_info.
  1. meta_ads_get_insights { "level": "campaign", "object_id": " ", "date_preset": "last_7d" } Optional: "breakdowns": ["age", "gender", "placement", "day"] or "since": "2026-10-01", "until": "2026-10-07"

Tool reference

Google Ads (src/google-ads/tools.ts): list_campaigns, get_campaign_structure, create_search_campaign (always PAUSED), add_keywords, set_keyword_status (pause/enable, reversible), remove_keywords (permanent, requires confirm_delete: true), update_bid_strategy, add_negative_keywords, set_campaign_status (the only enable/spend switch).

Meta Ads (src/meta-ads/tools.ts), all names prefixed meta_ads_:

ToolRole
get_accountAd account + optional token debug
list_campaigns / get_campaign / get_campaign_structureCampaigns, nested ad sets and ads
list_ad_sets / get_ad_setAd sets with targeting, budgets, Advantage+ flag
list_ads / get_ad / get_ad_status / list_ads_by_statusAds, creatives, ad_review_feedback / issues_info
get_insightsAccount / campaign / ad set / ad metrics, presets or custom dates, optional breakdowns
search_targetingKeyword search for interests, behaviours, geo
estimate_audienceDelivery / reach estimate
create_campaign / update_campaignObjective, special_ad_categories, campaign or ad-set budget. Create is PAUSED
create_ad_set / update_ad_setDaily budget, optimization, pixel+event, manual targeting, Advantage+ off by default. Create is PAUSED
upload_imageLocal path or URL → image hash
create_ad_creativePage, link, primary text, headline, description, CTA, url_tags
create_ad / update_adAttach a creative or replace copy. Create is PAUSED
set_campaign_status / set_ad_set_status / set_ad_statusExplicit ACTIVE / PAUSED. The only spend switches
copy_campaign / copy_ad_set / copy_adDuplicates, always PAUSED

Privacy and data handling

All credentials stay in your own .env (never committed, see .gitignore) or your MCP client's own env config, and are used only to call Google's and Meta's APIs directly from your machine. This server sends nothing to any third party: no telemetry, no analytics, no relay service. Every request goes straight from your process to googleads.googleapis.com or graph.facebook.com, using your own developer token and access token.

License

MIT, see LICENSE.

PopNx fragen