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

Apple Ads

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

安装

概览

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

Manage Apple Search Ads campaigns, keywords, budgets, and reports via API v5.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: ASA_CLIENT_ID, ASA_TEAM_ID, ASA_KEY_ID, ASA_PRIVATE_KEY_PATH, ASA_ORG_ID

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "apple-ads": {
      "command": "npx",
      "args": [
        "-y",
        "apple-ads-mcp"
      ],
      "env": {
        "ASA_CLIENT_ID": "your-value",
        "ASA_TEAM_ID": "your-value",
        "ASA_KEY_ID": "your-value",
        "ASA_PRIVATE_KEY_PATH": "your-value",
        "ASA_ORG_ID": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add apple-ads --env ASA_CLIENT_ID=your-value --env ASA_TEAM_ID=your-value --env ASA_KEY_ID=your-value --env ASA_PRIVATE_KEY_PATH=your-value --env ASA_ORG_ID=your-value -- npx -y apple-ads-mcp

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "apple-ads": {
      "command": "npx",
      "args": [
        "-y",
        "apple-ads-mcp"
      ],
      "env": {
        "ASA_CLIENT_ID": "your-value",
        "ASA_TEAM_ID": "your-value",
        "ASA_KEY_ID": "your-value",
        "ASA_PRIVATE_KEY_PATH": "your-value",
        "ASA_ORG_ID": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "apple-ads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "apple-ads-mcp"
      ],
      "env": {
        "ASA_CLIENT_ID": "your-value",
        "ASA_TEAM_ID": "your-value",
        "ASA_KEY_ID": "your-value",
        "ASA_PRIVATE_KEY_PATH": "your-value",
        "ASA_ORG_ID": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • ASA_CLIENT_ID 必填 env
    Apple Search Ads client ID (starts with SEARCHADS.)
  • ASA_TEAM_ID 必填 env
    Apple Search Ads team ID (starts with SEARCHADS.)
  • ASA_KEY_ID 必填 env
    Apple Search Ads key ID (UUID)
  • ASA_PRIVATE_KEY_PATH 必填 env
    Absolute path to your PKCS#8 private key file
  • ASA_ORG_ID env
    Organization ID (optional, use list_organizations to switch at runtime)

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

Apple Ads 安全吗?

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

它需要哪些密钥或代码?

你需要填写:ASA_CLIENT_ID, ASA_TEAM_ID, ASA_KEY_ID, ASA_PRIVATE_KEY_PATH

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.3)于8个月前进入注册中心。

哪些应用可以使用它?

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

有什么可以替代它?

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

替代选择

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

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

MCP YouTube Transcript

作者:jkawamoto

An MCP server retrieving transcripts of YouTube videos

在你的电脑上运行★ 495MIT11天前更新
安装

Google Analytics MCP

作者:surendranb

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

在你的电脑上运行★ 244MIT10天前更新
安装

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

在云端运行★ 137MIT11天前更新
安装

作者的 README

打开 README

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

Apple Ads MCP

MCP server for the Apple Search Ads API v5 .

Connect it to any MCP-compatible AI client and manage your campaigns, keywords, budgets, and reporting through natural language.

Quick Start • Tools • Resources • Prompts • Clients


Ask your AI things like:

*"How did my campaigns perform last week?"*

*"Pause the brand campaign and increase the budget on discovery to $500."*

*"What search terms are triggering my ads? Add the best ones as exact-match keywords."*

Supports 54 tools, 3 resources, and 6 prompts — campaigns, ad groups, keywords, creatives, budgets, search terms, geo targeting, impression share, and performance reports.

Features at a glance
FeatureDescription
Campaign managementCreate, update, pause, and delete campaigns and ad groups
Keyword optimizationAdd/remove targeting and negative keywords, update bids
Performance reportingCampaign, ad group, keyword, ad, and geo reports with date presets
Search term analysisSee actual search queries triggering your ads
Creative managementManage ads, creatives, and product pages
Budget controlCreate and manage budget orders, analyze utilization
Impression shareGenerate and retrieve impression share reports
Multi-org supportSwitch between organizations at runtime

Quick Start

  1. Get your Apple credentials (~10 min, one-time)
  2. Generate your key pair (2 commands)
  3. Add to your MCP client
  4. Start chatting

Setup

Step 1 — Invite an API user

Done by the account admin at searchads.apple.com.

  1. Go to Settings → User Management → Invite User
  2. Enter the email of the person who will use the API
  3. Set the role:
  • API Account Manager — full read/write access
  • API Account Read Only — view-only access
  1. Send the invitation

The API user must be a different Apple ID from the admin. If you're the admin, use a second Apple ID.

Step 2 — Accept and copy your credentials

Done by the invited user.

  1. Accept the email invitation and sign in to searchads.apple.com
  2. Go to Settings → API tab
  3. Copy and save these three values:
  • clientId — starts with SEARCHADS.
  • teamId — starts with SEARCHADS.
  • keyId — a UUID
Step 3 — Generate your key pair

Open Terminal and run:

openssl ecparam -genkey -name prime256v1 -noout -out ~/apple-ads-key.pem && \

openssl pkcs8 -topk8 -nocrypt -in ~/apple-ads-key.pem -out ~/apple-ads-key-pkcs8.pem

Then generate the public key:

openssl ec -in ~/apple-ads-key-pkcs8.pem -pubout -out ~/apple-ads-key-public.pem

This creates:

  • `~/apple-ads-key-pkcs8.pem` — private key (keep this safe, used in your config)
  • `~/apple-ads-key-public.pem` — public key (upload to Apple next)
Step 4 — Upload public key to Apple

Print your public key:

cat ~/apple-ads-key-public.pem

Copy the entire output (including the BEGIN / END lines), then:

  1. Go to Settings → API tab on searchads.apple.com
  2. Paste into the Public Key field
  3. Save
Step 5 — Add to your MCP client

Pick your client below and fill in your clientId, teamId, and keyId from Step 2, and the full path to your private key from Step 3.

Multiple orgs? Omit ASA_ORG_ID and use list_organizations / switch_organization at runtime. Or set it in env to pick a default.


Clients

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "apple-ads": { "command": "npx", "args": ["-y", "apple-ads-mcp"], "env": { "ASA_CLIENT_ID": "SEARCHADS.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "ASA_TEAM_ID": "SEARCHADS.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "ASA_KEY_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "ASA_PRIVATE_KEY_PATH": "/Users/yourname/apple-ads-key-pkcs8.pem" } } } }

Restart Claude Desktop after saving.

Claude Code

claude mcp add apple-ads \

-e ASA_CLIENT_ID=SEARCHADS.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \ -e ASA_TEAM_ID=SEARCHADS.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \ -e ASA_KEY_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \ -e ASA_PRIVATE_KEY_PATH=/Users/yourname/apple-ads-key-pkcs8.pem \ -- npx -y apple-ads-mcp

Cursor

Add to .cursor/mcp.json:

{

"mcpServers": { "apple-ads": { "command": "npx", "args": ["-y", "apple-ads-mcp"], "env": { "ASA_CLIENT_ID": "SEARCHADS.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "ASA_TEAM_ID": "SEARCHADS.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "ASA_KEY_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "ASA_PRIVATE_KEY_PATH": "/Users/yourname/apple-ads-key-pkcs8.pem" } } } }

VS Code

Add to your settings.json:

{

"mcp": { "servers": { "apple-ads": { "command": "npx", "args": ["-y", "apple-ads-mcp"], "env": { "ASA_CLIENT_ID": "SEARCHADS.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "ASA_TEAM_ID": "SEARCHADS.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "ASA_KEY_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "ASA_PRIVATE_KEY_PATH": "/Users/yourname/apple-ads-key-pkcs8.pem" } } } } }

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{

"mcpServers": { "apple-ads": { "command": "npx", "args": ["-y", "apple-ads-mcp"], "env": { "ASA_CLIENT_ID": "SEARCHADS.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "ASA_TEAM_ID": "SEARCHADS.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "ASA_KEY_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "ASA_PRIVATE_KEY_PATH": "/Users/yourname/apple-ads-key-pkcs8.pem" } } } }

Other MCP clients

This server uses STDIO transport. Any MCP-compatible client can connect by running:

npx -y apple-ads-mcp

Set these environment variables:

VariableDescription
ASA_CLIENT_IDYour client ID (starts with SEARCHADS.)
ASA_TEAM_IDYour team ID (starts with SEARCHADS.)
ASA_KEY_IDYour key ID (UUID)
ASA_PRIVATE_KEY_PATHAbsolute path to your PKCS#8 private key
ASA_ORG_ID*(optional)* Organization ID to use by default

Inline key (no file)

Replace ASA_PRIVATE_KEY_PATH with ASA_PRIVATE_KEY and paste the PEM content with \n for line breaks:

"ASA_PRIVATE_KEY": "[PopNx MCP ตัดค่าที่หน้าตาเหมือนกุญแจออก]"

Tools

CategoryCountWhat you can do
Organizations3List and switch between organizations. Get user details.
Campaigns6List, create, update, delete campaigns. Pull performance reports.
Ad Groups6Manage ad groups within campaigns. Get ad group reports.
Keywords11Add/remove targeting and negative keywords. Update bids. Keyword reports.
Search Terms1See the actual queries people searched before tapping your ad.
Ads7List, create, update, delete ads. Get ad reports and rejection reasons.
Creatives5Manage creatives and product pages.
Budget Orders4Create, update, list, and get budget order details.
Apps & Geo5Search for eligible apps, check eligibility, find assets, search geolocations.
Geo Performance1Performance breakdown by country/region.
Impression Share3Create, list, and retrieve custom impression share reports.
Optimization2Campaign snapshots and budget utilization analysis.
All 54 tools
CategoryTools
Organizationslist_organizations, switch_organization, get_me_details
Campaignslist_campaigns, get_campaign_details, create_campaign, update_campaign, delete_campaign, get_campaign_report
Ad Groupslist_ad_groups, get_ad_group, create_ad_group, update_ad_group, delete_ad_group, get_adgroup_report
Keywordsget_keyword_report, list_targeting_keywords, get_targeting_keyword, add_targeting_keywords, update_targeting_keywords, delete_targeting_keywords, list_negative_keywords, get_negative_keyword, add_negative_keywords, update_negative_keywords, delete_negative_keywords
Search Termsget_search_term_report
Adslist_ads, get_ad, create_ad, update_ad, delete_ad, get_ad_report, find_ad_rejection_reasons
Creativeslist_creatives, get_creative, create_creative, list_product_pages, get_product_page_by_id
Budget Orderslist_budget_orders, get_budget_order, create_budget_order, update_budget_order
Apps & Geosearch_apps, get_app_details, get_app_eligibility, find_app_assets, search_geolocations
Geo Performanceget_geo_performance
Impression Sharecreate_impression_share_report, get_impression_share_report_by_id, list_impression_share_reports
Optimizationget_campaign_snapshot, get_budget_analysis

Resources

The server exposes 3 resources:

URIDescription
apple-ads://countriesSupported countries and regions for Apple Search Ads
apple-ads://device-sizesApp preview device sizes for creative assets
apple-ads://metrics-glossaryDefinitions, formulas, and benchmarks for all reporting metrics (CPA, CPT, TTR, etc.)

Prompts

6 built-in workflow prompts to guide common tasks:

PromptDescription
campaign_health_checkComprehensive campaign analysis — reviews spend, conversions, CPA trends, and flags issues
keyword_optimizationKeyword and search term optimization workflow — finds wasted spend and new opportunities
new_campaign_setupGuided new campaign creation — walks through app selection, structure, keywords, and budgets
budget_reallocationCross-campaign budget analysis — identifies over/under-spending and proposes budget shifts
creative_reviewCreative A/B review — compares ad performance, flags rejections, recommends winners
geo_expansionGeographic expansion analysis — ranks current markets and identifies new ones to enter

Troubleshooting

"pkcs8 must be PKCS#8 formatted string"

Your key is in the wrong format. Re-run the `openssl

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

问 PopNx