meta-ads-mcp is an MCP server used to connect to the Meta Marketing API, helping users manage Facebook and Instagram ads. According to the materials, the project currently corresponds to Meta Marketing API v26.0 and provides 134 tools (the title also mentions v25.0 and 135 tools).
Purpose
The MCP is suitable for the following typical tasks:
- Create Facebook campaigns: use create_campaign, create_adset, create_ad, create_creative to build a complete funnel.
- View ad performance: use get_account_insights or get_campaign_insights, and specify a date range (such as today).
- Pause underperforming campaigns: use list_campaigns and get_campaign_insights to find campaigns with ROAS below 2, then use update_campaign to pause them.
- Set up A/B tests: use create_experiment to conduct controlled tests between ad sets.
- Create lookalike audiences: use create_custom_audience, add_users_to_audience, then create_lookalike_audience.
- Upload ad images and create carousel ads: use upload_image for each image, then use create_creative to create in carousel format.
- Get detailed performance reports: use create_async_report for large date ranges, then use get_async_report to get the results.
- Search competitor ads in the Facebook Ad Library: use search_ad_library to find public ad data.
- Set up automated rules: use create_rule to set conditions (such as CPA > threshold) to pause underperforming ads.
- Manage product catalogs for dynamic ads: use create_catalog, create_feed, upload_feed to set up dynamic product ads.
Main capabilities
The tool categories and quantities listed in the materials are as follows (specific tool names are not listed by category):- Campaign management (25 tools)
- Media assets (12 tools)
- Audiences and targeting (16 tools)
- Insights and reporting (6 tools)
- Catalog and commerce (17 tools)
- Automation and rules (5 tools)
- Experiments (5 tools)
- Conversions (4 tools)
- Budget and planning (8 tools)
- Brand safety (5 tools)
- Account and business (15 tools)
- Authentication and tokens (3 tools)
Usage
- Configure via environment variables (the specific variable names are not provided in the materials).
- A Meta access token is required, with the permissions required by the corresponding tools granted (the specific permission list is not fully provided in the materials).
- Date presets use lowercase Graph API identifiers, such as today, yesterday, last_7d, last_30d.
- create_async_report always creates an asynchronous job; get_async_report immediately returns the status, and by default retrieves the paginated results edge after the status becomes Job Completed.
Version update highlights (v1.5.0)
- The conversion tools validate existing event JSON input and send it as the required data array. test_event_code can be used to verify receipt in Events Manager; offline events use a dataset ID, and in-store events use action_source=physical_store.
- Creative creation accepts top-level 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"}.
- Since v1.4.1, includes complete asynchronous report result retrieval, token extension, and budget planning fixes.
- Some detailed insights breakdowns require Ads Manager opt-in; an empty response does not necessarily mean zero performance.
Limitations
- Some detailed insights breakdownsAds Manager opt-in is required; an empty response does not necessarily mean zero performance.
- The materials do not provide information such as specific environment variable names, a complete permission list, installation commands, pricing, or platform limitations.