Reverse engineer anything with agents, from app behavior down to native binaries.
Meta Ads MCP
MCP server for Meta Marketing API v25.0, 135 tools for Facebook & Instagram ad campaign management
Install
git clone https://github.com/mikusnuz/meta-ads-mcpInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →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.
When to Use
Use this MCP when you need to:
- "Create a new Facebook ad campaign" — use
create_campaign,create_adset,create_ad, andcreate_creativeto build a full funnel - "Check how my ads are performing today" — use
get_account_insightsorget_campaign_insightswith today's date range - "Pause all campaigns with ROAS below 2" — use
list_campaigns+get_campaign_insightsto find underperformers, thenupdate_campaignto pause - "Set up A/B test between two ad creatives" — use
create_experimentto run a controlled test between ad sets - "Create a lookalike audience from my customers" — use
create_custom_audience,add_users_to_audience, thencreate_lookalike_audience - "Upload ad images and create a carousel ad" — use
upload_imagefor each image, thencreate_creativewith carousel format - "Get a detailed performance report for last 30 days" — use
create_async_reportfor large date ranges, thenget_async_reportto retrieve - "Search the Facebook Ad Library for competitor ads" — use
search_ad_libraryto find public ad data - "Set up automated rules to pause underperforming ads" — use
create_rulewith conditions like CPA > threshold - "Manage my product catalog for dynamic ads" — use
create_catalog,create_feed, andupload_feedto set up dynamic product ads
What's New in v1.5.0
- Conversion tools validate the existing
eventsJSON input and send it as the requireddataarray. Usetest_event_codeto verify receipt in Events Manager; offline events use a dataset ID andaction_source=physical_storefor store events. - Creative creation accepts top-level
destination_spec,wamo_whatsapp_identity_spec, anddegrees_of_freedom_specJSON objects. Dynamic creatives also acceptobject_story_specfor Page identity. To opt out of the v26 Shops destination default, setdestination_specto{"destination_type":"WEBSITE_AND_SHOP_OPT_OUT"}. - Includes complete async-report result retrieval, token extension, and budget schedule fixes since v1.4.1. Some detailed Insights breakdowns require an Ads Manager opt-in; an empty response does not necessarily mean zero performance.
Installation
{
"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"
}
}
}
}
Environment Variables
| Variable | Required | Description |
|---|---|---|
META_ADS_ACCESS_TOKEN |
Yes | Meta Marketing API access token |
META_AD_ACCOUNT_ID |
Yes | Ad account ID (numeric, without act_ prefix) |
META_APP_ID |
Optional | App ID — required for token exchange/extension and debug |
META_APP_SECRET |
Optional | App secret — required for token exchange/extension and debug |
META_BUSINESS_ID |
Optional | Business Manager ID — required for business tools |
META_PIXEL_ID |
Optional | Pixel ID — required for conversion tools |
Tools (134)
Campaign Management (25)
Similar plugs
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io