Skip to main content
Glama

meta-ads-mcp

npm version License: MIT

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, and create_creative to build a full funnel

  • "Check how my ads are performing today" — use get_account_insights or get_campaign_insights with today's date range

  • "Pause all campaigns with ROAS below 2" — use list_campaigns + get_campaign_insights to find underperformers, then update_campaign to pause

  • "Set up A/B test between two ad creatives" — use create_experiment to run a controlled test between ad sets

  • "Create a lookalike audience from my customers" — use create_custom_audience, add_users_to_audience, then create_lookalike_audience

  • "Upload ad images and create a carousel ad" — use upload_image for each image, then create_creative with carousel format

  • "Get a detailed performance report for last 30 days" — use create_async_report for large date ranges, then get_async_report to retrieve

  • "Search the Facebook Ad Library for competitor ads" — use search_ad_library to find public ad data

  • "Set up automated rules to pause underperforming ads" — use create_rule with conditions like CPA > threshold

  • "Manage my product catalog for dynamic ads" — use create_catalog, create_feed, and upload_feed to set up dynamic product ads

Related MCP server: Meta Ads MCP Server

What's New in v1.6.0

  • create_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.

  • 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_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.

  • Hourly schedules accept minute ranges and days (Sunday = 0); specify 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.

What's New in v1.5.0

  • Conversion tools validate the existing 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.

  • 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"}.

  • 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

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)

Tool

Description

list_campaigns

List campaigns with filtering and pagination

get_campaign

Get campaign details by ID

create_campaign

Create a new campaign

update_campaign

Update campaign settings

delete_campaign

Delete a campaign

copy_campaign

Copy an existing campaign with ad sets and ads

get_campaign_adsets

List ad sets within a campaign

get_campaign_ads

List ads within a campaign

get_campaign_leads

Get leads from a campaign

list_adsets

List ad sets with filtering

get_adset

Get ad set details by ID

create_adset

Create a new ad set

update_adset

Update ad set settings

delete_adset

Delete an ad set

copy_adset

Copy an existing ad set to same or different campaign

get_adset_targeting_sentence

Get human-readable targeting description

get_adset_ads

List ads within an ad set

get_adset_leads

Get leads from an ad set

list_ads

List ads with filtering

get_ad

Get ad details by ID

create_ad

Create a new ad

update_ad

Update ad settings

delete_ad

Delete an ad

copy_ad

Copy an existing ad to same or different ad set

get_ad_preview

Generate ad preview HTML

get_delivery_estimate

Get delivery estimate for an ad set

Creatives (6)

Tool

Description

list_creatives

List ad creatives

get_creative

Get creative details

create_creative

Create a new ad creative

update_creative

Update an ad creative

create_dynamic_creative

Create a dynamic creative

generate_preview

Generate ad preview from creative spec without an existing ad

Media Assets (12)

Tool

Description

list_images

List ad images

upload_image

Upload an image from a URL or local file

get_image

Get image details

delete_image

Delete an image

list_videos

List ad videos

upload_video

Upload a video from a URL or local file

get_video

Get video details

delete_video

Delete a video

list_canvases

List Instant Experience canvases

get_canvas

Get canvas details

create_canvas

Create a canvas

delete_canvas

Delete a canvas

Audiences & Targeting (16)

Tool

Description

list_custom_audiences

List custom audiences

get_audience

Get audience details

create_custom_audience

Create a custom audience

update_audience

Update audience settings

delete_audience

Delete an audience

add_users_to_audience

Add users to a custom audience

remove_users_from_audience

Remove users from a custom audience

create_lookalike_audience

Create a lookalike audience

get_audience_health

Get audience health, delivery status, and match rate

list_saved_audiences

List saved audiences

get_saved_audience

Get saved audience details

search_targeting

Search targeting interests, behaviors, demographics

search_locations

Search targetable locations

search_targeting_map

Browse targeting category tree

get_reach_estimate

Estimate audience reach for targeting spec

get_targeting_suggestions

Get related targeting suggestions

Insights & Reporting (6)

Tool

Description

get_account_insights

Account-level performance metrics

get_campaign_insights

Campaign-level performance metrics

get_adset_insights

Ad set-level performance metrics

get_ad_insights

Ad-level performance metrics

create_async_report

Create an async insights report

get_async_report

Poll the report-run status, then fetch its /insights results when complete

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_form_leads

Get leads from a lead form

get_lead

Get a single lead by ID

create_lead_form

Create a new lead generation form on a page

list_lead_forms

List lead gen forms for a page

get_lead_form

Get lead form details

Catalog & Commerce (17)

Tool

Description

list_catalogs

List product catalogs

get_catalog

Get catalog details

create_catalog

Create a product catalog

update_catalog

Update a catalog

list_product_sets

List product sets in a catalog

create_product_set

Create a product set

get_product_set

Get product set details

update_product_set

Update a product set

list_products

List products in a catalog

get_product

Get product details

update_product

Update a product

list_feeds

List data feeds for a catalog

create_feed

Create a data feed

upload_feed

Upload data to a feed

get_feed_uploads

Get feed upload history

batch_products

Batch create, update, or delete products (up to 5,000/request)

get_batch_status

Check status of a catalog batch operation

Automation & Rules (5)

Tool

Description

list_rules

List automated rules

get_rule

Get rule details

create_rule

Create an automated rule

update_rule

Update a rule

delete_rule

Delete a rule

Experiments (5)

Tool

Description

list_experiments

List A/B test experiments

create_experiment

Create an experiment

get_experiment

Get experiment details

update_experiment

Update an experiment

get_experiment_results

Get experiment results

Conversions (4)

Tool

Description

send_conversion_event

Send server-side conversion event via Conversions API

send_offline_event

Send an offline conversion event

list_offline_event_sets

List offline event sets

create_offline_event_set

Create an offline event set

Budget & Planning (8)

Tool

Description

list_budget_schedules

List schedules from a campaign or ad set budget_schedules edge

create_budget_schedule

Create a schedule on a campaign or ad set

update_budget_schedule

Update a budget schedule

delete_budget_schedule

Delete a budget schedule

list_rf_predictions

List Reach & Frequency predictions

create_rf_prediction

Create a Reach & Frequency prediction

get_rf_prediction

Get prediction details

delete_rf_prediction

Delete a prediction

Brand Safety (5)

Tool

Description

list_block_lists

List publisher block lists

create_block_list

Create a block list

add_to_block_list

Add URLs/domains to a block list

remove_from_block_list

Remove entries from a block list

delete_block_list

Delete a block list

Account & Business (15)

Tool

Description

get_ad_account

Get ad account details

list_ad_accounts

List ad accounts for a business

update_ad_account

Update ad account settings

get_account_activities

Get account activity log

list_account_users

List users with access to the account

list_businesses

List businesses you have access to

get_business

Get business details

list_business_ad_accounts

List ad accounts in a business

list_business_users

List users in a business

add_business_user

Add a user to a business

remove_business_user

Remove a user from a business

list_business_pages

List Facebook Pages owned by a business

list_business_instagram_accounts

List Instagram accounts owned by a business

list_system_users

List system users for a business

create_system_user

Create a system user

Auth & Token (3)

Tool

Description

exchange_token

Exchange short-lived token for long-lived token

refresh_token

Extend a valid long-lived user token through the documented exchange flow

debug_token

Debug/inspect token metadata

Ad Library (1)

Tool

Description

search_ad_library

Search Meta Ad Library for public ad data

Resources (3)

URI

Description

ads://account

Ad account overview — status, balance, currency, timezone, and total spend

ads://campaigns-overview

All active campaigns with budget information

ads://spending-today

Today's spending summary — spend, impressions, clicks, and reach

Prompts (3)

Prompt

Description

campaign_wizard

Step-by-step guide to create a full ad campaign from scratch

performance_report

Analyze ad performance with detailed breakdowns and recommendations

audience_builder

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

ads_management

All campaign, ad set, ad, and creative CRUD operations

ads_read

All read/list operations and insights

business_management

Business tools, system users, account assignments

leads_retrieval

Lead form and lead data tools

catalog_management

Catalog, product set, product, and feed tools

pages_read_engagement

Lead forms linked to pages

License

MIT

Available Tools

134 tools
add_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

    B3.2/5.0

    Scored across 134 tools

    Disambiguation3/5

    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.

    Naming Consistency5/5

    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.

    Tool Count1/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An 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.
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP 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