meta-ads-mcp
MCP server for the Meta Marketing API v26.0 — 134 tools for managing Facebook & Instagram ad campaigns, audiences, creatives, insights, catalogs, and more.
Agenten stärken
Der eigene Befehl des Herausgebers. Kein PlugMCP-Endpunkt.
Host a copy with our keys and logs.
npx -y @mikusnuz/[email protected]Claude Code hat keinen Installationslink für einen lokalen Befehl. Kopieren Sie den Befehl unten und führen Sie ihn in einem Terminal aus.
META_ADS_ACCESS_TOKEN=<secret> META_AD_ACCOUNT_ID=<value> META_APP_ID=<value> META_APP_SECRET=<secret> META_BUSINESS_ID=<value> META_PIXEL_ID=<value> claude mcp add mikusnuz-meta-ads-mcp-github -- npx -y @mikusnuz/meta-ads-mcp@1.6.1In einem Terminal ausführen.
{ "mcpServers": { "mikusnuz-meta-ads-mcp-github": { "command": "npx", "args": [ "-y", "@mikusnuz/[email protected]" ], "env": { "META_ADS_ACCESS_TOKEN": "<secret>", "META_AD_ACCOUNT_ID": "<value>", "META_APP_ID": "<value>", "META_APP_SECRET": "<secret>", "META_BUSINESS_ID": "<value>", "META_PIXEL_ID": "<value>" } } }}claude_desktop_config.json
Remote-URL oder ein Befehl auf Ihrem Rechner? Worin sich die beiden Installationen unterscheiden
Auf PlugMCP ausführen
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
StartenVom Herausgeber
Use this MCP when you need to:
create_campaign, create_adset, create_ad, and create_creative to build a full funnelget_account_insights or get_campaign_insights with today's date rangelist_campaigns + get_campaign_insights to find underperformers, then update_campaign to pausecreate_experiment to run a controlled test between ad setscreate_custom_audience, add_users_to_audience, then create_lookalike_audienceupload_image for each image, then create_creative with carousel formatcreate_async_report for large date ranges, then get_async_report to retrievesearch_ad_library to find public ad datacreate_rule with conditions like CPA > thresholdcreate_catalog, create_feed, and upload_feed to set up dynamic product adscreate_adset accepts bid_amount; creation and updates accept dsa_beneficiary and dsa_payor. For EU-targeted ads, supply each required value or configure the corresponding account default. The payer does not automatically copy the beneficiary.create_adset and update_adset accept destination_type, attribution_spec, adset_schedule, pacing_type, and validate_only. Existing calls still perform their requested writes; set validate_only: true to ask Meta to validate without mutation. A successful validation does not create an ad set.timezone_type as USER or ADVERTISER. Scheduling adds day_parting pacing. Meta validates effective lifetime budgeting, objective eligibility, and attribution restrictions. No budget or status is changed automatically.create_custom_audience accepts a JSON rule, pixel_id, and retention_days for rule-based audiences. Audience creation is a real write, not a dry run.See the official ad-set creation and ad-set update contracts.
events JSON input and send it as the required data array. Use test_event_code to verify receipt in Events Manager; offline events use a dataset ID and action_source=physical_store for store events.destination_spec, wamo_whatsapp_identity_spec, and degrees_of_freedom_spec JSON objects. Dynamic creatives also accept object_story_spec for Page identity. To opt out of the v26 Shops destination default, set destination_spec to {"destination_type":"WEBSITE_AND_SHOP_OPT_OUT"}.Requires Node.js 20 or later, including the MCP host's npx environment.
{
"mcpServers": {
"meta-ads": {
"command": "npx",
"args": ["-y", "@mikusnuz/meta-ads-mcp"],
"env": {
"META_ADS_ACCESS_TOKEN": "your-access-token",
"META_AD_ACCOUNT_ID": "123456789",
"META_APP_ID": "your-app-id",
"META_APP_SECRET": "your-app-secret",
"META_BUSINESS_ID": "your-business-id",
"META_PIXEL_ID": "your-pixel-id"
}
}
}
}
date_preset values are lowercase Graph API identifiers such as today, yesterday, last_7d, and last_30d. create_async_report always creates an asynchronous job; get_async_report returns status immediately and, by default, fetches the paginated result edge after the status becomes Job Completed.
Your Meta access token needs the following permissions depending on which tools you use:
MIT
MCP server for Meta Marketing API v25.0 — 135 tools for Facebook & Instagram ad campaign management
{ "mcpServers": { "mikusnuz-meta-ads-mcp-github": { "command": "npx", "args": [ "-y", "@mikusnuz/[email protected]" ], "env": { "META_ADS_ACCESS_TOKEN": "<secret>", "META_AD_ACCOUNT_ID": "<value>", "META_APP_ID": "<value>", "META_APP_SECRET": "<secret>", "META_BUSINESS_ID": "<value>", "META_PIXEL_ID": "<value>" } } }}Tools
Noch keine Tool-Liste. Remote-Server erhalten eine nach dem ersten Health-Check.
FAQ
Kopieren Sie auf dieser Seite die stdio-Konfiguration für Cursor, Claude Desktop, Claude Code oder VS Code. Sie nutzt die Installation des Herausgebers, keinen PlugMCP-Proxy.
Der Herausgeber nennt diese Umgebungsvariablen: META_ADS_ACCESS_TOKEN, META_AD_ACCOUNT_ID, META_APP_ID, META_APP_SECRET, META_BUSINESS_ID, META_PIXEL_ID.
Meta Ads läuft lokal über stdio.
Zuletzt geprüft: 2026-10-27. MCP server for Meta Marketing API v25.0 — 135 tools for Facebook & Instagram ad campaign management