Skip to content
Agentmart
Submit a tool

Meta Ads

MCP server for Meta Marketing API — Facebook & Instagram ad campaign management

Connector by mikusnuz · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 91
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/mikusnuz-meta-ads

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

MCP server for Meta Marketing API — Facebook & Instagram ad campaign management

Use cases: marketing-content

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.

Tools
74 read · 45 write · 15 delete
Secrets
2 (API keys, tokens or passwords)
Install scripts
None found
Runs as
Node.js package

Tools by what they do 134

Read from the source code; the running server may list different tools.

Read 74 · Look things up without changing anything.

  • debug_token
  • generate_preview
  • get_account_activities
  • get_account_insights
  • get_ad
  • get_ad_account
  • get_ad_insights
  • get_ad_preview
  • get_adset
  • get_adset_ads
  • get_adset_insights
  • get_adset_leads
Show 62 more tools
  • get_adset_targeting_sentence
  • get_async_report
  • get_audience
  • get_audience_health
  • get_batch_status
  • get_business
  • get_campaign
  • get_campaign_ads
  • get_campaign_adsets
  • get_campaign_insights
  • get_campaign_leads
  • get_canvas
  • get_catalog
  • get_creative
  • get_delivery_estimate
  • get_experiment
  • get_experiment_results
  • get_feed_uploads
  • get_form_leads
  • get_image
  • get_lead
  • get_lead_form
  • get_product
  • get_product_set
  • get_reach_estimate
  • get_rf_prediction
  • get_rule
  • get_saved_audience
  • get_targeting_suggestions
  • get_video
  • list_account_users
  • list_ad_accounts
  • list_ads
  • list_adsets
  • list_block_lists
  • list_budget_schedules
  • list_business_ad_accounts
  • list_business_instagram_accounts
  • list_business_pages
  • list_business_users
  • list_businesses
  • list_campaigns
  • list_canvases
  • list_catalogs
  • list_creatives
  • list_custom_audiences
  • list_experiments
  • list_feeds
  • list_images
  • list_lead_forms
  • list_offline_event_sets
  • list_product_sets
  • list_products
  • list_rf_predictions
  • list_rules
  • list_saved_audiences
  • list_system_users
  • list_videos
  • search_ad_library
  • search_locations
  • search_targeting
  • search_targeting_map

Write 45 · Create, change, send or run things.

  • add_business_user
  • add_to_block_list
  • add_users_to_audience
  • copy_ad
  • copy_adset
  • copy_campaign
  • create_ad
  • create_adset
  • create_async_report
  • create_block_list
  • create_budget_schedule
  • create_campaign
Show 33 more tools
  • create_canvas
  • create_catalog
  • create_creative
  • create_custom_audience
  • create_dynamic_creative
  • create_experiment
  • create_feed
  • create_lead_form
  • create_lookalike_audience
  • create_offline_event_set
  • create_product_set
  • create_rf_prediction
  • create_rule
  • create_system_user
  • exchange_token
  • refresh_token
  • send_conversion_event
  • send_offline_event
  • update_ad
  • update_ad_account
  • update_adset
  • update_audience
  • update_budget_schedule
  • update_campaign
  • update_catalog
  • update_creative
  • update_experiment
  • update_product
  • update_product_set
  • update_rule
  • upload_feed
  • upload_image
  • upload_video

Delete 15 · Delete, drop, revoke or wipe things.

  • batch_products
  • delete_ad
  • delete_adset
  • delete_audience
  • delete_block_list
  • delete_budget_schedule
  • delete_campaign
  • delete_canvas
  • delete_image
  • delete_rf_prediction
  • delete_rule
  • delete_video
Show 3 more tools
  • remove_business_user
  • remove_from_block_list
  • remove_users_from_audience

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • META_ADS_ACCESS_TOKEN
  • META_APP_SECRET

Other settings (environment variables or headers).

  • META_AD_ACCOUNT_ID
  • META_APP_ID
  • META_BUSINESS_ID
  • META_PIXEL_ID

Network hosts it talks to 3

  • github.com · found in code
  • glama.ai · found in code
  • graph.facebook.com · found in code

Files it touches

  • Any path the agent passes to its tools

Tools (134)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • add_business_user

    Add a user to the configured business by email. Requires META_BUSINESS_ID env var.

  • add_to_block_list

    Add publisher URLs to an existing block list.

  • add_users_to_audience

    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).

  • batch_products

    Batch create, update, or delete products in a catalog. Supports up to 5,000 items per request. Update operations support upsert.

  • copy_ad

    Copy an existing ad. Creates a duplicate within the same or different ad set.

  • copy_adset

    Copy an existing ad set. Creates a duplicate within the same or different campaign.

  • copy_campaign

    Copy an existing campaign. Creates a duplicate with optional name override. Copies structure including ad sets and ads.

  • create_ad

    Create a new ad. Requires name, adset_id, and creative (JSON object_story_spec). Defaults to PAUSED status.

  • create_adset

    Create a new ad set. Requires name, campaign_id, budget, optimization_goal, billing_event, and targeting. Defaults to PAUSED status.

  • create_async_report

    Create an async insight report for large data queries. Returns a report_run_id to poll with get_async_report.

  • create_block_list

    Create a new publisher block list for the ad account.

  • create_budget_schedule

    Create a budget schedule on a campaign or ad set.

  • create_campaign

    Create a new ad campaign. Defaults to PAUSED status. Requires name and objective. Budget can be set at campaign or ad set level.

  • create_canvas

    Create a new Instant Experience (Canvas) on a Facebook Page. Requires page_id and body_elements JSON array defining the canvas layout.

  • create_catalog

    Create a new product catalog for the ad account.

Show 119 more tools
  • create_creative

    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.

  • create_custom_audience

    Create a new custom audience. Subtype determines the audience source (CUSTOM, WEBSITE, APP, OFFLINE_CONVERSION, LOOKALIKE, ENGAGEMENT, etc.).

  • create_dynamic_creative

    Create a dynamic creative with asset_feed_spec. Meta automatically combines different images, videos, titles, bodies, and CTAs to find the best performing combinations.

  • create_experiment

    Create a new A/B test experiment (ad study).

  • create_feed

    Create a new product feed for a catalog.

  • create_lead_form

    Create a new lead generation form on a Facebook Page. Requires pages_manage_ads permission.

  • create_lookalike_audience

    Create a lookalike audience based on an existing custom audience. Ratio (1-10) determines how closely the new audience resembles the source.

  • create_offline_event_set

    Create a new offline conversion data set.

  • create_product_set

    Create a new product set within a catalog.

  • create_rf_prediction

    Create a new reach & frequency prediction. Provide targeting spec as JSON string, budget in cents, and scheduling info.

  • create_rule

    Create a new automated rule for the ad account.

  • create_system_user

    Create a new system user in the configured business. Requires META_BUSINESS_ID env var.

  • debug_token

    Debug an access token to inspect its properties, permissions, expiration, and validity. Requires META_APP_ID and META_APP_SECRET.

  • delete_ad

    Delete an ad. This action is irreversible.

  • delete_adset

    Delete an ad set. This action is irreversible.

  • delete_audience

    Delete a custom audience. This action is irreversible.

  • delete_block_list

    Delete a publisher block list. This action is irreversible.

  • delete_budget_schedule

    Delete a budget schedule. This action is irreversible.

  • delete_campaign

    Delete a campaign. This action is irreversible.

  • delete_canvas

    Delete an Instant Experience (Canvas). This action is irreversible.

  • delete_image

    Delete an ad image by hash. This action is irreversible.

  • delete_rf_prediction

    Delete a reach & frequency prediction. This action is irreversible.

  • delete_rule

    Delete an automated rule.

  • delete_video

    Delete an ad video. This action is irreversible.

  • exchange_token

    Exchange a short-lived access token for a long-lived token. Requires META_APP_ID and META_APP_SECRET to be configured.

  • generate_preview

    Generate an ad preview without needing an existing ad. Provide creative spec directly to see how it would look.

  • get_account_activities

    Get activity log for the ad account. Shows changes made to campaigns, ad sets, ads, etc.

  • get_account_insights

    Get performance insights for the ad account. Returns metrics like impressions, clicks, spend, reach, etc.

  • get_ad

    Get details of a specific ad by ID.

  • get_ad_account

    Get details of the configured ad account including status, balance, currency, timezone, and spend info.

  • get_ad_insights

    Get performance insights for a specific ad.

  • get_ad_preview

    Get a preview of an ad in a specific format. Returns HTML iframe for rendering.

  • get_adset

    Get details of a specific ad set by ID.

  • get_adset_ads

    Get all ads belonging to a specific ad set.

  • get_adset_insights

    Get performance insights for a specific ad set.

  • get_adset_leads

    Get leads generated by a specific ad set. Requires leads_retrieval permission.

  • get_adset_targeting_sentence

    Get human-readable targeting description for an ad set. Converts targeting spec into readable sentences.

  • get_async_report

    Check status and retrieve results of an async insight report.

  • get_audience

    Get details of a specific custom audience by ID.

  • get_audience_health

    Get health status and delivery readiness of a custom audience. Shows match rate, size, and operation status.

  • get_batch_status

    Check the status of a catalog batch operation.

  • get_business

    Get details of a specific business by ID.

  • get_campaign

    Get details of a specific campaign by ID.

  • get_campaign_ads

    Get all ads belonging to a specific campaign.

  • get_campaign_adsets

    Get all ad sets belonging to a specific campaign.

  • get_campaign_insights

    Get performance insights for a specific campaign.

  • get_campaign_leads

    Get leads generated by a specific campaign. Requires leads_retrieval permission.

  • get_canvas

    Get details of a specific Instant Experience (Canvas) by ID.

  • get_catalog

    Get details of a specific product catalog.

  • get_creative

    Get details of a specific ad creative by ID.

  • get_delivery_estimate

    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).

  • get_experiment

    Get details of a specific experiment (ad study).

  • get_experiment_results

    Get results/cells of an experiment (ad study).

  • get_feed_uploads

    Get upload history for a product feed.

  • get_form_leads

    Get leads submitted through a lead generation form.

  • get_image

    Get details of a specific ad image by ID.

  • get_lead

    Get details of a specific lead by ID.

  • get_lead_form

    Get details of a specific lead generation form.

  • get_product

    Get details of a specific product.

  • get_product_set

    Get details of a specific product set.

  • get_reach_estimate

    Get estimated audience reach for a given targeting specification. Useful for planning campaigns before creating them.

  • get_rf_prediction

    Get details of a specific reach & frequency prediction by ID.

  • get_rule

    Get details of a specific automated rule.

  • get_saved_audience

    Get details of a specific saved audience by ID.

  • get_targeting_suggestions

    Get targeting suggestions based on existing targeting criteria. Meta suggests related interests, behaviors, and demographics.

  • get_video

    Get details of a specific ad video by ID.

  • list_account_users

    List users who have access to the ad account with their roles and permissions.

  • list_ad_accounts

    List all ad accounts accessible by the current user. Returns paginated results.

  • list_ads

    List ads in the ad account. Optionally filter by campaign, ad set, or status.

  • list_adsets

    List ad sets in the ad account. Optionally filter by campaign or status.

  • list_block_lists

    List publisher block lists for the ad account. Returns paginated results.

  • list_budget_schedules

    List budget schedules attached to a campaign or ad set. Returns paginated results.

  • list_business_ad_accounts

    List ad accounts owned by the configured business. Requires META_BUSINESS_ID env var.

  • list_business_instagram_accounts

    List Instagram accounts owned by the configured business. Requires META_BUSINESS_ID env var.

  • list_business_pages

    List Facebook Pages owned by the configured business. Requires META_BUSINESS_ID env var.

  • list_business_users

    List users of the configured business. Requires META_BUSINESS_ID env var.

  • list_businesses

    List all businesses accessible by the current user. Returns paginated results.

  • list_campaigns

    List campaigns in the ad account. Supports filtering by status and objective. Returns paginated results.

  • list_canvases

    List Instant Experience (Canvas) creatives in the ad account.

  • list_catalogs

    List product catalogs for the ad account.

  • list_creatives

    List ad creatives in the ad account.

  • list_custom_audiences

    List custom audiences in the ad account.

  • list_experiments

    List A/B test experiments (ad studies) for the ad account.

  • list_feeds

    List product feeds for a catalog.

  • list_images

    List ad images uploaded to the ad account.

  • list_lead_forms

    List lead generation forms for a Facebook Page.

  • list_offline_event_sets

    List offline conversion data sets for the ad account.

  • list_product_sets

    List product sets within a catalog.

  • list_products

    List products within a catalog.

  • list_rf_predictions

    List reach & frequency predictions for the ad account. Returns paginated results.

  • list_rules

    List automated rules for the ad account.

  • list_saved_audiences

    List saved audiences in the ad account. Saved audiences are reusable targeting presets.

  • list_system_users

    List system users of the configured business. Requires META_BUSINESS_ID env var.

  • list_videos

    List ad videos uploaded to the ad account.

  • refresh_token

    Extend a valid long-lived user access token through Meta's documented token exchange flow. Requires META_APP_ID and META_APP_SECRET.

  • remove_business_user

    Remove a user from the configured business. Requires META_BUSINESS_ID env var.

  • remove_from_block_list

    Remove publisher URLs from an existing block list.

  • remove_users_from_audience

    Remove users from a custom audience. Payload format is the same as add_users_to_audience.

  • search_ad_library

    Search the Meta Ad Library for ads. Allows searching by keywords, countries, and ad type. Useful for competitive research and transparency.

  • search_locations

    Search for geographic locations (countries, regions, cities, zip codes) for ad targeting.

  • search_targeting

    Search for targeting options (interests, behaviors, demographics, etc.) by keyword. Use this to find valid targeting IDs for ad set targeting specs.

  • search_targeting_map

    Map targeting IDs to their full details (names, types, paths). Useful for resolving IDs obtained from other endpoints.

  • send_conversion_event

    Send a server-side conversion event via the Conversions API (pixel).

  • send_offline_event

    Send offline conversion events through the Conversions API to a dataset. Store events must use action_source=physical_store.

  • update_ad

    Update an existing ad. Only provided fields will be modified.

  • update_ad_account

    Update the configured ad account settings. Only provided fields will be modified.

  • update_adset

    Update an existing ad set. Only provided fields will be modified.

  • update_audience

    Update an existing custom audience. Only provided fields will be modified.

  • update_budget_schedule

    Update an existing budget schedule. Only provided fields will be modified.

  • update_campaign

    Update an existing campaign. Only provided fields will be modified.

  • update_catalog

    Update an existing product catalog.

  • update_creative

    Update an existing ad creative. Only name and url_tags can be modified after creation.

  • update_experiment

    Update an existing experiment (ad study).

  • update_product

    Update an existing product in a catalog.

  • update_product_set

    Update an existing product set.

  • update_rule

    Update an existing automated rule.

  • upload_feed

    Upload/trigger a feed file upload for a product feed.

  • upload_image

    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.

  • upload_video

    Upload an ad video from a public URL or a local file. Returns video ID for use in ad creatives.

Compare and alternatives

    Featured in

    Signals

    Stars
    91
    Forks
    23
    Open issues
    0
    Contributors
    1
    Weekly downloads
    229
    Last commit
    Oct 19, 2026 (9 days ago)
    Last release
    Oct 19, 2026 (9 days ago)
    Last package publish
    Oct 19, 2026 (9 days ago)

    From GitHub (fetched Oct 24, 2026) and the package registry.

    Details

    Registry name
    io.github.mikusnuz/meta-ads
    Version
    1.6.1
    Auth
    API key
    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from mikusnuz

    Cite this page

    Meta Ads MCP server. Agent Mart. https://agentmart.dev/connectors/mikusnuz-meta-ads (last updated 2026-10-24)