原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Meta Ads

作者:mikusnuz版本 1.6.1i★ –i在你的电脑上运行
注册名称io.github.mikusnuz/meta-ads

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 营销与社交媒体
  • 你需要填写:META_ADS_ACCESS_TOKEN, META_APP_SECRET

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: META_ADS_ACCESS_TOKEN, META_AD_ACCOUNT_ID, META_APP_ID, META_APP_SECRET, META_BUSINESS_ID, META_PIXEL_ID

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "meta-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/meta-ads-mcp"
      ],
      "env": {
        "META_ADS_ACCESS_TOKEN": "your-value",
        "META_AD_ACCOUNT_ID": "your-value",
        "META_APP_ID": "your-value",
        "META_APP_SECRET": "your-value",
        "META_BUSINESS_ID": "your-value",
        "META_PIXEL_ID": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add meta-ads --env META_ADS_ACCESS_TOKEN=your-value --env META_AD_ACCOUNT_ID=your-value --env META_APP_ID=your-value --env META_APP_SECRET=your-value --env META_BUSINESS_ID=your-value --env META_PIXEL_ID=your-value -- npx -y @mikusnuz/meta-ads-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "meta-ads": {
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/meta-ads-mcp"
      ],
      "env": {
        "META_ADS_ACCESS_TOKEN": "your-value",
        "META_AD_ACCOUNT_ID": "your-value",
        "META_APP_ID": "your-value",
        "META_APP_SECRET": "your-value",
        "META_BUSINESS_ID": "your-value",
        "META_PIXEL_ID": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "meta-ads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mikusnuz/meta-ads-mcp"
      ],
      "env": {
        "META_ADS_ACCESS_TOKEN": "your-value",
        "META_AD_ACCOUNT_ID": "your-value",
        "META_APP_ID": "your-value",
        "META_APP_SECRET": "your-value",
        "META_BUSINESS_ID": "your-value",
        "META_PIXEL_ID": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • META_ADS_ACCESS_TOKEN 机密 必填 env
    Meta Marketing API access token
  • META_AD_ACCOUNT_ID env
    Meta Ad Account ID (e.g. act_123456)
  • META_APP_ID env
    Meta App ID
  • META_APP_SECRET 机密 env
    Meta App Secret
  • META_BUSINESS_ID env
    Meta Business Manager ID
  • META_PIXEL_ID env
    Meta Pixel ID

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 mikusnuz 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 3605 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3605 个服务器的 61% 更新
  • 基础检查结果等于或优于此分类中其他 3605 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Meta Ads 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:META_ADS_ACCESS_TOKEN, META_APP_SECRET

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.6.1)于20天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP YouTube Transcript

An MCP server retrieving transcripts of YouTube videos

作者:jkawamoto正在增长★ 49511天前更新

在你的电脑上运行

Google Analytics MCP

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

作者:surendranb正在增长↓ 1088/周★ 24411天前更新

在你的电脑上运行

BibiGPT YouTube Video Summarizer

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

作者:JimmyLv正在增长★ 13711天前更新

在云端运行✓ bibigpt.co

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

meta-ads-mcp

MCP server for the Meta Marketing API v26.0 — 134 tools for managing Facebook & Instagram ad campaigns, audiences, creatives, insights, catalogs, and more.

When to Use

Use this MCP when you need to:

  • "Create a new Facebook ad campaign" — use create_campaign, create_adset, create_ad, and create_creative to build a full funnel
  • "Check how my ads are performing today" — use get_account_insights or get_campaign_insights with today's date range
  • "Pause all campaigns with ROAS below 2" — use list_campaigns + get_campaign_insights to find underperformers, then update_campaign to pause
  • "Set up A/B test between two ad creatives" — use create_experiment to run a controlled test between ad sets
  • "Create a lookalike audience from my customers" — use create_custom_audience, add_users_to_audience, then create_lookalike_audience
  • "Upload ad images and create a carousel ad" — use upload_image for each image, then create_creative with carousel format
  • "Get a detailed performance report for last 30 days" — use create_async_report for large date ranges, then get_async_report to retrieve
  • "Search the Facebook Ad Library for competitor ads" — use search_ad_library to find public ad data
  • "Set up automated rules to pause underperforming ads" — use create_rule with conditions like CPA > threshold
  • "Manage my product catalog for dynamic ads" — use create_catalog, create_feed, and upload_feed to set up dynamic product ads

What's New in v1.6.0

  • create_adset accepts bid_amount; creation and updates accept dsa_beneficiary and dsa_payor. For EU-targeted ads, supply each required value or configure the corresponding account default. The payer does not automatically copy the beneficiary.
  • Ad and ad-set lists use campaign/ad-set edges when scoped. Combined campaign/ad-set filters and explicit account IDs are checked for consistency.
  • create_adset and update_adset accept destination_type, attribution_spec, adset_schedule, pacing_type, and validate_only. Existing calls still perform their requested writes; set validate_only: true to ask Meta to validate without mutation. A successful validation does not create an ad set.
  • Hourly schedules accept minute ranges and days (Sunday = 0); specify timezone_type as USER or ADVERTISER. Scheduling adds day_parting pacing. Meta validates effective lifetime budgeting, objective eligibility, and attribution restrictions. No budget or status is changed automatically.
  • create_custom_audience accepts a JSON rule, pixel_id, and retention_days for rule-based audiences. Audience creation is a real write, not a dry run.

See the official ad-set creation and ad-set update contracts.

What's New in v1.5.0

  • Conversion tools validate the existing events JSON input and send it as the required data array. Use test_event_code to verify receipt in Events Manager; offline events use a dataset ID and action_source=physical_store for store events.
  • Creative creation accepts top-level destination_spec, wamo_whatsapp_identity_spec, and degrees_of_freedom_spec JSON objects. Dynamic creatives also accept object_story_spec for Page identity. To opt out of the v26 Shops destination default, set destination_spec to {"destination_type":"WEBSITE_AND_SHOP_OPT_OUT"}.
  • Includes complete async-report result retrieval, token extension, and budget schedule fixes since v1.4.1. Some detailed Insights breakdowns require an Ads Manager opt-in; an empty response does not necessarily mean zero performance.

Installation

Requires Node.js 20 or later, including the MCP host's npx environment.

{

"mcpServers": { "meta-ads": { "command": "npx", "args": ["-y", "@mikusnuz/meta-ads-mcp"], "env": { "META_ADS_ACCESS_TOKEN": "your-access-token", "META_AD_ACCOUNT_ID": "123456789", "META_APP_ID": "your-app-id", "META_APP_SECRET": "your-app-secret", "META_BUSINESS_ID": "your-business-id", "META_PIXEL_ID": "your-pixel-id" } } } }

Environment Variables

VariableRequiredDescription
META_ADS_ACCESS_TOKENYesMeta Marketing API access token
META_AD_ACCOUNT_IDYesAd account ID (numeric, without act_ prefix)
META_APP_IDOptionalApp ID — required for token exchange/extension and debug
META_APP_SECRETOptionalApp secret — required for token exchange/extension and debug
META_BUSINESS_IDOptionalBusiness Manager ID — required for business tools
META_PIXEL_IDOptionalPixel ID — required for conversion tools

Tools (134)

Campaign Management (25)
ToolDescription
list_campaignsList campaigns with filtering and pagination
get_campaignGet campaign details by ID
create_campaignCreate a new campaign
update_campaignUpdate campaign settings
delete_campaignDelete a campaign
copy_campaignCopy an existing campaign with ad sets and ads
get_campaign_adsetsList ad sets within a campaign
get_campaign_adsList ads within a campaign
get_campaign_leadsGet leads from a campaign
list_adsetsList ad sets with filtering
get_adsetGet ad set details by ID
create_adsetCreate a new ad set
update_adsetUpdate ad set settings
delete_adsetDelete an ad set
copy_adsetCopy an existing ad set to same or different campaign
get_adset_targeting_sentenceGet human-readable targeting description
get_adset_adsList ads within an ad set
get_adset_leadsGet leads from an ad set
list_adsList ads with filtering
get_adGet ad details by ID
create_adCreate a new ad
update_adUpdate ad settings
delete_adDelete an ad
copy_adCopy an existing ad to same or different ad set
get_ad_previewGenerate ad preview HTML
get_delivery_estimateGet delivery estimate for an ad set
Creatives (6)
ToolDescription
list_creativesList ad creatives
get_creativeGet creative details
create_creativeCreate a new ad creative
update_creativeUpdate an ad creative
create_dynamic_creativeCreate a dynamic creative
generate_previewGenerate ad preview from creative spec without an existing ad
Media Assets (12)
ToolDescription
list_imagesList ad images
upload_imageUpload an image from a URL or local file
get_imageGet image details
delete_imageDelete an image
list_videosList ad videos
upload_videoUpload a video from a URL or local file
get_videoGet video details
delete_videoDelete a video
list_canvasesList Instant Experience canvases
get_canvasGet canvas details
create_canvasCreate a canvas
delete_canvasDelete a canvas
Audiences & Targeting (16)
ToolDescription
list_custom_audiencesList custom audiences
get_audienceGet audience details
create_custom_audienceCreate a custom audience
update_audienceUpdate audience settings
delete_audienceDelete an audience
add_users_to_audienceAdd users to a custom audience
remove_users_from_audienceRemove users from a custom audience
create_lookalike_audienceCreate a lookalike audience
get_audience_healthGet audience health, delivery status, and match rate
list_saved_audiencesList saved audiences
get_saved_audienceGet saved audience details
search_targetingSearch targeting interests, behaviors, demographics
search_locationsSearch targetable locations
search_targeting_mapBrowse targeting category tree
get_reach_estimateEstimate audience reach for targeting spec
get_targeting_suggestionsGet related targeting suggestions
Insights & Reporting (6)
ToolDescription
get_account_insightsAccount-level performance metrics
get_campaign_insightsCampaign-level performance metrics
get_adset_insightsAd set-level performance metrics
get_ad_insightsAd-level performance metrics
create_async_reportCreate an async insights report
get_async_reportPoll the report-run status, then fetch its /insights results when complete

date_preset values are lowercase Graph API identifiers such as today, yesterday, last_7d, and last_30d. create_async_report always creates an asynchronous job; get_async_report returns status immediately and, by default, fetches the paginated result edge after the status becomes Job Completed.

Leads (5)
ToolDescription
get_form_leadsGet leads from a lead form
get_leadGet a single lead by ID
create_lead_formCreate a new lead generation form on a page
list_lead_formsList lead gen forms for a page
get_lead_formGet lead form details
Catalog & Commerce (17)
ToolDescription
list_catalogsList product catalogs
get_catalogGet catalog details
create_catalogCreate a product catalog
update_catalogUpdate a catalog
list_product_setsList product sets in a catalog
create_product_setCreate a product set
get_product_setGet product set details
update_product_setUpdate a product set
list_productsList products in a catalog
get_productGet product details
update_productUpdate a product
list_feedsList data feeds for a catalog
create_feedCreate a data feed
upload_feedUpload data to a feed
get_feed_uploadsGet feed upload history
batch_productsBatch create, update, or delete products (up to 5,000/request)
get_batch_statusCheck status of a catalog batch operation
Automation & Rules (5)
ToolDescription
list_rulesList automated rules
get_ruleGet rule details
create_ruleCreate an automated rule
update_ruleUpdate a rule
delete_ruleDelete a rule
Experiments (5)
ToolDescription
list_experimentsList A/B test experiments
create_experimentCreate an experiment
get_experimentGet experiment details
update_experimentUpdate an experiment
get_experiment_resultsGet experiment results
Conversions (4)
ToolDescription
send_conversion_eventSend server-side conversion event via Conversions API
send_offline_eventSend an offline conversion event
list_offline_event_setsList offline event sets
create_offline_event_setCreate an offline event set
Budget & Planning (8)
ToolDescription
list_budget_schedulesList schedules from a campaign or ad set budget_schedules edge
create_budget_scheduleCreate a schedule on a campaign or ad set
update_budget_scheduleUpdate a budget schedule
delete_budget_scheduleDelete a budget schedule
list_rf_predictionsList Reach & Frequency predictions
create_rf_predictionCreate a Reach & Frequency prediction
get_rf_predictionGet prediction details
delete_rf_predictionDelete a prediction
Brand Safety (5)
ToolDescription

| `list_block_li

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx