
ZuckerBot — Meta Ads MCP Server
io.github.Crumbedsausage由 GitHub 账号 Crumbedsausage 发布v0.4.4更新于 Oct 24, 2026
60+ Meta Ads tools for AI agents: audits, campaign management, audiences and CAPI tracking.
概览
ZuckerBot 是一个 Meta 广告 MCP 服务器,让 AI 助手通过 Meta Marketing API 审计广告账户、管理广告系列和受众并跟踪转化。
- 可以做什么
- 审计广告账户,获取广告系列、广告组和广告层级的成效与账户洞察,包括线索和成本指标,并做创意分析与政策检查。创建、预览、发布、暂停和恢复广告系列、广告组和广告,并可从已上传素材复制或新建暂停状态的广告。创建自定义受众和类似受众,刷新并查看其状态。配置服务器端转化跟踪(CAPI),发送测试事件和线索质量反馈,管理像素。调研竞争对手、评价和市场基准,并从网站或上传文本中提取业务背景。
- 适用场景
- 适合想通过和 AI 助手对话来投放 Meta 广告、而不使用 Ads Manager 后台的场景:审计花费、查看成效、规划并发布广告系列,或设置转化跟踪。免费套餐为只读,适合在付费前做评估和报表。
- 运行要求
- 可使用托管 Streamable HTTP 端点(OAuth 或 bearer API 密钥),或通过 npx 运行本地 npm 包(需要 Node.js)。必须提供 ZuckerBot API 密钥,通过 ZUCKERBOT_API_KEY 环境变量或 bearer 令牌传入。账户相关工具需要已连接的 Meta 广告账户和 Facebook 主页。创意生成工具默认关闭,需用 ZUCKERBOT_ENABLE_CREATIVE_TOOLS 启用。
安装
在 SourceWeft 中
- 打开 控制台中的 ZuckerBot — Meta Ads MCP Server,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.Crumbedsausage%2Fzuckerbot/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"zuckerbot-meta-ads": {
"type": "http",
"url": "https://zuckerbot.ai/api/mcp"
}
}
}README
ZuckerBot
The Meta Ads toolkit for AI agents.
Audit your ad account in one message. 50+ tools for account auditing, campaign management, creative analysis, audience building, and conversion tracking. One npx command. Works with Claude, ChatGPT, OpenClaw, Cursor, and any MCP-compatible agent.
[npm version] [License: MIT] [MCP Registry] [GitHub stars]
Get API Key (free) · npm · Docs · Website
Why ZuckerBot?
Your agent already writes code, manages files, and searches the web. It should manage your ads too.
ZuckerBot gives any AI agent full Meta Ads capabilities through MCP. No dashboard, no UI to learn, no platform to log into. Your agent installs it, connects your ad account, and gets to work.
What agents can do with ZuckerBot:
- Audit your ad account in one message — spend flagged for review, creative fatigue, opportunity score, prioritised action items (free tier included)
- Pull campaign performance and spot what's working
- Analyse ad creatives and recommend what to test next
- Build and launch campaigns with targeting and budget
- Create custom and lookalike audiences
- Set up server-side conversion tracking (CAPI)
- Research competitors, reviews, and market benchmarks
- Generate ad creative briefs and copy
How it works
ZuckerBot handles the Meta API complexity. Your agent handles the conversation. You make the decisions.
Install
Claude Desktop
Add to claude_desktop_config.json:
OpenClaw
Add to your MCP config:
Cursor / Windsurf / Any MCP Client
Same config pattern. ZuckerBot works with any client that supports the Model Context Protocol.
Remote MCP (no install)
Don't want to run anything locally? https://zuckerbot.ai/api/mcp is a hosted Streamable HTTP endpoint serving the same tools.
- claude.ai — add it as a custom connector (Settings → Connectors → Add custom connector) and authenticate via OAuth, or pass an
Authorization: Bearer zb_live_...header. - Claude Code:
- Any Streamable HTTP client — point it at
https://zuckerbot.ai/api/mcpwith your API key as a bearer token.
CLI (for humans)
Tools (50+)
Audit & Licensing (2)
Setup & Account (7)
Campaigns (9)
Audiences (6)
Creatives (8)
* Creative image/video generation tools (generate_static_ad, generate_video_ad, get_video_ad_status, generate_creatives, request_creative) are disabled by default — enable them with ZUCKERBOT_ENABLE_CREATIVE_TOOLS=1 in your MCP config env (paid add-on coming). All creative analysis tools stay available.
Conversion Tracking / CAPI (5)
Reporting (2)
get_campaign_insights surfaces three distinct lead figures rather than one collapsed number, each verified against Ads Manager:
Costs are derived as spend / count; Meta's cost_per_action_type is non-additive and is never summed. The same fields roll up in summary as total_meta_result / blended_cost_per_meta_result (with meta_result_type), total_meta_leads / blended_cost_per_meta_lead, and total_conversion_leads / blended_cost_per_conversion_lead (with total_leads / blended_cpl deprecated alongside their per-row counterparts).
Portfolios (5)
Research (3)
Business Context (4)
Typical Agent Flow
Every tool returns a _hint field suggesting the logical next step, so your agent always knows what to do next.
Shorthand: legacy create -> review -> launch -> monitor. Intelligence activation and portfolio launch are temporarily unavailable; existing Meta objects use the reviewed resume workflow below for spec-built and external campaigns.
MCP names include zuckerbot_enrich_business, zuckerbot_upload_business_context, zuckerbot_get_campaign, zuckerbot_activate_campaign, and zuckerbot_create_seed_audience.
zuckerbot_duplicate_ad duplicates one supported ad into an existing ad set in the same ad account — dry-run by default, always created PAUSED, and executes only with an explicit idempotency_key so a retry can never create the ad twice.
zuckerbot_upload_ad_asset uploads a brand-new image or video file into the connected ad account's library from a hosted https URL (Meta downloads it directly), returning the image_hash or video_id; poll zuckerbot_get_ad_asset_status until a video is processed.
zuckerbot_create_ad then builds one new creative + one new PAUSED ad from that asset in any EXISTING ad set — including live campaigns built outside ZuckerBot — with the same dry-run-first, idempotency_key-gated contract as duplication.
ZuckerBot vs alternatives
Pricing
Free tier gets you started. Pro pays for itself with one optimised campaign.
Lifetime deal
Grabbed a ZuckerBot lifetime licence on Dealify? Codes look like ZB-XXXXX-XXXXX-XXXXX and stack on one account:
Redeem straight from your agent with the zuckerbot_redeem_license tool ("redeem my ZuckerBot code ZB-...") or in the browser at zuckerbot.ai/start.html. Redeeming upgrades every API key on your account — and if you don't have a key yet, one is minted for you (shown once, so save it).
Example conversation
You: How are my Meta campaigns doing this week?
Agent calls
get_account_insights+creative_analysisAgent: You spent $2,340 across 4 campaigns this week. Your LAL campaign is crushing it at $28 CPL — that's 40% below your account average. But your broad targeting campaign is at $95 CPL and burning budget. The "customer testimonial" creative has a 3.2% CTR vs 1.1% for your product shots. I'd recommend pausing the broad campaign and shifting that budget to the LAL.
You: Do it.
Agent calls
pause_campaign+ (budget adjustment)
Development
License
MIT
Activate a PAUSED spec-built campaign
Use zuckerbot_resume_campaign (POST /v1/meta/resume) with the real Meta
campaign_id (spec-built or external campaigns, not managed ZuckerBot drafts), optional business_id, and entity_level (ad, adset, or
campaign). For an ad or ad set, include its entity_id.
- Call with
dry_run: true(default). Review the returned hierarchy, account currency, budgets, campaign spend cap and ad-set end dates with the user. Amounts are minor currency units; a daily budget is not a total spend cap. - After explicit approval, send the same target with
dry_run: false,confirm_spend: true, the returnedpreview_hashand a uniqueidempotency_key(8–128 letters, digits, dots, underscores, colons or hyphens). - For a new spec build, repeat for each intended ad, then ad set, then the campaign last. Obtain a fresh preview for each operation. Activation never cascades to other paused objects and preserves all spend controls.
- Use
zuckerbot_pause_campaignto stop any of these objects. Campaign-level pause accepts the real Meta campaign ID; passbusiness_idif needed.
Retry the exact request/key after a transport failure. An uncertain outcome
requires live status inspection (or pausing) before further activation. A stored
successful response describes that operation; replay does not reactivate an
object paused afterwards. ACTIVE is configured status; Meta review, schedules,
and parent/child status can still prevent delivery. Campaigns with more than
100 ad sets or 100 ads require Ads Manager for this preview workflow.
The hosted MCP receives this tool when its API deployment ships. Installed local MCP clients require a package release containing the tool. The legacy draft launch tool is not used for activating objects created by the spec builder.
Local ad asset uploads
Run the stdio MCP or CLI on the machine containing the files.
zuckerbot_upload_ad_asset accepts exactly one of asset_url, an absolute
file_path, or files: [{ file_path, label? }] (up to 20). Local files may be
JPG/JPEG/PNG (30 MB maximum) or MP4/MOV (4 GB maximum). The client validates all
files before a batch starts, transfers them privately in bounded chunks, and
returns per-file results in order. No manual public hosting step is needed.
Images include image_hash, original width, height, and name; videos retain
the existing processing status/polling flow. A failed batch entry does not undo
previous library uploads. Hosted MCP cannot access local paths: use a local client
or asset_url. Library uploads do not create ads or enable delivery.
来源:README.md,提交 b4b5334
工具
0版本历史
1- v0.4.4最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分