Meta Ads

com.getmcpads由 getmcpads.com 發布v2.1.2更新於 Nov 8, 2026

Meta Ads MCP server: 42 read tools, 24 opt-in preview-first writes.

已驗證STDIO僅桌面資料與分析商業與電商

概覽

AI 產生的概覽

在本機執行的 MCP 伺服器,讓助理讀取 Meta 廣告帳戶、行銷活動、素材與成效資料,並可選擇啟用先預覽後套用的寫入工具。

可以做什麼
  • 列出廣告帳戶、行銷活動、廣告組合、廣告與階層結構,並依名稱搜尋實體
  • 查詢成效資料,查詢規劃器會驗證並拆分指標與細分組合
  • 檢視素材、圖片、影片、受眾、Pixel、商品目錄、粉絲專頁、Instagram 帳戶與操作紀錄
  • 檢查投遞診斷、品牌安全訊號、A/B 測試與轉換提升研究結果
  • 讀取固定結構未涵蓋的原始 Graph 節點、邊與成效欄位
  • 可選擇先預覽再套用預算、狀態、排程、重新命名與建立類變更
適用情境
適合想讓助理回答 Meta 廣告投放成效問題、檢視帳戶結構與素材資產,或在桌面 MCP 用戶端準備廣告變更、同時讓資料留在自己電腦上的情境。
執行需求
透過 npm 套件 @getmcpads/meta-ads-mcp-server 以 stdio 在本機執行,建議 Node.js 22.23.4+、24.22.1+ 或 26.12.1+。需在 META_ACCESS_TOKEN 提供至少具 ads_read 權限的 Meta 存取權杖;粉絲專頁、Instagram、商品目錄與 Business Manager 需額外權限。META_API_VERSION 預設 v26.0。寫入需 META_ENABLE_WRITES=1 與 ads_management。需能連線 graph.facebook.com。
安裝前請注意
此權杖可讀取實際廣告帳戶;啟用寫入後還能變更預算、狀態、排程與名稱,並建立行銷活動、廣告組合、廣告、素材、受眾與目錄商品。寫入工具預設關閉,未帶 confirm:true 時僅預覽,但確認後的呼叫會改動線上帳戶並可能產生花費。建議使用最小權限的 System User 權杖,非必要不開啟 ads_management。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Meta Ads,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Meta Ads MCP server

Ask better questions about your Meta campaigns.

Compare campaign performance, inspect delivery and prepare changes from your MCP client.

[Release] [CI] [Smithery] [License: Apache 2.0] [Node]

Watch the film · What's new · Install · Tool reference · Try hosted getmcpads

[Watch the getmcpads film: every ad account in one conversation with your AI assistant]

Play the 45-second film

The film shows hosted getmcpads with sample data. Its MCP Apps, from creative galleries and alerts to Google Sheets exports and bulk launches, belong to the hosted product. This repository provides the standalone native API tools.

42 read tools · 24 write tools, disabled by default.

Run locally with your own platform credentials and a client that supports stdio MCP, such as Claude Desktop, Claude Code or Cursor. Your requests go directly to the platform. For managed connections, including supported ChatGPT setups, use the hosted option.

What's new

v2.1.1: Zod 4 security update · October 26, 2026

  • Update zod to 4.6.7. Every Zod release before 4.6.6 is covered by the high-severity advisory GHSA-mrhx-c7xc-m3w5: validating an oversized constrained collection can exhaust memory, and no Zod 3 release carries the fix. npm audit --omit=dev reports no vulnerability again.
  • Keep the Zod 3 validation behaviour. A parameter default is still validated and completed before use, so an omitted object must still supply its required fields.
  • Keep each parameter's own description when the parameter is optional or has a default. Zod 4 stores a description on the wrapped schema only, so the shared fallback description could otherwise replace it.
  • Tool names, parameters and descriptions published over MCP are unchanged. server-card.json is regenerated with Zod 4's JSON Schema output, which spells some constraints differently.

Earlier releases

VersionDateHighlights
2.1.0October 23, 2026Gateway sync and runtime security update
2.0.1September 23, 2026Public repository restored
2.0.0September 20, 2026Gateway sync and security fixes
1.1.0September 13, 2026Platform capability sync and quality contracts
1.0.2August 30, 2026Announce the package version over MCP.
1.0.1August 30, 2026Add server.json and mcpName for the official MCP Registry, under com.getmcpads/meta-ads.
1.0.0August 29, 2026First open-source release

Full changelog · All releases

Source synchronization: SOURCE_SYNC.md.

Upgrade notes

Requires Node.js 22.23.4 or newer on the 22 line, 24.22.1 or newer on the 24 line, or 26.12.1 or newer. These releases carry the October 2026 security fixes. On an older runtime the server still starts and writes a warning to stderr. CI covers Node 22, 24 and 26. meta_health_check now reports a check it could not run as unknown, not as missing. Read the current tool schemas before reusing saved arguments. Writes remain optional and require explicit confirmation. Hosted creative integrations and MCP Apps UI are outside this release.

Install this release

This is a GitHub source release. npm and MCP Registry versions are published separately. The commands below select this exact version; unpinned npx examples later in this document select the version currently available on npm.

bash
git clone --branch v2.1.1 --depth 1 https://github.com/get-mcp-ads/meta-ads-mcp-server.gitcd meta-ads-mcp-servernpm cinpm run build

Configure your MCP client to run node with the absolute path to dist/cli.js and the platform credentials documented below.

Prefer a managed connection? Use Meta Ads with hosted getmcpads. Connect your account, select the data your assistant may access and use the hosted MCP connection. See the site for current features and plans.

What you get

42 read toolsCampaigns, ad sets, ads, creatives, audiences, pixels, catalogs, Pages, Instagram, activity logs, A/B tests and lift studies
24 write toolsOff by default. Status, budgets, schedules, renames, campaign creation. Each one previews before it applies
190 metricsIncluding derived ones computed client-side (ROAS, CPA, frequency, hook rate, attribution-window views)
56 breakdowns · 90 dimensionsWith a compatibility matrix that catches invalid combinations before they hit the API
7 resourcesLive catalogues the model can read: metrics, breakdowns, compatibility rules, 11 workflow recipes
Forward-compatible readsmeta_get_node_fields, meta_list_edge_raw, meta_get_insights_raw reach Graph fields this server doesn't model yet

The query planner

Meta rejects many metric/breakdown combinations, and the error messages rarely say why. This server encodes the compatibility matrix, so it splits an impossible request into several valid API calls and merges the results instead of failing.

meta_validate_query lets the model check a combination before spending a call on it. That is the difference between an assistant that reports "the API returned error 100" and one that returns your numbers.


Getting a token

This is the one step that takes real effort, and it's worth doing properly.

You need a Meta access token with ads_read. There are three ways to get one; the second is the one we recommend.

Recommended: System User token (does not expire)

A System User belongs to your Business, not to a person. Its token survives password changes and staff departures, and needs no App Review to access ad accounts your Business already owns.

  1. Go to Business Settings → Users → System Users
  2. Add a system user. Give it the Employee role unless you need more.
  3. Assign Assets → select your ad accounts → grant View performance (add Manage campaigns only if you plan to enable writes).
  4. Generate New Token → pick your app → select scope ads_read (add ads_management only for writes).
  5. Set the expiry to Never.
  6. Copy the token. Meta shows it once.

📖 Meta's System User documentation

Quick test: Graph API Explorer (expires in ~1 hour)

Fine for trying the server out, useless for daily work. Graph API Explorer → select your app → add ads_read → Generate Access Token.

Long-lived user token (~60 days)

Exchange a short-lived token for a 60-day one. You will have to redo this every two months. 📖 Long-lived tokens

Which permissions?

PermissionWhen you need it
ads_readAlways. Campaigns, insights, everything read-only
ads_managementOnly if you set META_ENABLE_WRITES=1
business_managementOptional. Business Manager asset discovery
pages_show_list, pages_read_engagementOptional. Page posts and organic enrichment
instagram_basicOptional. Linked Instagram accounts
catalog_managementOptional. Product catalog reads

Run meta_health_check as your first call: it reports which scopes you actually have and which ones are missing for the tools you tried to use, without printing your token.


Setup

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "meta-ads": {      "command": "npx",      "args": ["-y", "@getmcpads/meta-ads-mcp-server"],      "env": {        "META_ACCESS_TOKEN": "your-token-here"      }    }  }}

Restart Claude Desktop. Ask it: "list my Meta ad accounts".

Claude Code

bash
claude mcp add meta-ads --env META_ACCESS_TOKEN=your-token-here -- npx -y @getmcpads/meta-ads-mcp-server

Cursor

.cursor/mcp.json in your project, same shape as the Claude Desktop config above.

From source

bash
git clone https://github.com/get-mcp-ads/meta-ads-mcp-server.gitcd meta-ads-mcp-servernpm install && npm run buildcp .env.example .env   # then fill in META_ACCESS_TOKENnpm start

Configuration

VariableDefaultMeaning
META_ACCESS_TOKENnoneRequired. Your Meta access token
META_ENABLE_WRITESunsetSet to 1 to register the 24 write tools
META_API_VERSIONv26.0Graph API version. Override to pin another
LOG_LEVELinfodebug, info, warn, error

Check your setup at any time:

bash
npm run doctor

Writes, and why they preview first

Write tools are disabled by default. Enable them with META_ENABLE_WRITES=1.

When enabled, every write tool returns a preview and changes nothing:

jsonc
// meta_update_adset_budget { adSetId: "123", currency: "EUR", dailyBudget: 50 }{  "applied": false,  "action": "meta_update_adset_budget",  "change": { "adSet": "123", "field": "daily_budget", "amount": 50,              "currency": "EUR", "inMinorUnits": 5000 },  "message": "Preview only, nothing was changed. Repeat the same call with confirm: true to apply this change to the live account."}

Only a second call carrying confirm: true touches the live account.

This is deliberate. An assistant composes these calls, and it can pick the wrong account, the wrong campaign, or the wrong order of magnitude on a budget. A mandatory preview makes the mistake visible before it costs money, and gives a human the stopping point the protocol does not guarantee on its own.

Two further guardrails:

  • meta_create_campaign always creates the campaign PAUSED. There is no option to create it active.
  • Budgets are converted to minor units per currency. The yen, the won and the CFA franc have no subunit, so sending 1250 for ¥12.50 would multiply the spend by a hundred. The server knows the zero-decimal currencies.
ToolWhat it changes
meta_update_campaign_status / _adset_status / _ad_statusPause or reactivate
meta_update_campaign_budget / _adset_budgetDaily or lifetime budget
meta_update_adset_scheduleStart and end time
meta_rename_campaign / _adset / _ad / _ad_accountName only
meta_create_campaignCreates a campaign, always PAUSED

Tools

Every tool is listed below. See server-card.json for complete parameter and output schemas.

42 read tools
ToolPurpose
meta_health_checkRead-only connection diagnostic: inspects token identity and granted permissions, and lists accessible ad accounts without exposing the access token.
meta_get_business_assetsDiscover accessible Meta Business assets read-only: businesses, pages, Instagram accounts, pixels, and datasets when permissions allow.
meta_get_pagesList accessible Facebook Pages with id, name, category, tasks, picture, and linked Instagram account references when available.
meta_get_instagram_accountsList Instagram accounts linked to accessible Pages, Business Manager assets, or an ad account when permissions allow.
meta_get_pixelsList pixels and datasets from an ad account or Business Manager when accessible, returning actionable warnings for permission-limited edges.
meta_get_ad_activityRead ad account activity logs from /{ad_account_id}/activities with object, event, actor, timestamp, and extra_data fields.
meta_get_delivery_diagnosticsAggregate read-only delivery diagnostics across campaigns, ad sets, and ads using status/effective_status/issues_info where available plus simple delivery insights.
meta_get_creative_assetsReturn ad-linked creative media with actual ad names, collection covers, all carousel/flexible components, resolved image hashes and video URLs.
meta_get_audience_detailsRead detailed custom, saved, and lookalike audiences with pagination and rich fields where permissions allow.
meta_get_catalog_productsRead Product Catalogs and Product Items when catalog access is available.
meta_join_product_insightsQuery product-breakdown insights and enrich rows with Product Catalog metadata when catalog access is available.
meta_get_brand_safety_controlsRead brand safety, suitability, placement, and context-control signals from ad account/ad set targeting and optional block-list edges.
meta_interpret_experiment_resultsRead and interpret A/B test or conversion lift study results with confidence guardrails, cells, objectives, and optional cell entities.
meta_get_organic_content_enrichmentRead Facebook Page posts and Instagram media with URLs, native periods and optional insights.
meta_list_ad_accountsList all Meta ad accounts accessible with the current token.
meta_get_account_detailsGet detailed information for a specific Meta ad account: name, currency, timezone, spend cap, status, business info.
meta_get_campaignsList campaigns for a Meta ad account.
meta_get_adsetsList ad sets for a Meta ad account, optionally filtered by campaign.
meta_get_adsList ads for a Meta ad account, optionally filtered by ad set.
meta_get_insightsQuery Meta Ads performance insights.
meta_get_campaign_structureGet hierarchical campaign structure: campaigns -> ad sets -> ads.
meta_get_creativesGet ad creative content: text, images, videos, links, call-to-action.
meta_get_audiencesList custom, saved, and lookalike audiences for a Meta ad account.
meta_get_ad_studiesList conversion lift studies and A/B tests (Ad Studies) for an ad account.
meta_get_study_resultsGet detailed results for a conversion lift or A/B test study.
meta_validate_queryValidate a metric/breakdown combination BEFORE executing.
meta_get_page_postsRead published Facebook Page posts using a Page token resolved from the connected user.
meta_debug_tokenInspect token identity, validity, expiry and scopes.
meta_search_entitiesSearch campaigns, ad sets, or ads by name within an ad account.
meta_get_node_fieldsRead arbitrary flat fields from one Meta Graph node.
meta_list_edge_rawList an allowlisted read-only Meta Graph edge with caller-selected flat fields, filters, and cursor pagination.
meta_get_insights_rawQuery the Meta Insights edge with validated native field names, breakdowns, action breakdowns, attribution windows, filters, sort, summary, and pagination.
meta_search_targeting_optionsSearch Meta's read-only targeting metadata for interests, validated interests, geographies, locales, countries, cities, regions, markets, or postal codes.
meta_get_ad_previewGet the read-only preview markup for an existing Meta ad in a requested placement format.
meta_list_ad_imagesList the ad account image library (/adimages): hash, name, dimensions, status, a permanent publicly served display URL (permalink_url), short-lived CDN URLs, and optionally the creatives using each image.
meta_list_ad_videosList the ad account video library (/advideos): title, duration, processing status, and publicly served thumbnails (preferred and largest sizes).
meta_get_video_sourcesResolve fresh download URLs (source) and thumbnails for specific ad videos.
meta_get_entity_configurationRead a specific entity in its ad account for reconciliation.
meta_get_uploaded_videoCheck video processing and membership in the selected account library.
meta_get_adset_configurationRead an existing ad set, its parent campaign budget/objective and account currency before preparing an edit or adding ads.
meta_get_promotable_appsList the apps this ad account can advertise, with their store URLs, to set up a website and app (cross-channel) ad set.
meta_get_catalog_batch_statusRead the completion and per-item errors for a catalog batch handle.
24 write tools

Disabled by default. Calls preview unless explicitly confirmed. Check the configuration and exact schema before use.

ToolPurpose
meta_create_campaignCreate a PAUSED Meta campaign with either ad set budgets (omit campaign budget), a daily campaign budget, or a lifetime campaign budget.
meta_update_adset_budgetChange an ad set daily or lifetime budget after checking its parent budget and existing schedule.
meta_update_adset_scheduleChange start and/or end time using ISO 8601 with an explicit offset.
meta_update_campaign_budgetChange an existing campaign-owned budget after verifying currency and ownership.
meta_create_adsetCreate a PAUSED Meta ad set with explicit targeting, optimization, placements, attribution, bidding and schedule.
meta_update_adset_configurationUpdate targeting, optimization, placements, attribution, bidding, budget or schedule.
meta_duplicate_adsetDuplicate a known-good ad set within the selected account, preserving complex native configuration.
meta_create_adcreativeCreate an ad creative from an existing post or an explicit object_story_spec and optional asset_feed_spec.
meta_create_adCreate a PAUSED ad using an existing ad set and creative from the selected account.
meta_update_ad_creativeReplace an ad’s creative with another existing creative from the same account.
meta_upload_ad_imageUpload an image into the selected ad account using base64 bytes (up to 5 MiB decoded).
meta_upload_ad_videoImport a video from a publicly reachable HTTPS URL or base64 MP4 bytes (up to 5 MiB decoded).
meta_create_custom_audienceCreate a website, engagement, customer-list container or lookalike audience.
meta_update_custom_audienceUpdate an existing custom audience name, description, retention or complete rule.
meta_create_product_setCreate a filtered product set in a catalog owned by the same Business as the selected ad account.
meta_update_product_setReplace a product set filter or rename it.
meta_batch_catalog_itemsCreate or update up to 50 catalog products by retailer_id.
meta_update_campaign_statusPause or reactivate a Meta campaign.
meta_update_adset_statusPause or reactivate a Meta ad set.
meta_update_ad_statusPause or reactivate a Meta ad.
meta_rename_campaignRename a Meta campaign.
meta_rename_adsetRename a Meta ad set.
meta_rename_adRename a Meta ad.
meta_rename_ad_accountRename a Meta ad account.
7 resources
URIContents
meta://manifestWhat this server exposes, and which tool to run first
meta://metricsAll 190 metrics with categories and formats
meta://breakdownsAll 56 breakdowns and where they are valid
meta://compatibilityThe compatibility matrix, 90 dimensions
meta://recipes11 step-by-step workflows
meta://p2-readonlyRead-only scope guidance
meta://app-reviewScope positioning for a Meta App Review submission

Security

The server holds a credential that can read live ad accounts, and modify them when writes are enabled. Concretely:

  • The token is never logged, at any log level, and never written to disk.
  • Requests go only to graph.facebook.com on the pinned version. Any other host is refused rather than called. Covered by tests.
  • Redirects are refused once a token is attached, so a redirect cannot forward your credential elsewhere. Covered by tests.
  • No telemetry. The server makes no network call other than to the Graph API. There is no analytics, no phone-home, and no usage reporting. You can verify this by grepping the source for fetch.

Full policy and reporting instructions: SECURITY.md.


Looking for a managed, multi-platform version?

Try hosted Meta Ads if you want to use this source without operating a local server. getmcpads also connects advertising, Search Console and GA4 through one MCP URL. Source availability and plan limits are listed on the site; connecting an account is still required.

  1. Follow the Meta Ads connection guide.
  2. Select the account or property your assistant may read.
  3. Connect Claude, ChatGPT or Codex.
  4. Try a read-only review: “Compare campaign results and investigate frequency alongside CTR. State missing data and do not change anything.”

See the current hosted tool catalogue and pricing before choosing a paid plan. This Apache 2.0 adapter remains independently useful with your own credentials.


Contributing

Issues and pull requests are welcome. See CONTRIBUTING.md. Please read SECURITY.md before reporting anything security-related.

Licence

Apache License 2.0. See also NOTICE.

Facebook, Meta, Instagram and the Meta Marketing API are trademarks of Meta Platforms, Inc. This project is not affiliated with, endorsed by, or sponsored by Meta Platforms, Inc. It is an independent client of a public API.

MCP contracts and desktop bundle

Every tool declares read/write annotations, parameter descriptions and a structured output schema. Successful calls expose the payload as structuredContent.result; errors retain isError: true. The generated server card contains definitions only.

Run npm run bundle -- /path/to/output to build a .mcpb desktop bundle from the current catalog. Credentials are entered locally during installation. Write tools remain disabled unless explicitly enabled.

More from getmcpads

Google Ads · Google Analytics 4 · Google Search Console · TikTok Ads · Pinterest Ads · X Ads

Maintained by Emmanuel at getmcpads. Questions: [email protected].

來源:README.md,提交 9dc4bf5

工具

42

meta_health_check

meta health check

Read-only connection diagnostic: inspects token identity and granted permissions, and lists accessible ad accounts without exposing the access token. Unavailable checks remain unknown; granted scopes do not prove app access level or clearance of Meta security checkpoints.

無需輸入參數。

meta_get_business_assets

meta get business assets

Discover accessible Meta Business assets read-only: businesses, pages, Instagram accounts, pixels, and datasets when permissions allow.

輸入參數limitcursorcursorsmaxPagesbusinessIdadAccountId

meta_get_pages

meta get pages

List accessible Facebook Pages with id, name, category, tasks, picture, and linked Instagram account references when available.

輸入參數limitcursorbusinessId

meta_get_instagram_accounts

meta get instagram accounts

List Instagram accounts linked to accessible Pages, Business Manager assets, or an ad account when permissions allow.

輸入參數limitcursorpageIdbusinessIdadAccountId

meta_get_pixels

meta get pixels

List pixels and datasets from an ad account or Business Manager when accessible, returning actionable warnings for permission-limited edges.

輸入參數limitcursorbusinessIdadAccountIdincludeDatasets

meta_get_ad_activity

meta get ad activity

Read ad account activity logs from /{ad_account_id}/activities with object, event, actor, timestamp, and extra_data fields.

輸入參數limitsinceuntilcursoradAccountId必填

meta_get_delivery_diagnostics

meta get delivery diagnostics

Aggregate read-only delivery diagnostics across campaigns, ad sets, and ads using status/effective_status/issues_info where available plus simple delivery insights.

輸入參數levellimitcursortimeRangedatePresetadAccountId必填effectiveStatusFilter

meta_get_creative_assets

meta get creative assets

Return ad-linked creative media with actual ad names, collection covers, all carousel/flexible components, resolved image hashes and video URLs. Catalog-only ads are classified separately; use the hosted GetMCPAds service for an interactive visual gallery. Raw creative metadata remains available for diagnostics.

輸入參數adIdslimitcursoradAccountIdcreativeIds

meta_get_audience_details

meta get audience details

Read detailed custom, saved, and lookalike audiences with pagination and rich fields where permissions allow.

輸入參數typelimitcursoradAccountIdaudienceIds

meta_get_catalog_products

meta get catalog products

Read Product Catalogs and Product Items when catalog access is available. Returns join-ready product metadata without creating or updating catalog assets.

輸入參數limitcursorsearchcatalogIdbusinessIdproductIdsincludeProductsincludeProductSets

meta_join_product_insights

meta join product insights

Query product-breakdown insights and enrich rows with Product Catalog metadata when catalog access is available.

輸入參數levellimitmetricscatalogIdtimeRangedatePresetadAccountId必填productBreakdowncatalogProductLimit

meta_get_brand_safety_controls

meta get brand safety controls

Read brand safety, suitability, placement, and context-control signals from ad account/ad set targeting and optional block-list edges.

輸入參數limitcursoradsetIdsbusinessIdadAccountId必填includeAdsetsincludeBlockListsincludeRawTargeting

meta_interpret_experiment_results

meta interpret experiment results

Read and interpret A/B test or conversion lift study results with confidence guardrails, cells, objectives, and optional cell entities.

輸入參數limitstudyIdadAccountIdcellEntityTypeincludeCellEntities

meta_get_organic_content_enrichment

meta get organic content enrichment

Read Facebook Page posts and Instagram media with URLs, native periods and optional insights. These are content insights, not Ads Insights; do not infer an organic-only breakdown.

輸入參數limitsinceuntilcursorpageIdpostIdsmediaIdsincludeInsightsincludePagePostsinstagramAccountIdincludeInstagramMedia

meta_list_ad_accounts

meta list ad accounts

List all Meta ad accounts accessible with the current token. Returns account ID, name, currency, timezone, and status.

無需輸入參數。

meta_get_account_details

meta get account details

Get detailed information for a specific Meta ad account: name, currency, timezone, spend cap, status, business info.

輸入參數adAccountId必填

meta_get_campaigns

meta get campaigns

List campaigns for a Meta ad account. Returns campaign ID, name, status, objective, budget, and bid strategy.

輸入參數limitcursoradAccountId必填statusFilter

meta_get_adsets

meta get adsets

List ad sets for a Meta ad account, optionally filtered by campaign. Returns targeting, budget, optimization, and schedule info.

輸入參數limitcursorcampaignIdadAccountId必填statusFilter

meta_get_ads

meta get ads

List ads for a Meta ad account, optionally filtered by ad set. Returns ad ID, name, status, and creative reference.

輸入參數limitcursoradSetIdadsetIdadAccountId必填statusFilter

meta_get_insights

meta get insights

Query Meta Ads performance insights. Supports 170+ metrics, 43+ breakdowns with intelligent query planning. Use meta://metrics resource to see available metrics. Use meta://breakdowns for available breakdowns. The query planner automatically splits incompatible metric/breakdown combinations into multiple API requests and merges results. For purchases, leads or conversion analysis, request actions (and action_values for revenue) or explicit metrics such as purchases, omni_purchases or leads. The native conversions field is not a universal conversion total, and its absence does not mean purchases or leads are unavailable. Label the exact action_type and never sum overlapping purchase types.

輸入參數adIdslevel必填limitmetrics必填adsetIdstimeRangebreakdownsdatePresetdimensionsadAccountId必填campaignIdstimeIncrement另有 6 個

meta_get_campaign_structure

meta get campaign structure

Get hierarchical campaign structure: campaigns -> ad sets -> ads. Useful for understanding account organization.

輸入參數campaignIdadAccountId必填

meta_get_creatives

meta get creatives

Get ad creative content: text, images, videos, links, call-to-action. Returns creative details for specified ads.

輸入參數adIdslimitadAccountId必填

meta_get_audiences

meta get audiences

List custom, saved, and lookalike audiences for a Meta ad account.

輸入參數typelimitadAccountId必填

meta_get_ad_studies

meta get ad studies

List conversion lift studies and A/B tests (Ad Studies) for an ad account. Includes study type, status, and cells.

輸入參數adAccountId必填

meta_get_study_results

meta get study results

Get detailed results for a conversion lift or A/B test study. Returns objectives, cells, and lift results.

輸入參數studyId必填

meta_validate_query

meta validate query

Validate a metric/breakdown combination BEFORE executing. Returns errors and warnings. Use this to check if your query will work.

輸入參數levelmetrics必填breakdowns

meta_get_page_posts

meta get page posts

Read published Facebook Page posts using a Page token resolved from the connected user. Returns exact PageID_PostID, message, permalink and media attachments. Use postId for an exact existing-post ad preflight. No Instagram media, comments, likes or insights are requested; this read alone does not establish advertising eligibility.

輸入參數limitcursorpageId必填postId

meta_debug_token

meta debug token

Inspect token identity, validity, expiry and scopes. When Meta refuses to inspect this token with itself, independently check the connecting user and granted permissions; token and app metadata then remain unknown.

無需輸入參數。

meta_search_entities

meta search entities

Search campaigns, ad sets, or ads by name within an ad account. Useful for finding specific entities.

輸入參數limitcursorentityType必填nameFilter必填adAccountId必填statusFilter

meta_get_node_fields

meta get node fields

Read arbitrary flat fields from one Meta Graph node. This GET-only escape hatch covers newly released campaign, ad set, ad, creative, audience, catalog, Page, Instagram, pixel, and other accessible node fields without waiting for a fixed MCP schema update.

輸入參數fields必填nodeId必填includeMetadata

meta_list_edge_raw

meta list edge raw

List an allowlisted read-only Meta Graph edge with caller-selected flat fields, filters, and cursor pagination. Use this for broad metadata/entity discovery when a specialized tool does not expose a newly added field.

輸入參數edge必填afterlimitsinceuntilbeforefieldsparentId必填filteringparametersincludeSummary

meta_get_insights_raw

meta get insights raw

Query the Meta Insights edge with validated native field names, breakdowns, action breakdowns, attribution windows, filters, sort, summary, and pagination. This complements meta_get_insights when Meta adds fields before the curated metric catalog is updated.

輸入參數sortafterlevellimitfields必填objectId必填filteringtimeRangebreakdownsdatePresettimeIncrementincludeSummary另有 2 個

meta_search_targeting_options

meta search targeting options

Search Meta's read-only targeting metadata for interests, validated interests, geographies, locales, countries, cities, regions, markets, or postal codes.

輸入參數type必填limitquerycountryCodelocationTypes

meta_get_ad_preview

meta get ad preview

Get the read-only preview markup for an existing Meta ad in a requested placement format. The response may contain an iframe body but never creates or edits a creative.

輸入參數adId必填adFormat

meta_list_ad_images

meta list ad images

List the ad account image library (/adimages): hash, name, dimensions, status, a permanent publicly served display URL (permalink_url), short-lived CDN URLs, and optionally the creatives using each image.

輸入參數limitcursorhashesminWidthminHeightnameFilteradAccountId必填includeUsage

meta_list_ad_videos

meta list ad videos

List the ad account video library (/advideos): title, duration, processing status, and publicly served thumbnails (preferred and largest sizes). Source file URLs are returned only on request because they expire quickly.

輸入參數limitcursoradAccountId必填titleFilterincludeSourcemaxLengthSecondsminLengthSeconds

meta_get_video_sources

meta get video sources

Resolve fresh download URLs (source) and thumbnails for specific ad videos. Call this at download time: the returned URLs are signed and expire quickly.

輸入參數pageIdvideoIds必填adAccountId必填

meta_get_entity_configuration

meta get entity configuration

Read a specific entity in its ad account for reconciliation. Read-only; never creates, changes or retries the entity. Missing or normalized fields must be inspected before claiming an exact match.

輸入參數fields必填entityId必填adAccountId必填

meta_get_uploaded_video

meta get uploaded video

Check video processing and membership in the selected account library. If the first page misses the ID, use the video title to narrow the account-scoped lookup. A direct video read alone never proves membership or readiness. Bounded pagination; not_found is not success.

輸入參數videoId必填adAccountId必填

meta_get_adset_configuration

meta get adset configuration

Read an existing ad set, its parent campaign budget/objective and account currency before preparing an edit or adding ads. For a web and app (cross-channel) ad set, creativeRequirements gives the applink_treatment (and omnichannel_link_spec) used by its own ads. Returns native settings; no mutation.

輸入參數adSetId必填adAccountId必填

meta_get_promotable_apps

meta get promotable apps

List the apps this ad account can advertise, with their store URLs, to set up a website and app (cross-channel) ad set: promoted_object.omnichannel_object.app[] takes application_id and object_store_urls. Read-only.

輸入參數adAccountId必填

meta_get_catalog_batch_status

meta get catalog batch status

Read the completion and per-item errors for a catalog batch handle. Acceptance of a batch is not proof that every product succeeded.

輸入參數handle必填catalogId必填adAccountId必填

版本歷史

4
  1. v2.1.1Oct 26, 2026
  2. v2.1.0Oct 23, 2026
  3. v2.0.1Sep 23, 2026
  4. v1.0.2Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分