meta-ads-mcp
This MCP server lets you manage Facebook & Instagram advertising end-to-end through the Meta Marketing API.
Campaigns & Ads: create, list, update, delete, copy campaigns, ad sets, and ads; preview ads and estimate delivery.
Creatives & Media: build creatives/dynamic creatives, upload images and videos, manage Instant Experience canvases, generate previews.
Audiences & Targeting: manage custom/lookalike/saved audiences, add users, search interests and locations, estimate reach.
Insights & Reporting: pull account/campaign/ad set/ad performance metrics and run async reports.
Leads: create and list lead forms, retrieve lead data.
Catalog & Commerce: manage catalogs, product sets, products, feeds, and batch operations.
Automation & Experiments: create/update automated rules and A/B test experiments.
Conversions: send server-side and offline conversion events.
Budget, Brand Safety, Account & Business: manage budget schedules, RF predictions, block lists, ad accounts, business users/pages, system users, and tokens.
Ad Library: search public competitor ads.
Provides tools for managing Facebook ad campaigns, ad sets, ads, and lead generation forms, including performance tracking and audience targeting.
Enables management of Instagram advertising through the Meta Marketing API, supporting creative asset management and campaign performance analysis.
Comprehensive integration with the Meta Marketing API v25.0 for managing ad accounts, product catalogs, business assets, automated rules, and cross-platform marketing insights.
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
Related MCP server: Meta Ads MCP Server
What's New in v1.6.0
create_adsetacceptsbid_amount; creation and updates acceptdsa_beneficiaryanddsa_payor. For EU-targeted ads, supply each required value or configure the corresponding account default. The payer does not automatically copy the beneficiary.Ad and ad-set lists use campaign/ad-set edges when scoped. Combined campaign/ad-set filters and explicit account IDs are checked for consistency.
create_adsetandupdate_adsetacceptdestination_type,attribution_spec,adset_schedule,pacing_type, andvalidate_only. Existing calls still perform their requested writes; setvalidate_only: trueto ask Meta to validate without mutation. A successful validation does not create an ad set.Hourly schedules accept minute ranges and days (Sunday = 0); specify
timezone_typeasUSERorADVERTISER. Scheduling addsday_partingpacing. Meta validates effective lifetime budgeting, objective eligibility, and attribution restrictions. No budget or status is changed automatically.create_custom_audienceaccepts a JSONrule,pixel_id, andretention_daysfor rule-based audiences. Audience creation is a real write, not a dry run.
See the official ad-set creation and ad-set update contracts.
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
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"
}
}
}
}Environment Variables
Variable | Required | Description |
| Yes | Meta Marketing API access token |
| Yes | Ad account ID (numeric, without |
| Optional | App ID — required for token exchange/extension and debug |
| Optional | App secret — required for token exchange/extension and debug |
| Optional | Business Manager ID — required for business tools |
| Optional | Pixel ID — required for conversion tools |
Tools (134)
Campaign Management (25)
Tool | Description |
| List campaigns with filtering and pagination |
| Get campaign details by ID |
| Create a new campaign |
| Update campaign settings |
| Delete a campaign |
| Copy an existing campaign with ad sets and ads |
| List ad sets within a campaign |
| List ads within a campaign |
| Get leads from a campaign |
| List ad sets with filtering |
| Get ad set details by ID |
| Create a new ad set |
| Update ad set settings |
| Delete an ad set |
| Copy an existing ad set to same or different campaign |
| Get human-readable targeting description |
| List ads within an ad set |
| Get leads from an ad set |
| List ads with filtering |
| Get ad details by ID |
| Create a new ad |
| Update ad settings |
| Delete an ad |
| Copy an existing ad to same or different ad set |
| Generate ad preview HTML |
| Get delivery estimate for an ad set |
Creatives (6)
Tool | Description |
| List ad creatives |
| Get creative details |
| Create a new ad creative |
| Update an ad creative |
| Create a dynamic creative |
| Generate ad preview from creative spec without an existing ad |
Media Assets (12)
Tool | Description |
| List ad images |
| Upload an image from a URL or local file |
| Get image details |
| Delete an image |
| List ad videos |
| Upload a video from a URL or local file |
| Get video details |
| Delete a video |
| List Instant Experience canvases |
| Get canvas details |
| Create a canvas |
| Delete a canvas |
Audiences & Targeting (16)
Tool | Description |
| List custom audiences |
| Get audience details |
| Create a custom audience |
| Update audience settings |
| Delete an audience |
| Add users to a custom audience |
| Remove users from a custom audience |
| Create a lookalike audience |
| Get audience health, delivery status, and match rate |
| List saved audiences |
| Get saved audience details |
| Search targeting interests, behaviors, demographics |
| Search targetable locations |
| Browse targeting category tree |
| Estimate audience reach for targeting spec |
| Get related targeting suggestions |
Insights & Reporting (6)
Tool | Description |
| Account-level performance metrics |
| Campaign-level performance metrics |
| Ad set-level performance metrics |
| Ad-level performance metrics |
| Create an async insights report |
| Poll the report-run status, then fetch its |
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.
Leads (5)
Tool | Description |
| Get leads from a lead form |
| Get a single lead by ID |
| Create a new lead generation form on a page |
| List lead gen forms for a page |
| Get lead form details |
Catalog & Commerce (17)
Tool | Description |
| List product catalogs |
| Get catalog details |
| Create a product catalog |
| Update a catalog |
| List product sets in a catalog |
| Create a product set |
| Get product set details |
| Update a product set |
| List products in a catalog |
| Get product details |
| Update a product |
| List data feeds for a catalog |
| Create a data feed |
| Upload data to a feed |
| Get feed upload history |
| Batch create, update, or delete products (up to 5,000/request) |
| Check status of a catalog batch operation |
Automation & Rules (5)
Tool | Description |
| List automated rules |
| Get rule details |
| Create an automated rule |
| Update a rule |
| Delete a rule |
Experiments (5)
Tool | Description |
| List A/B test experiments |
| Create an experiment |
| Get experiment details |
| Update an experiment |
| Get experiment results |
Conversions (4)
Tool | Description |
| Send server-side conversion event via Conversions API |
| Send an offline conversion event |
| List offline event sets |
| Create an offline event set |
Budget & Planning (8)
Tool | Description |
| List schedules from a campaign or ad set |
| Create a schedule on a campaign or ad set |
| Update a budget schedule |
| Delete a budget schedule |
| List Reach & Frequency predictions |
| Create a Reach & Frequency prediction |
| Get prediction details |
| Delete a prediction |
Brand Safety (5)
Tool | Description |
| List publisher block lists |
| Create a block list |
| Add URLs/domains to a block list |
| Remove entries from a block list |
| Delete a block list |
Account & Business (15)
Tool | Description |
| Get ad account details |
| List ad accounts for a business |
| Update ad account settings |
| Get account activity log |
| List users with access to the account |
| List businesses you have access to |
| Get business details |
| List ad accounts in a business |
| List users in a business |
| Add a user to a business |
| Remove a user from a business |
| List Facebook Pages owned by a business |
| List Instagram accounts owned by a business |
| List system users for a business |
| Create a system user |
Auth & Token (3)
Tool | Description |
| Exchange short-lived token for long-lived token |
| Extend a valid long-lived user token through the documented exchange flow |
| Debug/inspect token metadata |
Ad Library (1)
Tool | Description |
| Search Meta Ad Library for public ad data |
Resources (3)
URI | Description |
| Ad account overview — status, balance, currency, timezone, and total spend |
| All active campaigns with budget information |
| Today's spending summary — spend, impressions, clicks, and reach |
Prompts (3)
Prompt | Description |
| Step-by-step guide to create a full ad campaign from scratch |
| Analyze ad performance with detailed breakdowns and recommendations |
| Build and refine target audiences using Meta's targeting tools |
Permissions Required
Your Meta access token needs the following permissions depending on which tools you use:
Permission | Tools |
| All campaign, ad set, ad, and creative CRUD operations |
| All read/list operations and insights |
| Business tools, system users, account assignments |
| Lead form and lead data tools |
| Catalog, product set, product, and feed tools |
| Lead forms linked to pages |
License
MIT
Available Tools
134 toolsadd_business_userA
Add a user to the configured business by email. Requires META_BUSINESS_ID env var.
Inputs: role (required), email (required).
add_to_block_listA
Add publisher URLs to an existing block list.
Inputs: urls (required), list_id (required).
add_users_to_audienceA
Add users to a custom audience. Payload must be a JSON string containing hashed user data with a schema array defining the data types (e.g. EMAIL, PHONE, FN, LN).
Inputs: payload (required), audience_id (required).
batch_productsA
Batch create, update, or delete products in a catalog. Supports up to 5,000 items per request. Update operations support upsert.
Inputs: requests (required), catalog_id (required), allow_upsert.
copy_adA
Copy an existing ad. Creates a duplicate within the same or different ad set.
Inputs: ad_id (required), name, status, adset_id.
copy_adsetA
Copy an existing ad set. Creates a duplicate within the same or different campaign.
Inputs: adset_id (required), name, status, deep_copy, +1 more.
copy_campaignA
Copy an existing campaign. Creates a duplicate with optional name override. Copies structure including ad sets and ads.
Inputs: campaign_id (required), name, status, deep_copy.
create_adC
Create a new ad. Requires name, adset_id, and creative (JSON object_story_spec). Defaults to PAUSED status.
Inputs: name (required), adset_id (required), creative (required), status, +2 more.
create_adsetB
Create a new ad set. Requires name, campaign_id, budget, optimization_goal, billing_event, and targeting. Defaults to PAUSED status.
Inputs: name (required), targeting (required), campaign_id (required), billing_event (required), +17 more.
create_async_reportA
Create an async insight report for large data queries. Returns a report_run_id to poll with get_async_report.
Inputs: level, fields, filtering, account_id, +4 more.
create_block_listC
Create a new publisher block list for the ad account.
Inputs: name (required), account_id.
create_budget_scheduleC
Create a budget schedule on a campaign or ad set.
Inputs: time_end (required), parent_id (required), time_start (required), budget_value (required), +2 more.
create_campaignA
Create a new ad campaign. Defaults to PAUSED status. Requires name and objective. Budget can be set at campaign or ad set level.
Inputs: name (required), objective (required), status, spend_cap, +9 more.
create_canvasB
Create a new Instant Experience (Canvas) on a Facebook Page. Requires page_id and body_elements JSON array defining the canvas layout.
Inputs: page_id (required), body_elements (required), name.
create_catalogB
Create a new product catalog for the ad account.
Inputs: name (required), vertical, account_id.
create_creativeA
Create a new ad creative with object_story_spec. The spec defines the ad content (link, photo, or video) and the associated Facebook Page. Notes for v26.0: poll_spec and the poll type under interactive_components_spec are no longer supported and will be rejected. If the advertiser has a shop, eligible creatives now default to destination_spec.destination_type=WEBSITE_AND_SHOP — set it to WEBSITE_AND_SHOP_OPT_OUT to opt out.
Inputs: name (required), object_story_spec (required), url_tags, account_id, +4 more.
create_custom_audienceB
Create a new custom audience. Subtype determines the audience source (CUSTOM, WEBSITE, APP, OFFLINE_CONVERSION, LOOKALIKE, ENGAGEMENT, etc.).
Inputs: name (required), subtype (required), rule, pixel_id, +4 more.
create_dynamic_creativeA
Create a dynamic creative with asset_feed_spec. Meta automatically combines different images, videos, titles, bodies, and CTAs to find the best performing combinations.
Inputs: name (required), asset_feed_spec (required), account_id, destination_spec, +3 more.
create_experimentB
Create a new A/B test experiment (ad study).
Inputs: name (required), cells (required), end_time (required), start_time (required), +3 more.
create_feedB
Create a new product feed for a catalog.
Inputs: name (required), catalog_id (required), file_url, schedule.
create_lead_formB
Create a new lead generation form on a Facebook Page. Requires pages_manage_ads permission.
Inputs: name (required), page_id (required), questions (required), privacy_policy_url (required), +2 more.
create_lookalike_audienceB
Create a lookalike audience based on an existing custom audience. Ratio (1-10) determines how closely the new audience resembles the source.
Inputs: name (required), lookalike_spec (required), origin_audience_id (required), account_id.
create_offline_event_setC
Create a new offline conversion data set.
Inputs: name (required), account_id, description.
create_product_setB
Create a new product set within a catalog.
Inputs: name (required), catalog_id (required), filter.
create_rf_predictionC
Create a new reach & frequency prediction. Provide targeting spec as JSON string, budget in cents, and scheduling info.
Inputs: budget (required), stop_time (required), start_time (required), target_spec (required), +3 more.
create_ruleB
Create a new automated rule for the ad account.
Inputs: name (required), execution_spec (required), evaluation_spec (required), account_id, +1 more.
create_system_userB
Create a new system user in the configured business. Requires META_BUSINESS_ID env var.
Inputs: name (required), role (required).
debug_tokenA
Debug an access token to inspect its properties, permissions, expiration, and validity. Requires META_APP_ID and META_APP_SECRET.
Inputs: input_token (required).
delete_adA
Delete an ad. This action is irreversible.
Inputs: ad_id (required).
delete_adsetA
Delete an ad set. This action is irreversible.
Inputs: adset_id (required).
delete_audienceA
Delete a custom audience. This action is irreversible.
Inputs: audience_id (required).
delete_block_listA
Delete a publisher block list. This action is irreversible.
Inputs: list_id (required).
delete_budget_scheduleA
Delete a budget schedule. This action is irreversible.
Inputs: schedule_id (required).
delete_campaignA
Delete a campaign. This action is irreversible.
Inputs: campaign_id (required).
delete_canvasA
Delete an Instant Experience (Canvas). This action is irreversible.
Inputs: canvas_id (required).
delete_imageB
Delete an ad image by hash. This action is irreversible.
Inputs: hash (required), account_id.
delete_rf_predictionA
Delete a reach & frequency prediction. This action is irreversible.
Inputs: prediction_id (required).
delete_ruleB
Delete an automated rule.
Inputs: rule_id (required).
delete_videoA
Delete an ad video. This action is irreversible.
Inputs: video_id (required).
exchange_tokenA
Exchange a short-lived access token for a long-lived token. Requires META_APP_ID and META_APP_SECRET to be configured.
Inputs: short_lived_token (required).
generate_previewA
Generate an ad preview without needing an existing ad. Provide creative spec directly to see how it would look.
Inputs: creative (required), ad_format (required), account_id.
get_account_activitiesB
Get activity log for the ad account. Shows changes made to campaigns, ad sets, ads, etc.
Inputs: after, limit, fields, account_id.
get_account_insightsC
Get performance insights for the ad account. Returns metrics like impressions, clicks, spend, reach, etc.
Inputs: level, fields, filtering, account_id, +4 more.
get_adA
Get details of a specific ad by ID.
Inputs: ad_id (required), fields.
get_ad_accountB
Get details of the configured ad account including status, balance, currency, timezone, and spend info.
Inputs: fields, account_id.
get_ad_insightsC
Get performance insights for a specific ad.
Inputs: ad_id (required), level, fields, filtering, +4 more.
get_ad_previewB
Get a preview of an ad in a specific format. Returns HTML iframe for rendering.
Inputs: ad_id (required), ad_format (required).
get_adsetC
Get details of a specific ad set by ID.
Inputs: adset_id (required), fields.
get_adset_adsA
Get all ads belonging to a specific ad set.
Inputs: adset_id (required), after, limit, fields.
get_adset_insightsB
Get performance insights for a specific ad set.
Inputs: adset_id (required), level, fields, filtering, +4 more.
get_adset_leadsA
Get leads generated by a specific ad set. Requires leads_retrieval permission.
Inputs: adset_id (required), after, limit, fields.
get_adset_targeting_sentenceB
Get human-readable targeting description for an ad set. Converts targeting spec into readable sentences.
Inputs: adset_id (required).
get_async_reportB
Check status and retrieve results of an async insight report.
Inputs: report_run_id (required), after, limit, fields, +1 more.
get_audienceA
Get details of a specific custom audience by ID.
Inputs: audience_id (required), fields.
get_audience_healthA
Get health status and delivery readiness of a custom audience. Shows match rate, size, and operation status.
Inputs: audience_id (required).
get_batch_statusC
Check the status of a catalog batch operation.
Inputs: handle (required), catalog_id (required).
get_businessB
Get details of a specific business by ID.
Inputs: business_id (required), fields.
get_campaignA
Get details of a specific campaign by ID.
Inputs: campaign_id (required), fields.
get_campaign_adsA
Get all ads belonging to a specific campaign.
Inputs: campaign_id (required), after, limit, fields.
get_campaign_adsetsA
Get all ad sets belonging to a specific campaign.
Inputs: campaign_id (required), after, limit, fields.
get_campaign_insightsC
Get performance insights for a specific campaign.
Inputs: campaign_id (required), level, fields, filtering, +4 more.
get_campaign_leadsA
Get leads generated by a specific campaign. Requires leads_retrieval permission.
Inputs: campaign_id (required), after, limit, fields.
get_canvasA
Get details of a specific Instant Experience (Canvas) by ID.
Inputs: canvas_id (required), fields.
get_catalogB
Get details of a specific product catalog.
Inputs: catalog_id (required), fields.
get_creativeA
Get details of a specific ad creative by ID.
Inputs: creative_id (required), fields.
get_delivery_estimateA
Get delivery estimate for an ad set, including estimated daily reach. Note: the delivery_estimate edge exists on the ad set (and ad account) node, not on individual ads. Also note: as of v26.0, the daily_outcomes_curve, budget_guardrail, and estimate_dau fields are no longer returned (removed with no replacement).
Inputs: adset_id (required), optimization_goal.
get_experimentB
Get details of a specific experiment (ad study).
Inputs: experiment_id (required), fields.
get_experiment_resultsB
Get results/cells of an experiment (ad study).
Inputs: experiment_id (required), fields.
get_feed_uploadsB
Get upload history for a product feed.
Inputs: feed_id (required), after, limit, fields.
get_form_leadsB
Get leads submitted through a lead generation form.
Inputs: form_id (required), after, limit, fields.
get_imageA
Get details of a specific ad image by ID.
Inputs: image_id (required), fields.
get_leadA
Get details of a specific lead by ID.
Inputs: lead_id (required), fields.
get_lead_formC
Get details of a specific lead generation form.
Inputs: form_id (required), fields.
get_productA
Get details of a specific product.
Inputs: product_id (required), fields.
get_product_setA
Get details of a specific product set.
Inputs: set_id (required), fields.
get_reach_estimateB
Get estimated audience reach for a given targeting specification. Useful for planning campaigns before creating them.
Inputs: targeting_spec (required), account_id.
get_rf_predictionA
Get details of a specific reach & frequency prediction by ID.
Inputs: prediction_id (required), fields.
get_ruleB
Get details of a specific automated rule.
Inputs: rule_id (required), fields.
get_saved_audienceA
Get details of a specific saved audience by ID.
Inputs: audience_id (required), fields.
get_targeting_suggestionsB
Get targeting suggestions based on existing targeting criteria. Meta suggests related interests, behaviors, and demographics.
Inputs: targeting_list (required), account_id.
get_videoA
Get details of a specific ad video by ID.
Inputs: video_id (required), fields.
list_account_usersC
List users who have access to the ad account with their roles and permissions.
Inputs: after, limit, fields, account_id.
list_ad_accountsA
List all ad accounts accessible by the current user. Returns paginated results.
Inputs: after, limit, fields.
list_adsB
List ads in the ad account. Optionally filter by campaign, ad set, or status.
Inputs: after, limit, fields, status, +3 more.
list_adsetsB
List ad sets in the ad account. Optionally filter by campaign or status.
Inputs: after, limit, fields, status, +2 more.
list_block_listsB
List publisher block lists for the ad account. Returns paginated results.
Inputs: after, limit, fields, account_id.
list_budget_schedulesB
List budget schedules attached to a campaign or ad set. Returns paginated results.
Inputs: parent_id (required), after, limit, fields, +1 more.
list_business_ad_accountsA
List ad accounts owned by the configured business. Requires META_BUSINESS_ID env var.
Inputs: after, limit, fields.
list_businessesA
List all businesses accessible by the current user. Returns paginated results.
Inputs: after, limit, fields.
list_business_instagram_accountsA
List Instagram accounts owned by the configured business. Requires META_BUSINESS_ID env var.
Inputs: after, limit, fields.
list_business_pagesA
List Facebook Pages owned by the configured business. Requires META_BUSINESS_ID env var.
Inputs: after, limit, fields.
list_business_usersA
List users of the configured business. Requires META_BUSINESS_ID env var.
Inputs: after, limit, fields.
list_campaignsB
List campaigns in the ad account. Supports filtering by status and objective. Returns paginated results.
Inputs: after, limit, before, fields, +3 more.
list_canvasesB
List Instant Experience (Canvas) creatives in the ad account.
Inputs: after, limit, fields, account_id.
list_catalogsB
List product catalogs for the ad account.
Inputs: after, limit, fields, account_id.
list_creativesC
List ad creatives in the ad account.
Inputs: after, limit, fields, account_id.
list_custom_audiencesC
List custom audiences in the ad account.
Inputs: after, limit, fields, account_id.
list_experimentsA
List A/B test experiments (ad studies) for the ad account.
Inputs: after, limit, fields, account_id.
list_feedsA
List product feeds for a catalog.
Inputs: catalog_id (required), after, limit, fields.
list_imagesC
List ad images uploaded to the ad account.
Inputs: after, limit, fields, account_id.
list_lead_formsB
List lead generation forms for a Facebook Page.
Inputs: page_id (required), after, limit, fields.
list_offline_event_setsC
List offline conversion data sets for the ad account.
Inputs: after, limit, fields, account_id.
list_productsB
List products within a catalog.
Inputs: catalog_id (required), after, limit, fields, +1 more.
list_product_setsB
List product sets within a catalog.
Inputs: catalog_id (required), after, limit, fields.
list_rf_predictionsB
List reach & frequency predictions for the ad account. Returns paginated results.
Inputs: after, limit, fields, account_id.
list_rulesC
List automated rules for the ad account.
Inputs: after, limit, fields, account_id.
list_saved_audiencesB
List saved audiences in the ad account. Saved audiences are reusable targeting presets.
Inputs: after, limit, fields, account_id.
list_system_usersA
List system users of the configured business. Requires META_BUSINESS_ID env var.
Inputs: after, limit, fields.
list_videosB
List ad videos uploaded to the ad account.
Inputs: after, limit, fields, account_id.
refresh_tokenA
Extend a valid long-lived user access token through Meta's documented token exchange flow. Requires META_APP_ID and META_APP_SECRET.
Inputs: long_lived_token (required).
remove_business_userA
Remove a user from the configured business. Requires META_BUSINESS_ID env var.
Inputs: user_id (required).
remove_from_block_listA
Remove publisher URLs from an existing block list.
Inputs: urls (required), list_id (required).
remove_users_from_audienceB
Remove users from a custom audience. Payload format is the same as add_users_to_audience.
Inputs: payload (required), audience_id (required).
search_ad_libraryB
Search the Meta Ad Library for ads. Allows searching by keywords, countries, and ad type. Useful for competitive research and transparency.
Inputs: search_terms (required), ad_reached_countries (required), after, limit, +3 more.
search_locationsB
Search for geographic locations (countries, regions, cities, zip codes) for ad targeting.
Inputs: q (required), limit, location_types.
search_targetingA
Search for targeting options (interests, behaviors, demographics, etc.) by keyword. Use this to find valid targeting IDs for ad set targeting specs.
Inputs: q (required), type, limit, account_id.
search_targeting_mapA
Map targeting IDs to their full details (names, types, paths). Useful for resolving IDs obtained from other endpoints.
Inputs: targeting_list (required), account_id.
send_conversion_eventA
Send a server-side conversion event via the Conversions API (pixel).
Inputs: events (required), test_event_code.
send_offline_eventA
Send offline conversion events through the Conversions API to a dataset. Store events must use action_source=physical_store.
Inputs: events (required), event_set_id (required), test_event_code.
update_adA
Update an existing ad. Only provided fields will be modified.
Inputs: ad_id (required), name, status, creative, +1 more.
update_ad_accountB
Update the configured ad account settings. Only provided fields will be modified.
Inputs: name, spend_cap, account_id, timezone_name.
update_adsetB
Update an existing ad set. Only provided fields will be modified.
Inputs: adset_id (required), name, status, end_time, +13 more.
update_audienceA
Update an existing custom audience. Only provided fields will be modified.
Inputs: audience_id (required), name, description.
update_budget_scheduleC
Update an existing budget schedule. Only provided fields will be modified.
Inputs: schedule_id (required), time_end, time_start, budget_value, +1 more.
update_campaignB
Update an existing campaign. Only provided fields will be modified.
Inputs: campaign_id (required), name, status, spend_cap, +5 more.
update_catalogC
Update an existing product catalog.
Inputs: catalog_id (required), name.
update_creativeA
Update an existing ad creative. Only name and url_tags can be modified after creation.
Inputs: creative_id (required), name, url_tags.
update_experimentA
Update an existing experiment (ad study).
Inputs: experiment_id (required), name, description.
update_productB
Update an existing product in a catalog.
Inputs: product_id (required), url, name, price, +3 more.
update_product_setC
Update an existing product set.
Inputs: set_id (required), name, filter.
update_ruleC
Update an existing automated rule.
Inputs: rule_id (required), name, status, schedule_spec, +2 more.
upload_feedC
Upload/trigger a feed file upload for a product feed.
Inputs: url (required), feed_id (required).
upload_imageA
Upload an ad image from a public URL or a local file. Returns image hash for use in ad creatives. Note: fetching from a URL requires the app to have Meta's URL-fetch capability — if that fails with an OAuthException 'Application does not have the capability to make this API call', use file_path to upload the raw bytes instead, which does not require that capability.
Inputs: url, name, file_path, account_id.
upload_videoB
Upload an ad video from a public URL or a local file. Returns video ID for use in ad creatives.
Inputs: title, file_url, file_path, account_id, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 134 tools
Many tools have clearly distinct purposes (e.g., create_campaign vs create_adset), but the sheer number (134) creates inevitable overlap among lead-related tools (get_lead, get_campaign_leads, get_adset_leads, get_form_leads), targeting search tools (search_targeting, search_targeting_map), and business/account listing tools. Descriptions help, but similar naming patterns and volume increase misselection risk.
All tool names use consistent snake_case with a verb_noun pattern (list_campaigns, create_campaign, delete_campaign, get_campaign_insights). Even compound names like add_users_to_audience and remove_from_block_list follow a predictable verb_object structure, with no mixing of conventions.
134 tools is far beyond the typical well-scoped range (3–15) and constitutes an extreme mismatch for a single MCP server. Even a comprehensive API surface could be organized into fewer, more focused tools or resources; the large count makes discovery and correct selection difficult.
The server covers an extensive range of Meta Ads operations including campaigns, ad sets, ads, creatives, audiences, catalogs, rules, and business management. However, some lifecycle gaps exist (e.g., no delete for creatives, catalogs, product sets, or saved audiences), though agents can often work around these.
Maintenance
Related MCP Connectors
Meta Ads MCP server: run Facebook and Instagram campaigns, ad sets, ads and reports from AI.
Meta Ads MCP server: 10 tools for Facebook and Instagram reports, ads, Ad Library. Ads start paused.
Meta Ads MCP: Facebook and Instagram reports, campaigns, creatives, audiences. Approval on writes.
Hosted Meta Ads MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- AlicenseBqualityCmaintenanceMCP server for Instagram Graph API, Threads API & Meta platform — posting, insights, comments, messaging66302 npm36MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for programmatic management of Meta (Facebook/Instagram) advertising campaigns through AI assistants. It enables campaign creation, ad set management, creative upload, analytics, audience management, and conversion tracking.4MIT
- AlicenseAqualityDmaintenanceMCP server that wraps the Meta Marketing API (Graph API v25.0) as semantic tools for LLM agents.181MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Meta/Facebook Marketing API allowing you to view and manage ad accounts, campaigns, ad sets, ads, and creatives, as well as fetch insights and upload ad images.MIT