Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

io.github.mikusnuz/meta-ads

NPM · @MIKUSNUZ/META-ADS-MCP · SCANNED AUG 3

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

+14 this week 67 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security87
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability85
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Tool/resource definitions use about 8658 tokens (~68/item across 126 items; 123 tools + 3 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
  • Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass

Unverified: 1 category

A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · @mikusnuz/meta-ads-mcp

# add to Claude Code
claude mcp add mikusnuz-meta-ads -- npx -y @mikusnuz/meta-ads-mcp
# add to Codex CLI
codex mcp add mikusnuz-meta-ads -- npx -y @mikusnuz/meta-ads-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mikusnuz-meta-ads": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@mikusnuz/meta-ads-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add mikusnuz-meta-ads --command npx --arg -y --arg @mikusnuz/meta-ads-mcp
# ~/.hermes/config.yaml
mcp_servers:
  mikusnuz-meta-ads:
    command: "npx"
    args: ["-y", "@mikusnuz/meta-ads-mcp"]
// mcp.json
{
  "mcpServers": {
    "mikusnuz-meta-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/meta-ads-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 2 Aug 26 +41
    • Provenance: unverified → fail security
    • Install scripts: unverified → pass security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
    • Security disclosure: fail → unverified functional
    • License: unverified → pass functional
    • Dependency health: unverified → partial functional
    • Maintenance: unverified → pass functional
    • MCP protocol: unverified → pass functional
    • Schema quality: unverified → excellent functional
    • Licence: MIT functional
  • 31 Jul 26 −27
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 27 Jul 26 53

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/@mikusnuz/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Dependencies 95 packages

95 packages in the resolved dependency tree · 95 deprecated · 29 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 123 exposed · ~8,605 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
add_business_user ~53

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

NameTypeReqDescription
emailstringyesEmail address of the user to add
rolestringyesRole for the new user

No output schema declared.

No examples provided.

add_to_block_list ~56

Add publisher URLs to an existing block list.

NameTypeReqDescription
list_idstringyesBlock list ID
urlsstringyesJSON array of URLs to block (e.g. '["example.com","bad-site.com"]')

No output schema declared.

No examples provided.

add_users_to_audience ~101

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

NameTypeReqDescription
audience_idstringyesAudience ID
payloadstringyesJSON string: {schema: ['EMAIL','PHONE',...], data: [['hash1','hash2',...], ...]}. All PII must be SHA-256 hashed.

No output schema declared.

No examples provided.

create_ad ~109

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

NameTypeReqDescription
adset_idstringyesParent ad set ID
creativestringyesJSON string of creative spec (object_story_spec with page_id, link_data/photo_data/video_data)
namestringyesAd name
statusstringAd status (default PAUSED)
tracking_specsstringJSON string of tracking specs array

No output schema declared.

No examples provided.

create_adset ~287

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

NameTypeReqDescription
bid_strategystringBid strategy: LOWEST_COST_WITHOUT_CAP, LOWEST_COST_WITH_BID_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS
billing_eventstringyesBilling event: IMPRESSIONS, LINK_CLICKS, APP_INSTALLS, THRUPLAY
campaign_idstringyesParent campaign ID
daily_budgetstringDaily budget in currency cents (e.g. '5000' = $50.00)
end_timestringEnd time (ISO 8601)
lifetime_budgetstringLifetime budget in currency cents
namestringyesAd set name
optimization_goalstringyesOptimization goal: IMPRESSIONS, REACH, LINK_CLICKS, LANDING_PAGE_VIEWS, OFFSITE_CONVERSIONS, APP_INSTALLS, LEAD_GENERATION, VALUE, THRUPLAY, ENGAGED_USERS
start_timestringStart time (ISO 8601)
statusstringAd set status (default PAUSED)
targetingstringyesJSON string of targeting spec (age_min, age_max, genders, geo_locations, interests, etc.)

No output schema declared.

No examples provided.

create_async_report ~190

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

NameTypeReqDescription
breakdownsstringBreakdown dimensions: age,gender,country,region,placement,device_platform
date_presetstringDate preset: TODAY,YESTERDAY,LAST_7D,LAST_14D,LAST_30D,THIS_MONTH,LAST_MONTH,THIS_QUARTER,LAST_QUARTER,THIS_YEAR,LAST_YEAR
fieldsstringComma-separated insight fields
filteringstringJSON string for filtering
levelstringAggregation level: campaign, adset, ad
time_incrementstringTime granularity: all_days, 1, 7, monthly
time_rangestringJSON string {since,until} in YYYY-MM-DD format

No output schema declared.

No examples provided.

create_block_list ~32

Create a new publisher block list for the ad account.

NameTypeReqDescription
namestringyesName for the block list

No output schema declared.

No examples provided.

create_budget_schedule ~96

Create a new ad budget schedule for the ad account.

NameTypeReqDescription
budget_valuestringyesBudget amount in account currency cents
budget_value_typestringyesBudget value type (e.g. ABSOLUTE, MULTIPLIER)
time_endstringyesSchedule end time (ISO 8601 or Unix timestamp)
time_startstringyesSchedule start time (ISO 8601 or Unix timestamp)

No output schema declared.

No examples provided.

create_campaign ~176

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

NameTypeReqDescription
daily_budgetstringDaily budget in account currency cents (e.g. '5000' = $50.00)
lifetime_budgetstringLifetime budget in account currency cents
namestringyesCampaign name
objectivestringyesCampaign objective
special_ad_categoriesstringJSON array of special ad categories: CREDIT, EMPLOYMENT, HOUSING, ISSUES_ELECTIONS_POLITICS
start_timestringCampaign start time (ISO 8601 format)
statusstringCampaign status (default PAUSED)
stop_timestringCampaign stop time (ISO 8601 format)

No output schema declared.

No examples provided.

create_canvas ~87

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

NameTypeReqDescription
body_elementsstringyesJSON array of canvas body elements (buttons, carousels, photos, videos, text, etc.)
namestringCanvas name
page_idstringyesFacebook Page ID to create the canvas on

No output schema declared.

No examples provided.

create_catalog ~50

Create a new product catalog for the ad account.

NameTypeReqDescription
namestringyesCatalog name
verticalstringCatalog vertical: commerce, hotels, flights, destinations, home_listings, vehicles

No output schema declared.

No examples provided.

create_creative ~106

Create a new ad creative with object_story_spec. The spec defines the ad content (link, photo, or video) and the associated Facebook Page.

NameTypeReqDescription
asset_feed_specstringJSON string of asset_feed_spec for dynamic creative
namestringyesCreative name
object_story_specstringyesJSON string of object_story_spec (page_id, link_data/photo_data/video_data)
url_tagsstringURL tags to append to all links

No output schema declared.

No examples provided.

create_custom_audience ~105

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

NameTypeReqDescription
customer_file_sourcestringSource of customer file: USER_PROVIDED_ONLY, PARTNER_PROVIDED_ONLY, BOTH_USER_AND_PARTNER_PROVIDED
descriptionstringAudience description
namestringyesAudience name
subtypestringyesAudience subtype

No output schema declared.

No examples provided.

create_dynamic_creative ~93

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

NameTypeReqDescription
asset_feed_specstringyesJSON string of asset_feed_spec with arrays: images (hash), videos (video_id), bodies (text), titles (text), descriptions (text), call_to_action_types
namestringyesCreative name

No output schema declared.

No examples provided.

create_experiment ~101

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

NameTypeReqDescription
cellsstringyesJSON array of test cells: [{name, campaign_id}]
descriptionstringExperiment description
end_timestringyesEnd time in ISO 8601 or Unix timestamp
namestringyesExperiment name
start_timestringyesStart time in ISO 8601 or Unix timestamp
typestringStudy type

No output schema declared.

No examples provided.

create_feed ~63

Create a new product feed for a catalog.

NameTypeReqDescription
catalog_idstringyesProduct catalog ID
file_urlstringURL of the feed file
namestringyesFeed name
schedulestringJSON string for feed schedule configuration

No output schema declared.

No examples provided.

create_lookalike_audience ~110

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

NameTypeReqDescription
lookalike_specstringyesJSON string: {country: 'US', ratio: 0.01-0.10} where ratio is the lookalike percentage (1%-10%)
namestringyesLookalike audience name
origin_audience_idstringyesSource custom audience ID

No output schema declared.

No examples provided.

create_offline_event_set ~39

Create a new offline conversion data set.

NameTypeReqDescription
descriptionstringEvent set description
namestringyesEvent set name

No output schema declared.

No examples provided.

create_product_set ~55

Create a new product set within a catalog.

NameTypeReqDescription
catalog_idstringyesProduct catalog ID
filterstringJSON string of filter rules for the product set
namestringyesProduct set name

No output schema declared.

No examples provided.

create_rf_prediction ~125

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

NameTypeReqDescription
budgetnumberyesBudget in account currency cents
destination_idstringyesDestination ID (e.g. Facebook Page ID)
frequency_capnumberyesMaximum frequency cap per user
start_timestringyesPrediction start time (ISO 8601 or Unix timestamp)
stop_timestringyesPrediction stop time (ISO 8601 or Unix timestamp)
target_specstringyesJSON string of targeting specification

No output schema declared.

No examples provided.

create_rule ~66

Create a new automated rule for the ad account.

NameTypeReqDescription
evaluation_specstringyesJSON string defining rule conditions
execution_specstringyesJSON string defining rule actions
namestringyesRule name
schedule_specstringJSON string defining rule schedule

No output schema declared.

No examples provided.

create_system_user ~51

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

NameTypeReqDescription
namestringyesName for the system user
rolestringyesRole for the system user

No output schema declared.

No examples provided.

debug_token ~47

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

NameTypeReqDescription
input_tokenstringyesAccess token to debug/inspect

No output schema declared.

No examples provided.

delete_ad ~29

Delete an ad. This action is irreversible.

NameTypeReqDescription
ad_idstringyesAd ID to delete

No output schema declared.

No examples provided.

delete_adset ~33

Delete an ad set. This action is irreversible.

NameTypeReqDescription
adset_idstringyesAd set ID to delete

No output schema declared.

No examples provided.

delete_audience ~31

Delete a custom audience. This action is irreversible.

NameTypeReqDescription
audience_idstringyesAudience ID to delete

No output schema declared.

No examples provided.

delete_block_list ~33

Delete a publisher block list. This action is irreversible.

NameTypeReqDescription
list_idstringyesBlock list ID to delete

No output schema declared.

No examples provided.

delete_budget_schedule ~32

Delete a budget schedule. This action is irreversible.

NameTypeReqDescription
schedule_idstringyesBudget schedule ID to delete

No output schema declared.

No examples provided.

delete_campaign ~29

Delete a campaign. This action is irreversible.

NameTypeReqDescription
campaign_idstringyesCampaign ID to delete

No output schema declared.

No examples provided.

delete_canvas ~32

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

NameTypeReqDescription
canvas_idstringyesCanvas ID to delete

No output schema declared.

No examples provided.

delete_image ~31

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

NameTypeReqDescription
hashstringyesImage hash to delete

No output schema declared.

No examples provided.

delete_rf_prediction ~33

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

NameTypeReqDescription
prediction_idstringyesPrediction ID to delete

No output schema declared.

No examples provided.

delete_rule ~23

Delete an automated rule.

NameTypeReqDescription
rule_idstringyesRule ID

No output schema declared.

No examples provided.

delete_video ~30

Delete an ad video. This action is irreversible.

NameTypeReqDescription
video_idstringyesVideo ID to delete

No output schema declared.

No examples provided.

exchange_token ~48

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

NameTypeReqDescription
short_lived_tokenstringyesShort-lived access token to exchange

No output schema declared.

No examples provided.

get_account_activities ~70

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

NameTypeReqDescription
afterstringPagination cursor for next page
fieldsstringComma-separated fields to return
limitnumberNumber of results (default 25)

No output schema declared.

No examples provided.

get_account_insights ~190

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

NameTypeReqDescription
breakdownsstringBreakdown dimensions: age,gender,country,region,placement,device_platform
date_presetstringDate preset: TODAY,YESTERDAY,LAST_7D,LAST_14D,LAST_30D,THIS_MONTH,LAST_MONTH,THIS_QUARTER,LAST_QUARTER,THIS_YEAR,LAST_YEAR
fieldsstringComma-separated insight fields
filteringstringJSON string for filtering
levelstringAggregation level: campaign, adset, ad
time_incrementstringTime granularity: all_days, 1, 7, monthly
time_rangestringJSON string {since,until} in YYYY-MM-DD format

No output schema declared.

No examples provided.

get_ad ~40

Get details of a specific ad by ID.

NameTypeReqDescription
ad_idstringyesAd ID
fieldsstringComma-separated fields to return

No output schema declared.

No examples provided.

get_ad_account ~42

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

NameTypeReqDescription
fieldsstringComma-separated fields to return

No output schema declared.

No examples provided.

get_ad_insights ~187

Get performance insights for a specific ad.

NameTypeReqDescription
ad_idstringyesAd ID
breakdownsstringBreakdown dimensions: age,gender,country,region,placement,device_platform
date_presetstringDate preset: TODAY,YESTERDAY,LAST_7D,LAST_14D,LAST_30D,THIS_MONTH,LAST_MONTH,THIS_QUARTER,LAST_QUARTER,THIS_YEAR,LAST_YEAR
fieldsstringComma-separated insight fields
filteringstringJSON string for filtering
levelstringAggregation level: campaign, adset, ad
time_incrementstringTime granularity: all_days, 1, 7, monthly
time_rangestringJSON string {since,until} in YYYY-MM-DD format

No output schema declared.

No examples provided.

get_ad_preview ~72

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

NameTypeReqDescription
ad_formatstringyesAd format: DESKTOP_FEED_STANDARD, MOBILE_FEED_STANDARD, INSTAGRAM_STANDARD, INSTAGRAM_STORY, RIGHT_COLUMN_STANDARD, etc.
ad_idstringyesAd ID

No output schema declared.

No examples provided.

get_adset ~44

Get details of a specific ad set by ID.

NameTypeReqDescription
adset_idstringyesAd set ID
fieldsstringComma-separated fields to return

No output schema declared.

No examples provided.

get_adset_ads ~71

Get all ads belonging to a specific ad set.

NameTypeReqDescription
adset_idstringyesAd set ID
afterstringPagination cursor for next page
fieldsstringComma-separated fields to return
limitnumberNumber of results (default 25)

No output schema declared.

No examples provided.

get_adset_insights ~191

Get performance insights for a specific ad set.

NameTypeReqDescription
adset_idstringyesAd Set ID
breakdownsstringBreakdown dimensions: age,gender,country,region,placement,device_platform
date_presetstringDate preset: TODAY,YESTERDAY,LAST_7D,LAST_14D,LAST_30D,THIS_MONTH,LAST_MONTH,THIS_QUARTER,LAST_QUARTER,THIS_YEAR,LAST_YEAR
fieldsstringComma-separated insight fields
filteringstringJSON string for filtering
levelstringAggregation level: campaign, adset, ad
time_incrementstringTime granularity: all_days, 1, 7, monthly
time_rangestringJSON string {since,until} in YYYY-MM-DD format

No output schema declared.

No examples provided.

get_adset_leads ~78

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

NameTypeReqDescription
adset_idstringyesAd set ID
afterstringPagination cursor for next page
fieldsstringComma-separated fields to return
limitnumberNumber of results (default 25)

No output schema declared.

No examples provided.

get_async_report ~49

Check status and retrieve results of an async insight report.

NameTypeReqDescription
fieldsstringComma-separated fields to return
report_run_idstringyesReport run ID from create_async_report

No output schema declared.

No examples provided.

get_audience ~42

Get details of a specific custom audience by ID.

NameTypeReqDescription
audience_idstringyesAudience ID
fieldsstringComma-separated fields to return

No output schema declared.

No examples provided.

get_business ~40

Get details of a specific business by ID.

NameTypeReqDescription
business_idstringyesBusiness ID
fieldsstringComma-separated fields to return

No output schema declared.

No examples provided.

get_campaign ~40

Get details of a specific campaign by ID.

NameTypeReqDescription
campaign_idstringyesCampaign ID
fieldsstringComma-separated fields to return

No output schema declared.

No examples provided.

get_campaign_ads ~67

Get all ads belonging to a specific campaign.

NameTypeReqDescription
afterstringPagination cursor for next page
campaign_idstringyesCampaign ID
fieldsstringComma-separated fields to return
limitnumberNumber of results (default 25)

No output schema declared.

No examples provided.