About pipeboard-co/meta-ads-mcp
pipeboard-co/meta-ads-mcp is an MCP server published by pipeboard-co in the Maps category: meta Ads (Facebook/Instagram) MCP server for Claude, ChatGPT, Perplexity & Cursor — the Meta node of Pipeboard’s 5-platform family (+ Google, TikTok, Snap, Reddit). Hosted remote MCP, badged Meta Business Partner, free plan — no self-hosting required. Conduid read 40 tools from its source: compute_image_crops, create_ad, create_ad_creative, create_adset, create_budget_schedule, create_campaign and 34 more. It is published to PyPI as meta-ads-mcp and runs with uvx.
The repository has 1.4K stars and 288 forks, and its last commit was on 20 Oct 2026. The latest release is 1.0.128 (23 Sep 2026): GHSA-r3r9-3mrh-x966 — the debug log captured httpx's request logging, which prints the full Graph API URL including the access_token query parameter, so every API call w… It follows 1.0.127 (23 Sep 2026), and the 5 most recent releases go back to 1.0.124 (22 Sep 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include facebook-ads and meta-ads.
Install
uvx meta-ads-mcppip install meta-ads-mcpgit clone https://github.com/pipeboard-co/meta-ads-mcpTools (40)
compute_image_cropsCompute image_crops coordinates for a source image of the given dimensions.| Parameter | Type | Description |
|---|---|---|
| crop_keys | array | Optional list of specific crop keys to compute. Defaults to all 6 keys accepted by Meta's API: "100x100" — 1:1 square (Feed, Marketplace, Search) "100x72" — ~1.39:1 horizontal (Marketplace, some placements) "400x500" — 4:5 portrait (Feed on mobile, Stories fallback) "400x150" — ~2.67:1 wide banner (Audience Network) "600x360" — ~1.67:1 horizontal (Right column, some placements) "90x160" — 9:16 tall portrait (Stories) |
| image_height * | integer | Height of the source image in pixels (e.g. 1080). |
| image_width * | integer | Width of the source image in pixels (e.g. 1080). |
create_adCreate a new ad with an existing creative.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (format: act_XXXXXXXXX) |
| adset_id * | string | Ad set ID where this ad will be placed |
| bid_amount | integer | Optional bid amount in account currency (in cents) |
| creative_id * | string | ID of an existing creative to use |
| name * | string | Ad name |
| status | string | Initial ad status (default: PAUSED) |
| tracking_specs | array | Optional tracking specifications (e.g., for pixel events). Example: [{"action.type":"offsite_conversion","fb_pixel":["YOUR_PIXEL_ID"]}] |
create_ad_creative| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (format: act_XXXXXXXXX) |
| ad_formats | array | List of ad format strings for asset_feed_spec (e.g., ["AUTOMATIC_FORMAT"] for Flexible ads, ["SINGLE_IMAGE"] for single image, ["SINGLE_VIDEO"] for video). When optimization_type is "DEGREES_OF_FREEDOM" with image_hashes, defaults to ["AUTOMATIC_FORMAT"] (Flexible format). For video creatives, defaults to ["SINGLE_VIDEO"]. Otherwise defaults to ["SINGLE_IMAGE"]. |
| asset_customization_rules | array | List of placement-specific asset overrides for asset_feed_spec. |
| call_to_action_type | string | Call to action button type. Meta enum — free-form values (e.g. 'MAKE_RESERVATION', 'RESERVE', 'BOOK_TABLE') are rejected with code 100. Pick from the documented list. Common values: BOOK_NOW — restaurants, salons, clinics, appointments (use this for reservations — there is no MAKE_RESERVATION enum) LEARN_MORE, SHOP_NOW, SIGN_UP, SUBSCRIBE, GET_QUOTE, CONTACT_US, DOWNLOAD, WATCH_MORE, GET_OFFER, APPLY_NOW, CALL_NOW, MESSAGE_PAGE, SEE_MENU, ORDER_NOW, BUY_NOW, WHATSAPP_MESSAGE, GET_DIRECTIONS, BUY_TICKETS, EVENT_RSVP, BOOK_TRAVEL. When using CALL_NOW, also provide phone_number. |
| caption | string | Display URL shown in the ad (e.g., "example.com/shoes"). Sets the caption field in link_data. If not provided, Meta auto-generates it from the destination URL. Only applies to image (link_data) creatives. |
| creative_features_spec | object | Advantage+ Creative feature opt-ins/opt-outs. Controls individual creative enhancements like image_touchups, text_optimizations, inline_comment, add_text_overlay, music, 3d_animation, etc. Each feature is a dict with "enroll_status" set to "OPT_IN" or "OPT_OUT". Example: {"image_touchups": {"enroll_status": "OPT_IN"}, "inline_comment": {"enroll_status": "OPT_IN"}} Sent to Meta as degrees_of_freedom_spec.creative_features_spec. |
| description | string | Single description for simple ads (cannot be used with descriptions) |
| descriptions | array | List of description variants for multi-variant copy testing (cannot be used with description). Each entry can be a plain string, OR a dict {"text": "...", "adlabels": [{"name": "..."}]} when used with asset_customization_rules that reference description_label. |
| disable_all_enhancements | boolean | |
| dynamic_creative_spec | object | Dynamic creative optimization settings |
| event_id | any | |
| facebook_branded_content | object | |
| headline | string | Single headline for simple ads (cannot be used with headlines) |
| headlines | array | List of headline variants for multi-variant copy testing (cannot be used with headline). Each entry can be a plain string, OR a dict {"text": "...", "adlabels": [{"name": "..."}]} when used with asset_customization_rules that reference title_label. Meta enforces the actual length limit; do not pre-truncate. |
| image_crops | object | Crop coordinates for different aspect ratios. Applied in link_data for image creatives. |
| image_hash | string | Hash of a single uploaded image (cannot be used with image_hashes or video_id) |
| image_hashes | array | List of image hashes for FLEX creatives (up to 10, cannot be used with image_hash or video_id). IMPORTANT: When optimization_type="DEGREES_OF_FREEDOM" (FLEX/Advantage+ mode), only ONE image is served at delivery time regardless of how many hashes you provide. The Meta API accepts multiple hashes without error and they all appear in asset_feed_spec, but Meta silently collapses to a single image at serving time. Use image_hashes with multiple entries only in non-DOF (regular dynamic creative) mode. In DOF mode, pass a single hash. |
| images | array | |
| instagram_actor_id | string | Instagram account ID for Instagram placements (must be a string to avoid JavaScript integer precision loss for IDs exceeding Number.MAX_SAFE_INTEGER). Sent as instagram_user_id inside object_story_spec (Meta deprecated instagram_actor_id in Jan 2026). IMPORTANT for video creatives: Meta requires ad_formats=["SINGLE_VIDEO"] in asset_feed_spec alongside instagram_user_id in object_story_spec — omitting either causes error 1443048 ("object_story_spec ill formed"). This is auto-handled: video_id + instagram_actor_id always routes through asset_feed_spec so ad_formats=["SINGLE_VIDEO"] is included automatically. |
| instagram_branded_content | object | |
| lead_gen_form_id | any | Lead generation form ID for lead generation campaigns. Required when using lead generation CTAs like 'SIGN_UP', 'GET_OFFER', 'SUBSCRIBE', etc. |
| link_url | string | Destination URL for the ad. Required unless using lead_gen_form_id or reminder_data — with one exception: if asset_customization_rules is also set, link_url is required even for Lead ads. Meta accepts the creative without link_urls but rejects the ad at create_ad time with error 1885800 ("Asset Customization Ads require a link"). The URL is never shown to the user when lead_gen_form_id is set (the CTA opens the form), but Meta still demands one be present on the creative. Pass any valid URL in that case (e.g. the Facebook page URL or your site root). |
| message | string | Single ad copy/text (cannot be used with messages) |
| messages | array | List of primary text variants for multi-variant copy testing (cannot be used with message). Each entry can be a plain string, OR a dict {"text": "...", "adlabels": [{"name": "..."}]} when used with asset_customization_rules that reference body_label. |
| name | string | Creative name |
| object_story_id | string | |
| optimization_type | string | Optional. Valid values: - "DEGREES_OF_FREEDOM": FLEX (Advantage+) creatives where Meta auto-optimizes across all asset combinations. At least one multi-variant asset field required. NOTE: Meta ignores asset_customization_rules for DOF creatives. NOTE: When using DEGREES_OF_FREEDOM with image_hashes, providing multiple hashes is accepted by the API without error, but Meta silently serves only ONE image at delivery time. A warning is included in the response if multiple hashes are detected. To serve multiple images, omit optimization_type and enable is_dynamic_creative on the ad set instead. - "PLACEMENT": Placement Asset Customization. Use with videos[]/images[] (with labels) and asset_customization_rules (with video_label/image_label references) to serve different aspect ratios per placement (e.g., 1:1 Feed + 9:16 Reels). Other values are passed through to Meta as-is. |
| page_id | any | Facebook Page ID (string or int; coerced to string) |
| phone_number | string | Phone number for CALL_NOW call-to-action ads (click-to-call). Required when call_to_action_type is CALL_NOW. Use E.164 format (e.g., "+18005551234"). The number is sent to Meta as call_to_action.value.link = "tel:<phone_number>" (Meta v24 rejects a literal "phone_number" key with code 100). Common use case: geo-routed call ads with different phone numbers per ad set. |
| reminder_data | object | |
| thumbnail_url | string | Thumbnail image URL for video creatives. Recommended when using video_id. Meta will auto-generate a thumbnail if not provided — Pipeboard will fetch the best available frame from the uploaded video. IMPORTANT: when the video was just uploaded via bulk_upload_ad_videos, Meta needs a few seconds to transcode it. If create_ad_creative is called before transcoding completes, the only thumbnail Meta returns is a generic processing-state placeholder, which would be permanently stored on the creative. In that case create_ad_creative returns an error with video_status: "processing" — wait a few seconds (poll with get_ad_video until video_status is "ready") and retry, or pass thumbnail_url explicitly (any public image URL works). |
| url_tags | string | URL tracking parameters appended to the destination URL (e.g., "utm_source=facebook&utm_medium=cpc&utm_campaign=spring_sale"). Sets the url_tags field on the creative. |
| video_id | any | Meta video ID for video creatives (cannot be used with image_hash or image_hashes). Upload a video first via the Meta API, then use the returned video ID here. IMPORTANT: When also providing instagram_actor_id, both instagram_actor_id AND ad_formats=["SINGLE_VIDEO"] must be present — otherwise Meta returns error 1443048 ("object_story_spec ill formed"). This is handled automatically: video creatives that include instagram_actor_id are routed through asset_feed_spec so that ad_formats=["SINGLE_VIDEO"] is always included in the API request. |
| videos | array |
create_adsetCreate a new ad set in a Meta Ads account.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (format: act_XXXXXXXXX) |
| attribution_spec | array | Attribution window specification for the ad set. Controls how conversions are attributed to ads. Default is 7-day click if not specified. Example for 1-day click: [{"event_type": "CLICK_THROUGH", "window_days": 1}] Example for 1-day click + 1-day view: [{"event_type": "CLICK_THROUGH", "window_days": 1}, {"event_type": "VIEW_THROUGH", "window_days": 1}] Valid event_type values: CLICK_THROUGH, VIEW_THROUGH. Valid window_days values: 1, 7, 28 (depends on event_type and optimization_goal). |
| bid_adjustments | object | Bid multipliers per targeting dimension. Pass-through to Meta. Shape: {"user_groups": {"<dim>": {"<value>": <float>, "default": <float>}}} Dims: age, gender, user_os, device_platform, position_type, publisher_platform, user_bucket, home_location, locale, etc. Multipliers are floats, typically 0.0-1.0. Example: {"user_groups": {"user_os": {"iOS": 0.9, "Android": 0.7, "default": 1.0}}} NOTE: Writing bid_adjustments requires a Meta app capability that must be allowlisted. Apps without it get OAuthException (#3). |
| bid_amount | integer | Bid amount in account currency (in cents). REQUIRED for: LOWEST_COST_WITH_BID_CAP, COST_CAP, TARGET_COST. NOT USED by: LOWEST_COST_WITH_MIN_ROAS (uses bid_constraints instead). May also be required if the parent campaign's bid strategy requires it. |
| bid_constraints | object | Bid constraints dict. Required for LOWEST_COST_WITH_MIN_ROAS. Use {"roas_average_floor": <value>} where value = target ROAS * 10000. Example: 2.0x ROAS -> {"roas_average_floor": 20000} |
| bid_strategy | string | Bid strategy. Valid values: - 'LOWEST_COST_WITHOUT_CAP' (recommended) - no bid_amount required - 'LOWEST_COST_WITH_BID_CAP' - REQUIRES bid_amount - 'COST_CAP' - REQUIRES bid_amount - 'LOWEST_COST_WITH_MIN_ROAS' - REQUIRES bid_constraints with roas_average_floor, and optimization_goal='VALUE'. Does NOT use bid_amount. Note: 'LOWEST_COST' is NOT valid - use 'LOWEST_COST_WITHOUT_CAP'. Campaign-level bid strategy may constrain ad set choices. |
| billing_event * | string | How you're charged (e.g., 'IMPRESSIONS', 'LINK_CLICKS') |
| campaign_id * | string | Meta Ads campaign ID this ad set belongs to |
| daily_budget | integer | Daily budget in account currency (in cents) as a string. CBO NOTE: Do NOT set this if the parent campaign already has a budget (Campaign Budget Optimization / CBO mode). Meta only allows budgets at one level: either the campaign OR the ad set, not both. If the campaign has a daily_budget or lifetime_budget, omit this field — the ad set will automatically use the campaign budget. |
| destination_type | string | Conversion location / where users go. Pass-through to Meta (no client-side validation). Common values: 'WEBSITE', 'WHATSAPP', 'MESSENGER', 'INSTAGRAM_DIRECT', 'APP', 'FACEBOOK', 'SHOP_AUTOMATIC'. OUTCOME_ENGAGEMENT on-asset locations: 'ON_POST' (post engagement; needs promoted_object={page_id}), 'ON_PAGE' (PAGE_LIKES), 'ON_EVENT', 'ON_VIDEO'. 'ON_AD' is the OUTCOME_LEADS instant-form destination — do NOT use it for OUTCOME_ENGAGEMENT (Meta rejects it with subcode 1815715). Also supports multi-channel combos like 'MESSAGING_MESSENGER_WHATSAPP'. |
| dsa_beneficiary | string | DSA beneficiary for European compliance (person/org that benefits from ads). Required for EU-targeted ad sets along with dsa_payor. |
| dsa_payor | string | DSA payor for European compliance (person/org paying for the ads). Required for EU-targeted ad sets along with dsa_beneficiary. |
| end_time | string | End time in ISO 8601 format. Required when lifetime_budget is specified. |
| frequency_control_specs | array | Frequency cap specs. MUST be set at creation time — Meta makes this field immutable after the ad set is created (error 1815198). Only works with OUTCOME_AWARENESS campaigns + optimization_goal REACH or THRUPLAY. Example: [{"event": "IMPRESSIONS", "interval_days": 7, "max_frequency": 1}] |
| is_dynamic_creative | boolean | Enable Dynamic Creative for this ad set. |
| lifetime_budget | integer | Lifetime budget in account currency (in cents) as a string. CBO NOTE: Do NOT set this if the parent campaign already has a budget (Campaign Budget Optimization / CBO mode). Omit this field when the campaign uses CBO — the ad set inherits the campaign budget automatically. |
| multi_advertiser_ads | integer | Set to 0 to opt out of Multi-Advertiser Ads, 1 to opt in. This is a TOP-LEVEL ad set parameter — do NOT put it inside the targeting object. |
| name * | string | Ad set name |
| optimization_goal * | string | Conversion optimization goal. Valid values depend on the campaign objective and destination_type. OUTCOME_ENGAGEMENT + destination_type=WEBSITE: OFFSITE_CONVERSIONS, LANDING_PAGE_VIEWS, LINK_CLICKS, IMPRESSIONS, REACH. OUTCOME_ENGAGEMENT + On Post (destination_type=ON_POST): POST_ENGAGEMENT, IMPRESSIONS, REACH. Also set promoted_object={page_id} at creation (immutable; without it create_ad fails with subcode 1885154). Do NOT use ON_AD here — ON_AD is the OUTCOME_LEADS instant-form destination and Meta rejects it for OUTCOME_ENGAGEMENT (subcode 1815715). OUTCOME_ENGAGEMENT + On Video (destination_type=ON_VIDEO): THRUPLAY, TWO_SECOND_CONTINUOUS_VIDEO_VIEWS. OUTCOME_ENGAGEMENT + On Event (destination_type=ON_EVENT): EVENT_RESPONSES, IMPRESSIONS, POST_ENGAGEMENT, REACH. OUTCOME_ENGAGEMENT + On Page (destination_type=ON_PAGE): PAGE_LIKES. OUTCOME_ENGAGEMENT + Messaging (MESSENGER/WHATSAPP/INSTAGRAM_DIRECT): CONVERSATIONS, LINK_CLICKS. OUTCOME_ENGAGEMENT "Profile and Page visits" (PROFILE_AND_PAGE_ENGAGEMENT with destination_type INSTAGRAM_PROFILE / FACEBOOK_PAGE / INSTAGRAM_PROFILE_AND_FACEBOOK_PAGE) is shown in Ads Manager but NOT supported via the Marketing API — Meta rejects every variant (code 100). Closest API-supported option is POST_ENGAGEMENT + ON_POST. OUTCOME_TRAFFIC + WEBSITE: LANDING_PAGE_VIEWS, LINK_CLICKS, IMPRESSIONS, REACH. OUTCOME_AWARENESS: REACH, IMPRESSIONS, AD_RECALL_LIFT, THRUPLAY. OUTCOME_LEADS: LEAD_GENERATION, QUALITY_LEAD (forms), QUALITY_CALL (calls), OFFSITE_CONVERSIONS, LINK_CLICKS (website). OUTCOME_SALES: OFFSITE_CONVERSIONS, VALUE, CONVERSATIONS, LINK_CLICKS, IMPRESSIONS, REACH. OUTCOME_APP_PROMOTION: APP_INSTALLS, APP_INSTALLS_AND_OFFSITE_CONVERSIONS, VALUE. |
| promoted_object | object | For APP_INSTALLS: app config, required application_id + object_store_url. For OUTCOME_ENGAGEMENT On-Post (destination_type=ON_POST): set {"page_id": "<id>"} at creation — required for ads (else create_ad fails with subcode 1885154) and immutable afterward (cannot be added via update_adset). |
| regional_regulated_categories | array | List of regional regulated categories for the ad set. Required for ads targeting regulated regions (Taiwan, Australia, etc.). Valid values: TAIWAN_FINSERV, TAIWAN_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV, SINGAPORE_UNIVERSAL, THAILAND_UNIVERSAL. Example: ["TAIWAN_UNIVERSAL"] or ["TAIWAN_FINSERV", "TAIWAN_UNIVERSAL"] |
| regional_regulation_identities | object | Dict of verified identity IDs for regional transparency compliance. Required when regional_regulated_categories is set. The identity IDs come from completing advertiser verification in Meta Business Settings. Keys depend on the categories declared: - TAIWAN_UNIVERSAL: taiwan_universal_beneficiary, taiwan_universal_payer - TAIWAN_FINSERV: taiwan_finserv_beneficiary, taiwan_finserv_payer - AUSTRALIA_FINSERV: australia_finserv_beneficiary, australia_finserv_payer - SINGAPORE_UNIVERSAL: singapore_universal_beneficiary, singapore_universal_payer Example: {"taiwan_universal_beneficiary": "<id>", "taiwan_universal_payer": "<id>"} |
| start_time | string | Start time in ISO 8601 format (e.g., '2023-12-01T12:00:00-0800'). To schedule future delivery: set start_time to a future date and status=ACTIVE. Meta will show effective_status as SCHEDULED and automatically begin delivery at start_time. NOTE: Only ad set start_time controls delivery scheduling. Campaigns do not support start_time. |
| status | string | Initial ad set status (default: PAUSED) |
| targeting | object | Targeting specs (age, location, interests, etc). targeting_automation.advantage_audience defaults to 0 if not set (Meta API v24+ requirement). Set to 1 to enable Advantage+ Audience (requires age_max>=65). Use search_interests for interest IDs. |
create_budget_scheduleCreate a budget schedule for a Meta Ads campaign.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided). |
| budget_value * | integer | Amount of budget increase. Interpreted based on budget_value_type. |
| budget_value_type * | string | Type of budget value - "ABSOLUTE" or "MULTIPLIER". |
| campaign_id * | string | Meta Ads campaign ID. |
| time_end * | integer | Unix timestamp for when the high demand period should end. |
| time_start * | integer | Unix timestamp for when the high demand period should start. |
create_campaignCreate a new Facebook or Instagram ad campaign in a Meta Ads account. Use this to start| Parameter | Type | Description |
|---|---|---|
| ab_test_control_setups | array | Settings for A/B testing (e.g., [{"name":"Creative A", "ad_format":"SINGLE_IMAGE"}]) |
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (format: act_XXXXXXXXX) |
| bid_cap | integer | Bid cap in account currency (in cents) as a string |
| bid_strategy | string | Bid strategy (default: LOWEST_COST_WITHOUT_CAP). Must be one of: 'LOWEST_COST_WITHOUT_CAP', 'LOWEST_COST_WITH_BID_CAP', 'COST_CAP', 'LOWEST_COST_WITH_MIN_ROAS'. WARNING: If you use LOWEST_COST_WITH_BID_CAP or COST_CAP, all child ad sets will require bid_amount to be set. |
| buying_type | string | Buying type (e.g., 'AUCTION') |
| campaign_budget_optimization | boolean | Whether to enable campaign budget optimization (only used if use_adset_level_budgets=False) |
| daily_budget | integer | Daily budget in account currency (in cents) as a string (only used if use_adset_level_budgets=False) |
| lifetime_budget | integer | Lifetime budget in account currency (in cents) as a string (only used if use_adset_level_budgets=False) |
| name * | string | Campaign name |
| objective * | string | Campaign objective (ODAX, outcome-based). Must be one of: OUTCOME_AWARENESS, OUTCOME_TRAFFIC, OUTCOME_ENGAGEMENT, OUTCOME_LEADS, OUTCOME_SALES, OUTCOME_APP_PROMOTION. Note: Legacy objectives like BRAND_AWARENESS, LINK_CLICKS, CONVERSIONS, APP_INSTALLS, etc. are not valid for new campaigns and will cause a 400 error. Use the outcome-based values above (e.g., BRAND_AWARENESS → OUTCOME_AWARENESS). |
| special_ad_categories | array | List of special ad categories if applicable |
| spend_cap | integer | Spending limit for the campaign in account currency (in cents) as a string |
| status | string | Initial campaign status (default: PAUSED) |
| use_adset_level_budgets | boolean | If True, budgets will be set at the ad set level instead of campaign level (default: False) |
duplicate_adDuplicate a Meta Ads ad.| Parameter | Type | Description |
|---|---|---|
| access_token | string | |
| ad_id * | string | Meta Ads ad ID to duplicate |
| duplicate_creative | boolean | Whether to duplicate the ad creative |
| name_suffix | string | Suffix to add to the duplicated ad name |
| new_creative_name | string | Override name for the duplicated creative |
| new_status | string | Status for the new ad (ACTIVE or PAUSED) |
| pb_token | string | |
| target_adset_id | any | Ad set ID to move the duplicated ad to (optional) |
duplicate_adsetDuplicate a Meta Ads ad set with its ads.| Parameter | Type | Description |
|---|---|---|
| access_token | string | |
| adset_id * | string | Meta Ads ad set ID to duplicate |
| include_ads | boolean | Whether to duplicate ads within the ad set |
| include_creatives | boolean | Whether to duplicate ad creatives |
| name_suffix | string | Suffix to add to the duplicated ad set name |
| new_daily_budget | number | Override the daily budget for the new ad set |
| new_end_time | string | Override end time for the duplicated ad set (ISO 8601, e.g. 2026-03-20T23:59:59-0500) |
| new_start_time | string | Override start time for the duplicated ad set (ISO 8601, e.g. 2026-03-10T00:00:00-0500) |
| new_status | string | Status for the new ad set (ACTIVE or PAUSED) |
| new_targeting | object | Override targeting settings for the new ad set |
| pb_token | string | |
| target_campaign_id | any | Campaign ID to move the duplicated ad set to (optional) |
duplicate_campaignDuplicate a Meta Ads campaign with all its ad sets and ads.| Parameter | Type | Description |
|---|---|---|
| access_token | string | |
| campaign_id * | string | Meta Ads campaign ID to duplicate |
| copy_schedule | boolean | Whether to copy the campaign schedule |
| include_ad_sets | boolean | Whether to duplicate ad sets within the campaign |
| include_ads | boolean | Whether to duplicate ads within ad sets |
| include_creatives | boolean | Whether to duplicate ad creatives |
| name_suffix | string | Suffix to add to the duplicated campaign name |
| new_daily_budget | number | Override the daily budget for the new campaign |
| new_end_time | string | Override end time for duplicated ad sets (ISO 8601, e.g. 2026-03-20T23:59:59-0500) |
| new_start_time | string | Override start time for duplicated ad sets (ISO 8601, e.g. 2026-03-10T00:00:00-0500) |
| new_status | string | Status for the new campaign (ACTIVE or PAUSED) |
| pb_token | string |
duplicate_creativeDuplicate a Meta Ads creative.| Parameter | Type | Description |
|---|---|---|
| access_token | string | |
| creative_id * | string | Meta Ads creative ID to duplicate |
| name_suffix | string | Suffix to add to the duplicated creative name |
| new_creative_features_spec | object | Override / merge into the duplicate's degrees_of_freedom_spec.creative_features_spec. Use individual feature keys (e.g. image_touchups, image_uncrop, text_optimizations, video_auto_crop) with {"enroll_status": "OPT_IN" | "OPT_OUT"} values. Merged on top of the source creative's surviving creative_features_spec entries. NOTE: the legacy "standard_enhancements" key is rejected by Meta on POST (error_subcode 3858504); pass individual feature keys instead. The duplication response surfaces a warning when the source had standard_enhancements so callers know what to set here. |
| new_cta_type | string | Override the call-to-action type for the new creative |
| new_description | string | Override the description for the new creative |
| new_destination_url | string | Override the destination URL for the new creative |
| new_headline | string | Override the headline for the new creative |
| new_primary_text | string | Override the primary text for the new creative |
| pb_token | string |
estimate_audience_sizeEstimate audience size for targeting specifications using Meta's delivery_estimate API.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id | any | Meta Ads account ID (format: act_XXXXXXXXX) - required for comprehensive estimation |
| interest_fbid_list | array | [DEPRECATED - for backwards compatibility] List of interest IDs to validate |
| optimization_goal | string | Optimization goal for estimation (default: "REACH"). Options: "REACH", "LINK_CLICKS", "IMPRESSIONS", "CONVERSIONS", etc. |
| targeting | object | Complete targeting specification including demographics, geography, interests, etc. Example: { "age_min": 25, "age_max": 65, "geo_locations": {"countries": ["PL"]}, "flexible_spec": [ {"interests": [{"id": "6003371567474"}]}, {"interests": [{"id": "6003462346642"}]} ] } |
generate_reportGenerate comprehensive Meta Ads performance reports.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (format: act_XXXXXXXXX) |
| breakdowns | array | Audience breakdown dimensions (age, gender, country, etc.) |
| campaign_ids | array | Specific campaign IDs (required for campaign/comparison reports) |
| comparison_period | string | Time period for comparison analysis |
| export_format | string | Output format for the report (pdf, json, html) |
| include_sections | array | Specific sections to include in the report |
| report_name | string | Custom name for the report (auto-generated if not provided) |
| report_type | string | Type of report to generate (account, campaign, comparison) |
| time_range | string | Time period for the report (e.g., 'last_30d', 'last_7d', 'this_month') |
get_account_infoGet detailed information about a specific ad account.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (format: act_XXXXXXXXX) |
| fields | string | Optional comma-separated Graph API fields to return. When provided, replaces the default field set. Useful for fetching extras like funding_source_details, spend_cap, is_prepay_account, min_daily_budget, disable_reason, capabilities. Default fields: id, name, account_id, account_status, amount_spent, balance, currency, age, business_city, business_country_code, timezone_name. For prepaid accounts (is_prepay_account=true, common in Brazil), the Business Manager "available balance" is the sum of funding_source_details STORED_BALANCE entries plus coupons — the `balance` field alone is the amount due to be billed, not the available pre-paid funds. |
get_account_pagesGet pages associated with a Meta Ads account.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (format: act_XXXXXXXXX) |
get_ad_accountsGet ad accounts accessible by a user.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| limit | integer | Maximum number of accounts to return (default: 200) |
| user_id | string | Meta user ID or "me" for the current user |
get_ad_creativesGet creative details for a specific ad. Requires an ad_id (not account_id). Use get_ads first to find ad IDs.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| ad_id * | string | Meta Ads ad ID (required) |
get_ad_detailsGet detailed information about a specific ad.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| ad_id * | string | Meta Ads ad ID |
get_ad_imageGet, download, and visualize the image attached to an existing Meta ad.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| ad_id * | string | Meta Ads ad ID |
get_ad_videoGet video details and source URL for a Meta ad video creative. Returns the video source URL| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id | string | Ad account ID (e.g. "act_123" or "123"). Enables advideos edge lookup. |
| ad_id | string | Meta Ads ad ID (will extract video_id from the ad creative) |
| video_id | string | Meta video ID (use this if you already have it from get_ad_creatives) |
get_adsGet ads for a Meta Ads account with optional filtering.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (format: act_XXXXXXXXX) |
| adset_id | string | Optional ad set ID to filter by |
| campaign_id | string | Optional campaign ID to filter by |
| limit | integer | Maximum number of ads to return (default: 10) |
get_adset_detailsGet detailed information about a specific ad set.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| adset_id * | string | Meta Ads ad set ID |
get_adsetsGet ad sets for a Meta Ads account with optional filtering by campaign.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (format: act_XXXXXXXXX) |
| campaign_id | string | Optional campaign ID to filter by |
| limit | integer | Maximum number of ad sets to return (default: 10) |
get_campaign_detailsGet detailed information about a specific campaign.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| campaign_id * | string | Meta Ads campaign ID |
get_campaignsGet campaigns for a Meta Ads account with optional filtering.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (format: act_XXXXXXXXX) |
| after | string | Pagination cursor to get the next set of results |
| limit | integer | Maximum number of campaigns to return (default: 10) |
| objective_filter | any | Filter by campaign objective(s). Can be a single objective string or a list of objectives. Valid objectives: 'OUTCOME_AWARENESS', 'OUTCOME_TRAFFIC', 'OUTCOME_ENGAGEMENT', 'OUTCOME_LEADS', 'OUTCOME_SALES', 'OUTCOME_APP_PROMOTION'. Examples: 'OUTCOME_LEADS' or ['OUTCOME_LEADS', 'OUTCOME_SALES']. Leave empty for all objectives. |
| status_filter | string | Filter by effective status (e.g., 'ACTIVE', 'PAUSED', 'ARCHIVED'). Maps to the 'effective_status' API parameter, which expects an array (this function handles the required JSON formatting). Leave empty for all statuses. |
get_creative_detailsGet detailed information about a specific ad creative by its ID.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional) |
| creative_id * | string | Meta Ads creative ID (required) |
get_image_by_hashGet, download, and visualize a Meta ad image by its hash.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (act_XXXXXXXXX or bare numeric — both accepted) |
| image_hash * | string | Meta image hash |
get_insightsGet performance insights for a campaign, ad set, ad or account.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id | string | Alias for object_id when querying account-level insights |
| action_attribution_windows | array | Optional list of attribution windows (e.g., ["1d_click", "7d_click", "1d_view"]). When specified, actions include additional fields for each window. The 'value' field always shows 7d_click. |
| action_breakdowns | array | Optional list of action_breakdowns to apply to action-typed metrics. Pass [] to disable the default action_type slicing (required when combining action data with breakdowns that collide with action_type, e.g. media_type — auto-applied for media_type when not set). Meta supports values like action_type, action_target_id, action_destination, etc. |
| ad_id | string | Alias for object_id when querying ad-level insights |
| adset_id | string | Alias for object_id when querying ad-set-level insights |
| after | string | Pagination cursor to get the next set of results. Use the 'after' cursor from previous response's paging.next field. |
| breakdown | string | Optional breakdown dimension. Valid values include: Demographic: age, gender, country, region, dma Platform/Device: device_platform, platform_position, publisher_platform, impression_device NOTE: platform_position is a Meta-restricted breakdown — Meta requires it to be paired with publisher_platform (otherwise "(#100) ... (action_type, platform_position) is invalid"). When you pass platform_position, this tool auto-adds publisher_platform, and the action-typed fields (actions, action_values, conversions, cost_per_action_type) are returned per placement, so you get leads/CPL/conversions broken down by placement. Creative Assets: ad_format_asset, body_asset, call_to_action_asset, description_asset, image_asset, link_url_asset, title_asset, video_asset, media_type, creative_relaxation_asset_type, flexible_format_asset_type, gen_ai_asset_type NOTE: Asset breakdowns (image_asset, video_asset, etc.) only return data for ads running with Dynamic Creative; for non-DCO ads, expect empty rows. NOTE: media_type collides with the default action_breakdowns=[action_type], so this tool auto-overrides action_breakdowns to [] when you pass media_type. Action-typed metrics (actions, action_values, conversions) are still returned but are no longer sliced by action_type alongside media_type. media_asset_url, media_creator, media_destination_url, media_format, media_origin_url, and media_text_content are NOT supported by Meta's Insights API (Meta returns "(#100) Tried accessing nonexisting field"). Use the asset breakdowns above instead. Campaign/Ad Attributes: breakdown_ad_objective, breakdown_reporting_ad_id, app_id, product_id Conversion Tracking: coarse_conversion_value, conversion_destination, standard_event_content_type, signal_source_bucket, is_conversion_id_modeled, fidelity_type, redownload Time-based: hourly_stats_aggregated_by_advertiser_time_zone, hourly_stats_aggregated_by_audience_time_zone, frequency_value Extensions/Landing: ad_extension_domain, ad_extension_url, landing_destination, mdsa_landing_destination Attribution: sot_attribution_model_type, sot_attribution_window, sot_channel, sot_event_type, sot_source Mobile/SKAN: skan_campaign_id, skan_conversion_id, skan_version, postback_sequence_index CRM/Business: crm_advertiser_l12_territory_ids, crm_advertiser_subvertical_id, crm_advertiser_vertical_id, crm_ult_advertiser_id, user_persona_id, user_persona_name Advanced: hsid, is_auto_advance, is_rendered_as_delayed_skip_ad, mmm, place_page_id, marketing_messages_btn_name, impression_view_time_advertiser_hour_v2, comscore_market, comscore_market_code |
| campaign_id | string | Alias for object_id when querying campaign-level insights |
| compact | boolean | When True, strips redundant action-type duplicates from the response (omni_*, onsite_web_*, offsite_conversion.fb_pixel_*, etc.) to reduce payload size by ~60%. The canonical action types (purchase, add_to_cart, view_content, etc.) are always preserved. Default: False. |
| level | string | Level of aggregation (ad, adset, campaign, account) |
| limit | integer | Maximum number of results to return per page (default: 25, Meta API allows much higher values) |
| object_id | string | ID of the campaign, ad set, ad or account. You can also use the alias parameters below. |
| time_range | any | Either a preset time range string or a dictionary with "since" and "until" dates in YYYY-MM-DD format Preset options: today, yesterday, this_month, last_month, this_quarter, maximum, data_maximum, last_3d, last_7d, last_14d, last_28d, last_30d, last_90d, last_week_mon_sun, last_week_sun_sat, last_quarter, last_year, this_week_mon_today, this_week_sun_today, this_year Dictionary example: {"since":"2023-01-01","until":"2023-01-31"} |
get_interest_suggestionsGet interest suggestions based on existing interests.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| interest_list * | array | List of interest names to get suggestions for (e.g., ["Basketball", "Soccer"]) |
| limit | integer | Maximum number of suggestions to return (default: 25) |
save_ad_image_locallyGet, download, and save a Meta ad image locally, returning the file path.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| ad_id * | string | Meta Ads ad ID |
| output_dir | string | Directory to save the image file (default: 'ad_images') |
search_ads_archiveSearch the Facebook Ads Library archive.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided). |
| ad_reached_countries * | array | List of country codes (e.g., ["US", "GB"]). |
| ad_type | string | Type of ads to search for (e.g., POLITICAL_AND_ISSUE_ADS, HOUSING_ADS, ALL). |
| limit | integer | Maximum number of ads to return. |
| search_terms * | string | The search query for ads. |
search_behaviorsGet all available behavior targeting options.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| limit | integer | Maximum number of results to return (default: 50) |
search_demographicsGet demographic targeting options.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| demographic_class | string | Type of demographics to retrieve. Options: 'demographics', 'life_events', 'industries', 'income', 'family_statuses', 'user_device', 'user_os' (default: 'demographics') |
| limit | integer | Maximum number of results to return (default: 50) |
search_geo_locationsSearch for geographic targeting locations.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| limit | integer | Maximum number of results to return (default: 25) |
| location_types | array | Types of locations to search. Options: ['country', 'region', 'city', 'zip', 'geo_market', 'electoral_district']. If not specified, searches all types. |
| query * | string | Search term for locations (e.g., "New York", "California", "Japan") |
search_interestsSearch for interest targeting options by keyword.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| limit | integer | Maximum number of results to return (default: 25) |
| query * | string | Search term for interests (e.g., "baseball", "cooking", "travel") |
search_pages_by_nameSearch for pages by name within an account.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (format: act_XXXXXXXXX) |
| search_term | string | Search term to find pages by name (optional - returns all pages if not provided) |
update_adUpdate an ad with new settings.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| ad_id * | string | Meta Ads ad ID |
| bid_amount | integer | Bid amount in account currency (in cents for USD) |
| creative_id | any | ID of the creative to associate with this ad (changes the ad's image/content) |
| name | string | New ad name |
| status | string | Update ad status (ACTIVE, PAUSED, etc.) |
| tracking_specs | array | Optional tracking specifications (e.g., for pixel events). |
update_ad_creativeUpdate an existing ad creative's name or optimization settings.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| ad_formats | array | List of ad format strings for asset_feed_spec (e.g., ["AUTOMATIC_FORMAT"] for Flexible ads, ["SINGLE_IMAGE"] for single image) |
| call_to_action_type | string | New call to action button type — NOTE: Meta API may reject this on existing creatives |
| creative_features_spec | object | Dict of Advantage+ Creative feature opt-ins/opt-outs. Each key is a feature name, value is {"enroll_status": "OPT_IN"|"OPT_OUT"}. Sent as a top-level field (not inside degrees_of_freedom_spec). |
| creative_id * | string | Meta Ads creative ID to update |
| description | string | Single description — NOTE: Meta API may reject this on existing creatives |
| descriptions | array | New list of descriptions — NOTE: Meta API may reject this on existing creatives |
| dynamic_creative_spec | object | New dynamic creative optimization settings |
| headline | string | Single headline — NOTE: Meta API may reject this on existing creatives |
| headlines | array | New list of headlines — NOTE: Meta API may reject this on existing creatives |
| lead_gen_form_id | any | Lead generation form ID for lead generation campaigns |
| message | string | New ad copy/text — NOTE: Meta API may reject this on existing creatives |
| messages | array | List of primary text variants — NOTE: Meta API may reject this on existing creatives |
| name | string | New creative name (this is the most reliable update) |
| optimization_type | string | Set to "DEGREES_OF_FREEDOM" for FLEX (Advantage+) creatives |
update_adsetUpdate an ad set with new settings including frequency caps and budgets.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| adset_id * | string | Meta Ads ad set ID |
| attribution_spec | array | Attribution window specification for the ad set. WARNING: Meta no longer supports updating attribution_spec after ad set creation (error 1504040). To change attribution windows, create a new ad set instead. This parameter is kept for compatibility but will be rejected by Meta's API. Valid event_type values: CLICK_THROUGH, VIEW_THROUGH. Valid window_days values: 1, 7, 28 (depends on event_type and optimization_goal). |
| bid_adjustments | object | Bid multipliers per targeting dimension. Pass-through to Meta. Shape: {"user_groups": {"<dim>": {"<value>": <float>, "default": <float>}}} See create_adset for full docs and dim list. NOTE: Writing requires a Meta app capability that must be allowlisted. |
| bid_amount | integer | Bid amount in cents. Required for LOWEST_COST_WITH_BID_CAP, COST_CAP, TARGET_COST. NOT USED by LOWEST_COST_WITH_MIN_ROAS (uses bid_constraints instead). |
| bid_constraints | object | Bid constraints dict. Required for LOWEST_COST_WITH_MIN_ROAS. Use {"roas_average_floor": <value>} where value = target ROAS * 10000. Example: 2.0x ROAS -> {"roas_average_floor": 20000} |
| bid_strategy | string | Bid strategy. Valid values: - 'LOWEST_COST_WITHOUT_CAP' (recommended) - no bid_amount required - 'LOWEST_COST_WITH_BID_CAP' - REQUIRES bid_amount - 'COST_CAP' - REQUIRES bid_amount - 'LOWEST_COST_WITH_MIN_ROAS' - REQUIRES bid_constraints with roas_average_floor Note: 'LOWEST_COST' is NOT valid - use 'LOWEST_COST_WITHOUT_CAP'. |
| daily_budget | integer | Daily budget in account currency (in cents) |
| dsa_beneficiary | string | DSA beneficiary for European compliance (person/org that benefits from ads). Required for EU-targeted ad sets along with dsa_payor. |
| dsa_payor | string | DSA payor for European compliance (person/org paying for the ads). Required for EU-targeted ad sets along with dsa_beneficiary. |
| end_time | string | End time in ISO 8601 format. Required when lifetime_budget is specified. |
| frequency_control_specs | array | Frequency control specs (e.g. [{"event": "IMPRESSIONS", "interval_days": 7, "max_frequency": 3}]) |
| is_dynamic_creative | boolean | Enable/disable Dynamic Creative for this ad set. WARNING: This field is immutable after ad set creation. Meta's API will return success but silently ignore the change. To change this, create a new ad set. |
| lifetime_budget | integer | Lifetime budget in account currency (in cents) |
| multi_advertiser_ads | integer | Set to 0 to opt out of Multi-Advertiser Ads, 1 to opt in. This is a TOP-LEVEL ad set parameter — do NOT put it inside the targeting object. |
| name | string | New ad set name |
| optimization_goal | string | Conversion optimization goal (e.g., 'LINK_CLICKS', 'CONVERSIONS', 'VALUE') |
| regional_regulated_categories | array | List of regional regulated categories for the ad set. Required for ads targeting regulated regions (Taiwan, Australia, etc.). Valid values: TAIWAN_FINSERV, TAIWAN_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV, SINGAPORE_UNIVERSAL, THAILAND_UNIVERSAL. Set to null/empty to remove existing categories. |
| regional_regulation_identities | object | Dict of verified identity IDs for regional transparency compliance. Required when regional_regulated_categories is set. Set individual keys to null to remove them. |
| start_time | string | Start time in ISO 8601 format (e.g., '2023-12-01T12:00:00-0800'). Use with status=ACTIVE to schedule the ad set for future delivery (effective_status will be SCHEDULED until start_time). |
| status | string | Update ad set status (ACTIVE, PAUSED, etc.) |
| targeting | object | Complete targeting specifications (replaces existing targeting) |
update_campaignUpdate an existing campaign in a Meta Ads account.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| bid_cap | integer | New bid cap in account currency (in cents) as a string |
| bid_strategy | string | New bid strategy |
| campaign_budget_optimization | boolean | Enable/disable campaign budget optimization |
| campaign_id * | string | Meta Ads campaign ID |
| daily_budget | integer | New daily budget in account currency (in cents). |
| lifetime_budget | integer | New lifetime budget in account currency (in cents). |
| name | string | New campaign name |
| objective | string | New campaign objective (Note: May not always be updatable) |
| special_ad_categories | array | List of special ad categories if applicable |
| spend_cap | integer | New spending limit for the campaign in account currency (in cents) as a string |
| status | string | New campaign status (e.g., 'ACTIVE', 'PAUSED') |
upload_ad_imageUpload an image to use in Meta Ads creatives.| Parameter | Type | Description |
|---|---|---|
| access_token | string | Meta API access token (optional - will use cached token if not provided) |
| account_id * | string | Meta Ads account ID (format: act_XXXXXXXXX) |
| file | string | Data URL or raw base64 string of the image (e.g., "data:image/png;base64,iVBORw0KG...") |
| image_url | string | Direct URL to an image to fetch and upload |
| name | string | Optional name for the image (default: filename) |
Security checks
Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 4.0K words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 21 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPmeta_ads_mcp/core/server.py:364, meta_ads_mcp/core/server.py:356
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 12 callsmeta_ads_mcp/core/api.py:230, meta_ads_mcp/core/api.py:288, meta_ads_mcp/core/auth.py:433
- Writes or deletes files
- 6 callsmeta_ads_mcp/core/ads.py:1266, meta_ads_mcp/core/ads.py:1269, meta_ads_mcp/core/auth.py:195
- Lockfile
- None in the repository
Pattern matches on the source text of 21 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 4.0K words, fetched 3 days ago. The original in the repository is authoritative.
Read full README