
Apple Ads
com.getmcpads由 getmcpads.com 发布v1.0.1更新于 Nov 2, 2026
Apple Ads MCP server: 9 read tools, 11 opt-in preview-first writes.
概览
本地 stdio 的 Apple Ads MCP 服务器:读取 App Store 广告系列、广告组、关键词与报表,并可选地执行先预览后确认的修改。
- 可以做什么
- 列出并读取广告账户,包括币种、时区与结算配置
- 读取广告系列、广告组、正向关键词与 App Store 应用元数据,并检查应用投放资格
- 读取广告系列、广告组、广告、关键词与搜索词的效果报表及原生汇总
- 创建暂停状态的广告系列、广告组、关键词与广告账户(写入工具,默认关闭)
- 在预览快照之后更新或重命名广告系列、广告组、关键词、广告与广告账户
- 适用场景
- 适合管理 Apple Ads 的 App Store 搜索结果广告系列,并希望助手在桌面 MCP 客户端中查看效果、核对账户权限与应用资格,或准备并确认广告系列改动时使用。
- 运行要求
- 以本地 Node.js 进程运行(需 Node.js 22.23.4、24.22.1 或 26.12.1 及这些版本线的更新版本),可通过 npm 包或源码构建安装,并需支持 stdio 的客户端,如 Claude Desktop、Claude Code 或 Cursor。需要 Apple Ads API 用户:APPLE_ADS_CLIENT_ID、APPLE_ADS_TEAM_ID、APPLE_ADS_KEY_ID,通过 APPLE_ADS_PRIVATE_KEY 或 APPLE_ADS_PRIVATE_KEY_PATH 提供 EC P-256 私钥,以及 APPLE_ADS_AD_ACCOUNT_IDS。需能访问 Apple 接口。
安装
在 SourceWeft 中
- 打开 控制台中的 Apple Ads,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Apple Ads MCP server
Bring your Apple Ads accounts into your MCP client.
Read App Store campaigns and performance and prepare changes for explicitly selected ad accounts.
[Release] [CI] [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]
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.
9 read tools · 11 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
v1.0.1: Zod 4 security update · October 26, 2026
- Update
zodto 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=devreports 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.jsonis regenerated with Zod 4's JSON Schema output, which spells some constraints differently.
Earlier releases
Source synchronization: SOURCE_SYNC.md.
Upgrade notes
Requires Node.js 22.23.4, 24.22.1 or 26.12.1, or a newer release of those lines, which carry the October 2026 security fixes. The server writes a warning to stderr when it starts on an older runtime. CI covers Node 22, 24 and 26. Writes remain optional and require explicit confirmation. Hosted alerts, 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. Once the npm package is published, npx -y @getmcpads/apple-ads-mcp-server runs the version currently available on npm.
Configure your MCP client to run node with the absolute path to dist/cli.js and the platform credentials documented below. For Claude Desktop:
npm run doctor checks the configuration and the Node.js release without contacting Apple.
Prefer a managed connection? Use Apple 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.
Configuration
The Apple Ads Platform API uses OAuth 2 client credentials. The client secret is a short-lived JWT that this server signs with your private key, then exchanges for an access token valid for one hour. Follow Apple's OAuth guide:
- Generate an EC P-256 key pair and keep the private key secret:
- In Apple Ads, signed in as the API user, open Account Settings > API, paste the public key and save.
- Copy the
clientId,teamIdandkeyIdshown above the public key field.
Provide these environment variables through the client's secret configuration:
The key is read once at startup and kept in memory. Both the PKCS #8 and the SEC1 PEM formats are accepted. This package runs no OAuth browser flow and writes nothing to disk. Account-scoped requests carry the header X-AP-Context: adAccountId=<id>, as the Platform API requires. Call apple_ads_list_ad_accounts first: it confirms which configured accounts the API user can reach and with which roles.
Safety and coverage
Writes preview by default. Review the exact account, target and parameters before repeating the call with confirm: true.
Update previews return an expectedSnapshot of the resource and the change. The confirmed call must pass it back, so a resource that changed in between is not overwritten.
Campaigns, ad groups and keywords are created paused. Setting a status to ENABLED can spend advertising budget, and previews flag it with activationMaySpend.
Do not retry a write automatically when its result is uncertain. Read the entity and reconcile it first. The only automatic replay is a read sent once more after the access token is renewed.
The account allowlist applies before dispatch and filters account discovery. Parent chains are checked, so a keyword or an ad from another ad account is refused. Unknown arguments are rejected.
Requests go only to api.ads.apple.com and appleid.apple.com. Redirects are refused, requests time out and responses are size-bounded. Error messages carry Apple's status, a fixed code and vetted validation paths, never provider text, which can echo values or credentials.
Money uses Apple's native objects: a decimal amount in major units with the account currency, such as {"amount":"1.50","currency":"EUR"}. Native pagination, attribution metrics, report totals and grand totals are preserved. List and report responses add nextOffset, which is null on the last page.
This server uses the Apple Ads Platform API v1. Apple states in its changelog that the Platform API supersedes the Campaign Management API, which will be sunset on January 26, 2027.
It exposes the reviewed subset synchronized from the hosted gateway: App Store search-results campaigns, ad groups, keywords, ad renames, apps and reports. Negative keywords, creatives, product pages, budget orders, bulk operations, insights, recommendations and Apple Maps ads are not included.
Use tools/list or server-card.json for exact schemas.
Hosted option
getmcpads for Apple Ads manages the hosted connection and account selection. Hosted and source releases can differ. Contact: [email protected].
Development
All tests run offline with synthetic responses and a mocked fetch. No live account is read or changed.
Tools
Every tool is listed below. See server-card.json for complete parameter and output schemas.
9 read tools
11 write tools
Disabled by default. Calls preview unless explicitly confirmed. Check the configuration and exact schema before use.
Resources
License
Apache License 2.0. See NOTICE.
More from getmcpads
Meta Ads · Google Ads · Google Analytics 4 · Google Search Console · TikTok Ads · Pinterest Ads · X Ads
Maintained by Emmanuel at getmcpads. Questions: [email protected].
来源:README.md,提交 f8de67c
工具
0版本历史
2- v1.0.1最新Oct 26, 2026
- v1.0.0Oct 23, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分