MCP 工具

对照 App 审核的要求检查正在准备的版本,列出阻止提交的问题,并附上修复它们的工具。

对照 App 审核的要求检查正在准备的版本:构建版本及其出口合规回答、每种语言的商店信息文本、截屏、App 信息、年龄分级、内容版权、App 审核联系人以及 App 隐私。它会列出所有阻止提交的问题,每句话都写明修复它的工具。它不做任何更改。appstore_submit_for_review 在发送任何内容之前会运行同样的检查。

只读 破坏性 幂等
是 否 是

输入

输入 类型 必填 默认值 作用
teamId 字符串(UUID) yes — 团队,来自 list_teams。
projectId 字符串(UUID) 与 appId 二选一 — 这个 App 所属的项目,来自 list_projects:这是指定 App 的常用方式。App 是 App Store Connect 上 bundle ID 与该项目构建的 bundle ID 相同的那个。两者都发送时,使用 projectId。
appId string 与 projectId 二选一 — 来自 appstore_list_apps 的 App Store Connect App ID,用于没有项目构建的 App。
appleTeamId 字符串(UUID) no 所有已连接的 Apple 团队 团队的某个 Apple 团队,来自 appstore_list_apple_teams。配合 appId 时,只在这个 Apple 团队中查找该 App。配合 projectId 时不需要:由项目的 App 决定。
platform 字符串:IOS、MAC_OS、TV_OS、VISION_OS no IOS 哪个平台的 App Store 版本。

每个工具对输入所做的检查见 服务器与登录。

结果

一个 JSON 对象,同时以文本和 structuredContent 返回。

字段 说明
ready 没有阻止提交的问题时为 true
version 正在准备的版本(字段同 appstore_app_status),或 null
blocking 提交前必须修复的问题,每条一句
warnings 可能仍需注意的问题,每条一句

blocking 可能包含以下句子:

阻止提交 何时出现
No version is being prepared. Start one with appstore_prepare_version. 没有可提交的版本
No build is attached to the version. Pick one with appstore_prepare_version (buildNumber or useLatestBuild). 没有构建版本
Build number is state, not ready. 构建版本尚未处理完成
The build has no export compliance answer: set it with appstore_distribute_build’s usesNonExemptEncryption, or in the app’s Info.plist (ITSAppUsesNonExemptEncryption). 出口合规
The version has no listing text in any language. 没有商店信息
locale: missing fields (appstore_update_store_listing). 某种语言缺少描述、关键词、支持网址,或(更新版本时)新功能说明
locale: no 6.9-inch (or 6.5-inch) iPhone screenshots (appstore_upload_screenshots). iOS,主要语言
locale: iPad screenshots need the 13-inch size. iOS:iPad 截屏没有 13 英寸尺寸
locale: no screenshots. 其他平台,主要语言
locale: the app has no name. 某种语言没有名称
locale: no privacy policy URL (appstore_update_store_listing). 某种语言没有隐私政策网址
No primary category (appstore_update_app_info). 没有类别
The age rating questionnaire is not finished (questions) (appstore_update_app_info). 年龄分级问题未回答
Content rights are not declared (appstore_update_app_info contentRights). 内容版权
App Review needs a contact: first and last name, phone and email (appstore_prepare_version reviewContact). 审核联系人信息不完整
A demo account is marked required but its name or password is missing. 演示账户信息不完整
App Privacy is not answered (appstore_update_privacy). 没有 App 隐私回答
App Privacy answers are not published (appstore_update_privacy mode applyAndPublish). App 隐私已存储但未发布

还有 warnings,它们不会阻止提交:

警告 何时出现
No iPad screenshots: Apple requires 13-inch iPad screenshots when the app runs on iPad. iOS,没有 iPad 截屏
Could not check App Privacy: sentence 无法读取 App 隐私,例如团队拥有者的 Apple 登录已失效
Could not confirm the app has a price; a new app needs one set in App Store Connect (Pricing and Availability). 无法读取价格

只检查 App 主要语言的截屏,其他语言会回退使用它。

{
  "ready": false,
  "version": {
    "versionId": "00000000-0000-0000-0000-000000000000",
    "version": "1.2.0",
    "state": "PREPARE_FOR_SUBMISSION",
    "releaseType": "AFTER_APPROVAL",
    "scheduledRelease": null,
    "copyright": "2026 Example Inc.",
    "build": {
      "buildId": "00000000-0000-0000-0000-000000000000",
      "buildNumber": "42"
    },
    "phasedRelease": null,
    "createdAt": "2026-11-18T09:00:00Z"
  },
  "blocking": [
    "en-US: missing keywords, support URL (appstore_update_store_listing).",
    "No primary category (appstore_update_app_info)."
  ],
  "warnings": [
    "No iPad screenshots: Apple requires 13-inch iPad screenshots when the app runs on iPad."
  ]
}

错误

每个错误都以工具错误(isError: true)返回。斜体 文字代表句中的具体值。所有工具都可能返回的错误见 服务器与登录。

消息 何时出现 怎么办
App Store Connect has no app information for this app. Apple 没有返回 App 信息 在 App Store Connect 中检查该 App
Pass projectId, or appId from appstore_list_apps. projectId 和 appId 都没有发送 发送其中一个
This Project has not been built for iOS yet, so it has no bundle id to find its app by. Ask the Team’s Agent to build it, or pass appId. 该项目从未构建过 iOS 版本 请项目的智能体构建一个 iOS 版本(send_message),或用 appId 指定 App
This Project has no app on App Store Connect yet. Create one with appstore_create_app (its bundle id is the Project’s), or pass appId. 团队已连接的 Apple 团队中没有 App 的 bundle ID 与项目相同,或没有连接任何 Apple 团队 用 appstore_create_app 创建 App,或用 appId 指定另一个 App
No connected Apple team of this Team has that app. See appstore_list_apps. appId 不是任何已连接 Apple 团队(或 appleTeamId)中的 App 从 appstore_list_apps 获取 ID
platform must be IOS, MAC_OS, TV_OS or VISION_OS. platform 是其他值 发送这四个值之一
App Store Connect: Apple’s sentence Apple 拒绝了请求。后面最多附上 Apple 自己的五句话,Apple 指明相关字段时会在括号中注明。App Store Connect 中有待接受的 Apple 协议时,也会这样被拒绝 按 Apple 的说明处理。协议由 Apple Developer 账户的账户持有人在 App Store Connect 中接受(商务 › 协议)
App Store Connect answered status. Try again in a moment. Apple 拒绝了,但没有说明原因 稍后再试

示例

{
  "name": "appstore_check_submission",
  "arguments": {
    "teamId": "00000000-0000-0000-0000-000000000000",
    "projectId": "00000000-0000-0000-0000-000000000000"
  }
}