Meta Ads
MCP server for Meta Marketing API — Facebook & Instagram ad campaign management
Connector by mikusnuz · GitHub account verified by the MCP Registry
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.
About
Use cases: marketing-content
Reviews
Write a reviewNo 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_tokengenerate_previewget_account_activitiesget_account_insightsget_adget_ad_accountget_ad_insightsget_ad_previewget_adsetget_adset_adsget_adset_insightsget_adset_leads
Show 62 more tools
get_adset_targeting_sentenceget_async_reportget_audienceget_audience_healthget_batch_statusget_businessget_campaignget_campaign_adsget_campaign_adsetsget_campaign_insightsget_campaign_leadsget_canvasget_catalogget_creativeget_delivery_estimateget_experimentget_experiment_resultsget_feed_uploadsget_form_leadsget_imageget_leadget_lead_formget_productget_product_setget_reach_estimateget_rf_predictionget_ruleget_saved_audienceget_targeting_suggestionsget_videolist_account_userslist_ad_accountslist_adslist_adsetslist_block_listslist_budget_scheduleslist_business_ad_accountslist_business_instagram_accountslist_business_pageslist_business_userslist_businesseslist_campaignslist_canvaseslist_catalogslist_creativeslist_custom_audienceslist_experimentslist_feedslist_imageslist_lead_formslist_offline_event_setslist_product_setslist_productslist_rf_predictionslist_ruleslist_saved_audienceslist_system_userslist_videossearch_ad_librarysearch_locationssearch_targetingsearch_targeting_map
Write 45 · Create, change, send or run things.
add_business_useradd_to_block_listadd_users_to_audiencecopy_adcopy_adsetcopy_campaigncreate_adcreate_adsetcreate_async_reportcreate_block_listcreate_budget_schedulecreate_campaign
Show 33 more tools
create_canvascreate_catalogcreate_creativecreate_custom_audiencecreate_dynamic_creativecreate_experimentcreate_feedcreate_lead_formcreate_lookalike_audiencecreate_offline_event_setcreate_product_setcreate_rf_predictioncreate_rulecreate_system_userexchange_tokenrefresh_tokensend_conversion_eventsend_offline_eventupdate_adupdate_ad_accountupdate_adsetupdate_audienceupdate_budget_scheduleupdate_campaignupdate_catalogupdate_creativeupdate_experimentupdate_productupdate_product_setupdate_ruleupload_feedupload_imageupload_video
Delete 15 · Delete, drop, revoke or wipe things.
batch_productsdelete_addelete_adsetdelete_audiencedelete_block_listdelete_budget_scheduledelete_campaigndelete_canvasdelete_imagedelete_rf_predictiondelete_ruledelete_video
Show 3 more tools
remove_business_userremove_from_block_listremove_users_from_audience
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
META_ADS_ACCESS_TOKENMETA_APP_SECRET
Other settings (environment variables or headers).
META_AD_ACCOUNT_IDMETA_APP_IDMETA_BUSINESS_IDMETA_PIXEL_ID
Network hosts it talks to 3
github.com· found in codeglama.ai· found in codegraph.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_userAdd a user to the configured business by email. Requires META_BUSINESS_ID env var.
add_to_block_listAdd publisher URLs to an existing block list.
add_users_to_audienceAdd 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_productsBatch create, update, or delete products in a catalog. Supports up to 5,000 items per request. Update operations support upsert.
copy_adCopy an existing ad. Creates a duplicate within the same or different ad set.
copy_adsetCopy an existing ad set. Creates a duplicate within the same or different campaign.
copy_campaignCopy an existing campaign. Creates a duplicate with optional name override. Copies structure including ad sets and ads.
create_adCreate a new ad. Requires name, adset_id, and creative (JSON object_story_spec). Defaults to PAUSED status.
create_adsetCreate a new ad set. Requires name, campaign_id, budget, optimization_goal, billing_event, and targeting. Defaults to PAUSED status.
create_async_reportCreate an async insight report for large data queries. Returns a report_run_id to poll with get_async_report.
create_block_listCreate a new publisher block list for the ad account.
create_budget_scheduleCreate a budget schedule on a campaign or ad set.
create_campaignCreate a new ad campaign. Defaults to PAUSED status. Requires name and objective. Budget can be set at campaign or ad set level.
create_canvasCreate a new Instant Experience (Canvas) on a Facebook Page. Requires page_id and body_elements JSON array defining the canvas layout.
create_catalogCreate a new product catalog for the ad account.
Show 119 more tools
create_creativeCreate 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_audienceCreate a new custom audience. Subtype determines the audience source (CUSTOM, WEBSITE, APP, OFFLINE_CONVERSION, LOOKALIKE, ENGAGEMENT, etc.).
create_dynamic_creativeCreate a dynamic creative with asset_feed_spec. Meta automatically combines different images, videos, titles, bodies, and CTAs to find the best performing combinations.
create_experimentCreate a new A/B test experiment (ad study).
create_feedCreate a new product feed for a catalog.
create_lead_formCreate a new lead generation form on a Facebook Page. Requires pages_manage_ads permission.
create_lookalike_audienceCreate a lookalike audience based on an existing custom audience. Ratio (1-10) determines how closely the new audience resembles the source.
create_offline_event_setCreate a new offline conversion data set.
create_product_setCreate a new product set within a catalog.
create_rf_predictionCreate a new reach & frequency prediction. Provide targeting spec as JSON string, budget in cents, and scheduling info.
create_ruleCreate a new automated rule for the ad account.
create_system_userCreate a new system user in the configured business. Requires META_BUSINESS_ID env var.
debug_tokenDebug an access token to inspect its properties, permissions, expiration, and validity. Requires META_APP_ID and META_APP_SECRET.
delete_adDelete an ad. This action is irreversible.
delete_adsetDelete an ad set. This action is irreversible.
delete_audienceDelete a custom audience. This action is irreversible.
delete_block_listDelete a publisher block list. This action is irreversible.
delete_budget_scheduleDelete a budget schedule. This action is irreversible.
delete_campaignDelete a campaign. This action is irreversible.
delete_canvasDelete an Instant Experience (Canvas). This action is irreversible.
delete_imageDelete an ad image by hash. This action is irreversible.
delete_rf_predictionDelete a reach & frequency prediction. This action is irreversible.
delete_ruleDelete an automated rule.
delete_videoDelete an ad video. This action is irreversible.
exchange_tokenExchange a short-lived access token for a long-lived token. Requires META_APP_ID and META_APP_SECRET to be configured.
generate_previewGenerate an ad preview without needing an existing ad. Provide creative spec directly to see how it would look.
get_account_activitiesGet activity log for the ad account. Shows changes made to campaigns, ad sets, ads, etc.
get_account_insightsGet performance insights for the ad account. Returns metrics like impressions, clicks, spend, reach, etc.
get_adGet details of a specific ad by ID.
get_ad_accountGet details of the configured ad account including status, balance, currency, timezone, and spend info.
get_ad_insightsGet performance insights for a specific ad.
get_ad_previewGet a preview of an ad in a specific format. Returns HTML iframe for rendering.
get_adsetGet details of a specific ad set by ID.
get_adset_adsGet all ads belonging to a specific ad set.
get_adset_insightsGet performance insights for a specific ad set.
get_adset_leadsGet leads generated by a specific ad set. Requires leads_retrieval permission.
get_adset_targeting_sentenceGet human-readable targeting description for an ad set. Converts targeting spec into readable sentences.
get_async_reportCheck status and retrieve results of an async insight report.
get_audienceGet details of a specific custom audience by ID.
get_audience_healthGet health status and delivery readiness of a custom audience. Shows match rate, size, and operation status.
get_batch_statusCheck the status of a catalog batch operation.
get_businessGet details of a specific business by ID.
get_campaignGet details of a specific campaign by ID.
get_campaign_adsGet all ads belonging to a specific campaign.
get_campaign_adsetsGet all ad sets belonging to a specific campaign.
get_campaign_insightsGet performance insights for a specific campaign.
get_campaign_leadsGet leads generated by a specific campaign. Requires leads_retrieval permission.
get_canvasGet details of a specific Instant Experience (Canvas) by ID.
get_catalogGet details of a specific product catalog.
get_creativeGet details of a specific ad creative by ID.
get_delivery_estimateGet 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_experimentGet details of a specific experiment (ad study).
get_experiment_resultsGet results/cells of an experiment (ad study).
get_feed_uploadsGet upload history for a product feed.
get_form_leadsGet leads submitted through a lead generation form.
get_imageGet details of a specific ad image by ID.
get_leadGet details of a specific lead by ID.
get_lead_formGet details of a specific lead generation form.
get_productGet details of a specific product.
get_product_setGet details of a specific product set.
get_reach_estimateGet estimated audience reach for a given targeting specification. Useful for planning campaigns before creating them.
get_rf_predictionGet details of a specific reach & frequency prediction by ID.
get_ruleGet details of a specific automated rule.
get_saved_audienceGet details of a specific saved audience by ID.
get_targeting_suggestionsGet targeting suggestions based on existing targeting criteria. Meta suggests related interests, behaviors, and demographics.
get_videoGet details of a specific ad video by ID.
list_account_usersList users who have access to the ad account with their roles and permissions.
list_ad_accountsList all ad accounts accessible by the current user. Returns paginated results.
list_adsList ads in the ad account. Optionally filter by campaign, ad set, or status.
list_adsetsList ad sets in the ad account. Optionally filter by campaign or status.
list_block_listsList publisher block lists for the ad account. Returns paginated results.
list_budget_schedulesList budget schedules attached to a campaign or ad set. Returns paginated results.
list_business_ad_accountsList ad accounts owned by the configured business. Requires META_BUSINESS_ID env var.
list_business_instagram_accountsList Instagram accounts owned by the configured business. Requires META_BUSINESS_ID env var.
list_business_pagesList Facebook Pages owned by the configured business. Requires META_BUSINESS_ID env var.
list_business_usersList users of the configured business. Requires META_BUSINESS_ID env var.
list_businessesList all businesses accessible by the current user. Returns paginated results.
list_campaignsList campaigns in the ad account. Supports filtering by status and objective. Returns paginated results.
list_canvasesList Instant Experience (Canvas) creatives in the ad account.
list_catalogsList product catalogs for the ad account.
list_creativesList ad creatives in the ad account.
list_custom_audiencesList custom audiences in the ad account.
list_experimentsList A/B test experiments (ad studies) for the ad account.
list_feedsList product feeds for a catalog.
list_imagesList ad images uploaded to the ad account.
list_lead_formsList lead generation forms for a Facebook Page.
list_offline_event_setsList offline conversion data sets for the ad account.
list_product_setsList product sets within a catalog.
list_productsList products within a catalog.
list_rf_predictionsList reach & frequency predictions for the ad account. Returns paginated results.
list_rulesList automated rules for the ad account.
list_saved_audiencesList saved audiences in the ad account. Saved audiences are reusable targeting presets.
list_system_usersList system users of the configured business. Requires META_BUSINESS_ID env var.
list_videosList ad videos uploaded to the ad account.
refresh_tokenExtend a valid long-lived user access token through Meta's documented token exchange flow. Requires META_APP_ID and META_APP_SECRET.
remove_business_userRemove a user from the configured business. Requires META_BUSINESS_ID env var.
remove_from_block_listRemove publisher URLs from an existing block list.
remove_users_from_audienceRemove users from a custom audience. Payload format is the same as add_users_to_audience.
search_ad_librarySearch the Meta Ad Library for ads. Allows searching by keywords, countries, and ad type. Useful for competitive research and transparency.
search_locationsSearch for geographic locations (countries, regions, cities, zip codes) for ad targeting.
search_targetingSearch for targeting options (interests, behaviors, demographics, etc.) by keyword. Use this to find valid targeting IDs for ad set targeting specs.
search_targeting_mapMap targeting IDs to their full details (names, types, paths). Useful for resolving IDs obtained from other endpoints.
send_conversion_eventSend a server-side conversion event via the Conversions API (pixel).
send_offline_eventSend offline conversion events through the Conversions API to a dataset. Store events must use action_source=physical_store.
update_adUpdate an existing ad. Only provided fields will be modified.
update_ad_accountUpdate the configured ad account settings. Only provided fields will be modified.
update_adsetUpdate an existing ad set. Only provided fields will be modified.
update_audienceUpdate an existing custom audience. Only provided fields will be modified.
update_budget_scheduleUpdate an existing budget schedule. Only provided fields will be modified.
update_campaignUpdate an existing campaign. Only provided fields will be modified.
update_catalogUpdate an existing product catalog.
update_creativeUpdate an existing ad creative. Only name and url_tags can be modified after creation.
update_experimentUpdate an existing experiment (ad study).
update_productUpdate an existing product in a catalog.
update_product_setUpdate an existing product set.
update_ruleUpdate an existing automated rule.
upload_feedUpload/trigger a feed file upload for a product feed.
upload_imageUpload 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_videoUpload 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
- Packages
- npm @mikusnuz/meta-ads-mcp
- License
- MIT
- Repository
- github.com/mikusnuz/meta-ads-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from mikusnuz
- 0.652score
App Publish
mikusnuz
MCP server for App Store Connect & Google Play Console — iOS/Android app management
ConnectorAFreshness: ALocal★ 38Claude Code +5 - 0.647score
Meta
mikusnuz
MCP server for Instagram Graph API, Threads API & Meta platform management
ConnectorAFreshness: ALocal★ 30↓ 225/wkClaude Code +5 - 0.643score
Agent Link
mikusnuz
Bidirectional AI agent collaboration — spawn and communicate with any agent CLI
ConnectorAFreshness: ALocal★ 11Claude Code +5 - 0.628score
Gsc
mikusnuz
MCP server for Google Search Console & Indexing API — search analytics, sitemaps, URL inspection
ConnectorAFreshness: ALocal★ 8↓ 122/wkClaude Code +5 - 0.620score
Umami
mikusnuz
MCP server for Umami Analytics v3 — analytics, boards, links, pixels, reports, replay, and more
ConnectorAFreshness: ALocal★ 8↓ 68/wkClaude Code +5 - 0.616score
Cws
mikusnuz
MCP server for Chrome Web Store — extension upload, publish, status, and rollout
ConnectorAFreshness: ALocal★ 4Claude Code +5
Cite this page
Meta Ads MCP server. Agent Mart. https://agentmart.dev/connectors/mikusnuz-meta-ads (last updated 2026-10-24)