应用程序发布mcp
](https://www.npmjs.com/package/app-publish-mcp)
统一的 MCP(模型上下文协议) 服务器 App Store Connect 和 谷歌游戏控制台.管理应用程序列表、屏幕截图、发布、评论和提交——所有这些都可以通过您的人工智能助手完成。
何时使用
需要时使用此MCP:
- “更新我的应用程序的app Store描述和关键字” --修改版本本地化、应用信息本地化
- “上传iPhone 16 Pro的新截图” --创建屏幕截图集并上传图像
- “提交新版本以供审核” --创建版本、分配构建、设置审核信息、提交
- “检查我的应用程序评论的状态” --列出版本并检查审阅状态
- “在Google Play上回复用户评论” --列出评论和回复
- “在Google Play上创建分阶段发布” --创建编辑、在轨道上创建发布、提交
- “管理TestFlight测试人员” --创建组、邀请测试人员、管理访问权限
- “设置应用内购买” --在两个平台上创建和管理IAP和订阅组
- “注册新设备进行开发” --管理设备、证书和配置文件
特性
苹果应用商店连接(56工具)
| 类别 | 工具 |
|---|---|
| 应用程序管理 | apple_list_apps, apple_get_app, apple_get_app_info, apple_update_category |
| 捆绑ID | apple_list_bundle_ids, apple_create_bundle_id |
| 捆绑ID功能 | apple_list_bundle_id_capabilities, apple_enable_capability, apple_disable_capability |
| 版本 | apple_list_versions, apple_create_version |
| 版本本地化 | apple_list_version_localizations, apple_create_version_localization, apple_update_version_localization |
| 应用信息本地化 | apple_list_app_info_localizations, apple_update_app_info_localization |
| 屏幕截图 | apple_list_screenshot_sets, apple_create_screenshot_set, apple_upload_screenshot, apple_delete_screenshot |
| 建筑 | apple_list_builds, apple_assign_build |
| 年龄等级 | apple_get_age_rating, apple_update_age_rating |
| 审核信息 | apple_update_review_detail |
| 提交材料 | apple_submit_for_review, apple_cancel_submission |
| 定价 | apple_get_pricing, apple_set_price, apple_list_availability |
| 客户评价 | apple_list_reviews, apple_respond_to_review |
| 证书 | apple_list_certificates, apple_create_certificate, apple_revoke_certificate |
| 配置文件 | apple_list_profiles, apple_create_profile, apple_delete_profile |
| 设备 | apple_list_devices, apple_register_device, apple_update_device |
| 试飞测试组 | apple_list_beta_groups, apple_create_beta_group, apple_delete_beta_group, apple_add_beta_testers_to_group, apple_remove_beta_testers_from_group |
| 试飞Beta测试仪 | apple_list_beta_testers, apple_invite_beta_tester, apple_delete_beta_tester |
| 应用内购买 | apple_list_iap, apple_create_iap, apple_get_iap, apple_delete_iap |
| 订阅组 | apple_list_subscription_groups, apple_create_subscription_group, apple_delete_subscription_group |
谷歌游戏控制台(35个工具)
| 类别 | 工具 |
|---|---|
| 编辑生命周期 | google_create_edit, google_commit_edit, google_validate_edit, google_delete_edit |
| 应用程序详细信息 | google_get_details, google_update_details |
| 店铺列表 | google_list_listings, google_get_listing, google_update_listing, google_delete_listing |
| 国家可用性 | google_get_country_availability |
| 测试人员 | google_get_testers, google_update_testers |
| 图片 | google_list_images, google_upload_image, google_delete_image, google_delete_all_images |
| 曲目与发布 | google_list_tracks, google_get_track, google_create_release, google_promote_release, google_halt_release |
| 捆绑包/APK | google_upload_bundle, google_upload_apk |
| 评论 | google_list_reviews, google_get_review, google_reply_to_review |
| 应用内产品 | google_list_iap, google_get_iap, google_create_iap, google_update_iap, google_delete_iap |
| 订阅 | google_list_subscriptions, google_get_subscription, google_archive_subscription |
提示(2)
| 提示 | 描述 |
|---|---|
app_release_checklist | 发布应用程序更新的指导清单——浏览iOS和/或Android的版本创建、元数据、构建分配和提交 |
app_store_optimization | ASO审计,审查当前的列表元数据(标题、描述、关键字、屏幕截图、本地化),并提供可操作的改进建议 |
资源(2)
| URI | 描述 |
|---|---|
app-publish://config | 当前服务器配置——连接的帐户、身份验证方法、工具计数 |
app-publish://supported-platforms | 所有支持的工具按平台分组,并附有说明 |
设置
1.安装
npm install
npm run build2.苹果证书
- 首选 App Store连接>密钥
- 使用创建API密钥 应用程序管理器 角色
- 下载
.p8文件 - 注意 密钥ID 和 发行者ID
3.谷歌证书
- 首选 谷歌云控制台
- 启用 Google Play Android开发人员API
- 创建一个 服务账号 并下载JSON密钥
- 在Google Play控制台中,授予服务帐户访问权限 设置>API访问
4.配置环境
cp .env.example .env编辑 .env:
APPLE_KEY_ID=YOUR_KEY_ID
APPLE_ISSUER_ID=YOUR_ISSUER_ID
APPLE_P8_PATH=/path/to/AuthKey.p8
GOOGLE_SERVICE_ACCOUNT_PATH=/path/to/service-account.json5.添加到克劳德代码
增添 ~/.claude/settings.local.json:
{
"mcpServers": {
"app-publish-mcp": {
"command": "node",
"args": ["/path/to/app-publish-mcp/dist/index.js"],
"env": {
"APPLE_KEY_ID": "YOUR_KEY_ID",
"APPLE_ISSUER_ID": "YOUR_ISSUER_ID",
"APPLE_P8_PATH": "/path/to/AuthKey.p8",
"GOOGLE_SERVICE_ACCOUNT_PATH": "/path/to/service-account.json"
}
}
}
}使用示例
提交iOS应用程序更新
1. apple_list_apps → get app ID
2. apple_create_version → create version 1.1.0
3. apple_list_version_localizations → get localization IDs
4. apple_update_version_localization → set whatsNew, description
5. apple_list_builds → find the uploaded build
6. apple_assign_build → attach build to version
7. apple_update_review_detail → set reviewer contact info
8. apple_submit_for_review → submit!发布Android应用程序
1. google_create_edit → start edit session
2. google_update_details → update contact info
3. google_update_listing → update store listing
4. google_upload_bundle → upload .aab file
5. google_create_release → create release on production track
6. google_validate_edit → check for errors
7. google_commit_edit → publish changes管理Google Play应用内产品
1. google_list_iap → list all products
2. google_create_iap → create a new managed product
3. google_update_iap → update price or description
4. google_delete_iap → remove a product许可证
麻省理工学院
