跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Snapchat Ads,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
让你的 AI 使用你的 Snapchat 广告:列出组织、广告账户、广告系列、广告组(Ad Squad)、广告、创意和受众,按天或汇总读取展示次数、滑动次数和花费,并在你确认后暂停或重新启用广告系列。通过你在 Snap Business Manager 中自己的 OAuth 应用登录。
试试这样问
Snapchat Ads 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Snapchat Ads、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Snapchat Ads + Meta Muse
让你的 AI 使用你的 Snapchat 广告:列出组织、广告账户、广告系列、广告组(Ad Squad)、广告、创意和受众,按天或汇总读取展示次数、滑动次数和花费,并在你确认后暂停或重新启用广告系列。通过你在 Snap Business Manager 中自己的 OAuth 应用登录。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
SNAPCHAT_CLIENT_ID, SNAPCHAT_CLIENT_SECRET
步骤 1 — 获取凭证
- 以 Organization Admin 身份登录 business.snapchat.com。只有管理员才能看到 OAuth 应用设置。
- 打开 Business Details(或 Business Settings)→ OAuth Apps,创建一个应用。为它命名,并把 Redirect URI 设为
https://cloud.anythingmcp.com/api/mcp-oauth/callback。如果你自行托管 AnythingMCP,请使用https://your-anythingmcp-host/api/mcp-oauth/callback。接受 Snap Developer Terms 和 Snap Business Tools Terms。 - 把 Client ID 复制到
SNAPCHAT_CLIENT_ID,把 Client Secret 复制到SNAPCHAT_CLIENT_SECRET。密钥只显示一次;如果丢失,请创建一个新应用。 - 安装连接器,在连接器页面点击 Authorize with Provider,用有权访问你广告账户的 Snapchat 账号登录并同意授权。
- 先用
snapchat_list_organizations:它会列出你的组织及其广告账户、币种和时区。
Marketing API 向所有广告主开放:无需向 Snap 申请,也没有审核。
谁能看到什么:连接器请求 scope snapchat-marketing-api,只能看到登录用户在 Ads Manager 中有权查看的内容。该用户没有角色的广告账户会返回 403。
可以读取的内容:组织和广告账户;广告系列,包括目标、投放时间、每日预算和花费上限;广告组(Snapchat 的 Ad Squad),包括版位、优化目标、出价、预算和定向;广告,包括审核状态和拒绝原因;创意;以及受众细分,例如客户名单和相似受众及其大致规模。统计数据提供广告账户、广告系列、广告组或广告的展示次数、滑动次数、花费等指标,可以是一个汇总值,也可以按天(最多 31 天)或按小时(最多 7 天)查看,并可按广告系列、广告组或广告拆分。
金额以微单位表示:Snapchat 以账户币种的百万分之一表示预算、出价和花费,所以花费 12345678 就是 12.35。AI 会先换算再报给你。数据在一天结束 48 小时后才最终确定。
每次更改前都会询问:snapchat_set_campaign_status 会暂停或重新启用广告系列。重新启用会开始消耗预算,所以 AI 会说明是哪个广告系列、将发生什么,并等你同意。只有状态会改变;之后 Snapchat 会检查整个广告系列,如有无效之处会拒绝这次更改。
安装时默认关闭:snapchat_set_campaign_daily_budget。修改预算决定了花多少钱,所以需要管理员有意启用该工具;启用后 AI 同样会先展示更改内容并询问你。
保持登录:访问令牌有效期为一小时,会自动续期。如果该用户被移出组织,或应用被删除,登录就会失效;这时请再次点击 Authorize with Provider。
常见错误:401:登录已过期或被撤销;请重新授权。403:该用户在这个组织或广告账户上没有角色。400:Snapchat 会在消息中指出具体字段,例如拒绝状态更改时;查询统计数据时,请减少指标或缩短时间段。429:请求过多;请稍后再试。
连接器不会创建或删除广告系列、广告组、广告或创意,不会上传素材或修改定向,也不涉及 Conversions API、像素、付款或发票。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Muse 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。
- 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
- 粘贴 MCP 服务器 URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。 - Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
- 在聊天中,向 Muse 提出需要用到
Snapchat Ads的工具的请求。
你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
snapchat_get_me | Read the Snapchat Business user who authorized the connector: id, email, display name, organization id and member status |
snapchat_list_organizations | List the organizations the user belongs to, with their ad accounts (id, name, currency, time zone, status) when with_ad_accounts is true… |
snapchat_list_ad_accounts | List the ad accounts of one organization: id, name, type, status, currency, time zone, advertiser and lifetime spend cap (micro-currency) |
snapchat_get_ad_account | Read one ad account: name, type, status, currency, time zone, advertiser and lifetime spend cap (micro-currency) |
snapchat_list_campaigns | List the campaigns of an ad account: id, name, status (ACTIVE or PAUSED), delivery status, objective, start and end time, daily budget and… |
snapchat_get_campaign | Read one campaign: name, status, delivery status, objective, schedule, budget and spend cap (micro-currency) |
snapchat_list_ad_squads | List the ad squads (ad sets) of a campaign: id, name, status, delivery status, type, placement, optimization goal, bid and budget… |
snapchat_get_ad_squad | Read one ad squad: status, delivery status, placement, optimization goal, bid, budget (micro-currency), schedule and targeting |
snapchat_list_ads | List the ads of an ad squad: id, name, creative id, status, delivery status, type and review status with rejection reasons |
snapchat_get_ad | Read one ad: name, ad squad, creative id, status, delivery status, type and review status with rejection reasons |
snapchat_list_creatives | List the creatives of an ad account: id, name, type, headline, brand name, call to action, main media id, review status and web view URL |
snapchat_get_creative | Read one creative: name, type, headline, brand name, call to action, main media id, review status and web view properties |
snapchat_get_stats | Read performance statistics of an ad account, campaign, ad squad or ad: impressions, swipes, spend and any other metric in fields, as one… |
snapchat_list_audiences | List the audience segments of an ad account (customer lists, lookalikes, pixel and engagement audiences): id, name, description, source… |
snapchat_set_campaign_status | Pause a campaign (status PAUSED) or turn it back on (ACTIVE) |
snapchat_set_campaign_daily_budget | Change a campaign's daily budget, in micro-currency (e.g. 50000000 = 50.00 in the ad account's currency) |
示例提示
- “上周我们在 Snapchat 上每个广告系列花了多少钱?附上展示次数和滑动次数。”
- “我们哪些广告在审核中被拒绝了?原因是什么?”
- “给我看 Summer Sale 广告系列 10 月 1 日到 14 日每天的花费和滑动次数。”
- “暂停 Back to School 广告系列。先准确告诉我会发生什么。”
- “列出可以用于定向的受众细分,并附上大致规模。”
FAQ
Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。
Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。
下一步
这份指南对你有帮助吗?