App Store Connect Mcp

io.github.gjeltep由 GitHub 账号 gjeltep 发布v0.3.0更新于 Oct 24, 2026

Interact with Apple's App Store Connect API

概览

AI 生成的概览

本地 MCP 服务器,让助手通过 Apple App Store Connect API 查询评论、TestFlight 崩溃、分析报告和 Xcode Cloud 构建。

可以做什么
  • 按评分、地区、日期等条件列出、搜索并查看用户评论
  • 列出和搜索 TestFlight 崩溃提交,查看详情并获取原始崩溃日志
  • 浏览分析报告请求、报告、实例与分段,并将报告数据下载为 TSV 文件
  • 列出 Xcode Cloud 产品、工作流、构建、产物、问题与测试结果,并可启动新构建
  • 列出 SCM 提供方、代码仓库、拉取请求、分支与标签
适用场景
适合让助手在不手动打开 App Store Connect 的情况下查看 iOS 或 macOS 应用的商店评论、测试版崩溃报告、分析数据导出或 Xcode Cloud 持续集成状态。适用于应用开发者和发布负责人的排查与汇报工作。
运行要求
以 stdio 方式在本机运行,来自 PyPI 包 app-store-connect-mcp(Python)。需要 App Store Connect API 密钥:APP_STORE_KEY_ID、APP_STORE_ISSUER_ID 以及指向 .p8 文件的 APP_STORE_PRIVATE_KEY_PATH;可选 APP_STORE_APP_ID、APP_STORE_KEY_TYPE、APP_STORE_SCOPE、APP_STORE_SUBJECT。需要访问 Apple API 的网络。
安装前请注意
需要 App Store Connect API 私钥文件和密钥标识,请勿将 .p8 文件与凭据放入共享配置。多数工具只读取数据,但 builds.start 会真正触发 Xcode Cloud 构建,report_instances.download_data 会在磁盘写入 TSV 文件。分析数据与崩溃数据会经由助手发送给模型提供方。

安装

在 SourceWeft 中

  1. 打开 控制台中的 App Store Connect Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

App Store Connect MCP Server

[Test] [PyPI] [Python Version] [MCP Registry]

Talk to App Store Connect about your app. Modular tools, async I/O, and OpenAPI‑driven typing so your agent stays accurate as Apple evolves.

Why this is different

  • Spec‑aware: Fields and enums are derived from Apple’s OpenAPI spec at runtime, reducing drift and surprise breakage.
  • Fast by default: Async httpx client, server‑side filtering, and smart pagination to keep payloads lean.
  • Smart filtering: Server‑side + client‑side filtering with chainable filter engine for complex queries.
  • Modular domains: Clean separation of tool schemas and handlers; add new domains without touching the core; optimized LLM discovery/ usage
  • MCP‑native: Stdio transport, capability declarations, and tool wiring align with the official SDK python‑sdk README.

Installation

From PyPI
bash
pip install app-store-connect-mcp
From Source
bash
git clone https://github.com/gjeltep/app-store-connect-mcp.gitcd app-store-connect-mcpuv pip install -e ".[dev]"

Configuration

Set these environment variables:

bash
# Requiredexport APP_STORE_KEY_ID="YOUR_KEY_ID"export APP_STORE_ISSUER_ID="YOUR_ISSUER_ID"export APP_STORE_PRIVATE_KEY_PATH="/path/to/AuthKey_XXXXX.p8"
# Optionalexport APP_STORE_APP_ID="YOUR_APP_ID"export APP_STORE_KEY_TYPE="team"  # or "individual"

Usage

Run with your environment variables set (recommended):

bash
app-store-connect-mcp

Or use a .env file during development:

bash
# Copy and configure .env filecp .env.example .env# Edit .env with your credentials
# Run with --env-file flagapp-store-connect-mcp-dev --env-file .env
# Validate configuration without starting serverapp-store-connect-mcp-dev --env-file .env --validate-only

Use with any MCP‑compatible client; the server announces tools and handles calls over stdio.

Generate or update API models

Models are generated from Apple's official OpenAPI spec (fetched automatically from Apple's developer site). You can override the source with APP_STORE_CONNECT_OPENAPI_URL to point to a local JSON file.

bash
uv pip install -e .[dev]python scripts/generate_models.py

Development

For development setup, testing, and contribution guidelines, see CONTRIBUTING.md.

Tools

Tools use a resource-first naming convention (resource.verb) with category tags for discoverability.

App Tools
  • reviews.list: List customer reviews with filters (rating, territory, appStoreVersion).
  • reviews.search: Advanced search with rating ranges, territory matching, date windows, and content search.
  • reviews.get: Get detailed review information.
TestFlight Tools
  • crashes.list: List crash submissions from beta testers with filters (device_model, os_version, app_platform, device_platform, build_id, tester_id).
  • crashes.search: Advanced search with:
    • Server‑side filters (appPlatform, deviceModel, osVersion)
    • Post‑filters: OS ranges (min/max), device model substrings (e.g., "iPhone 15"), and date windows (created_since_days, created_after, created_before).
  • crashes.get_by_id: Get detailed information about a specific crash submission.
  • crashes.get_log: Retrieve the raw crash log text for a specific submission.
Analytics Tools

Requests:

  • analytics_report_requests.list: List analytics report requests for an app with filters (access_type).
  • report_requests.create: Create new analytics report requests for specific metrics and timeframes.
  • report_requests.get: Get detailed information about a specific analytics report request.

Reports:

  • report_requests.list_reports: List available reports within a request with filters (name, category).
  • reports.get: Get specific analytics report information.
  • reports.list_instances: List report instances with filters (granularity, processing_date).
  • report_instances.get: Get detailed information about a specific report instance.

Segments:

  • report_instances.list_segments: List data segments for a report instance.
  • report_segments.get: Get segment download information (checksum, URL, size).
  • report_instances.download_data: Download analytics report data to a TSV file.
Xcode Cloud Tools

Products & Workflows:

  • products.list: List all Xcode Cloud products with filters (product_type).
  • products.get: Get detailed information about a specific product.
  • workflows.list: List workflows for a product with filters (is_enabled).
  • workflows.get: Get detailed workflow information (note: create/update/delete operations not supported for safety).

Builds:

  • builds.list: List builds for a product or workflow with filters (execution_progress, completion_status, is_pull_request_build).
  • builds.get: Get detailed build information including status, duration, and issue counts.
  • builds.start: Start a new build for a workflow with optional branch/tag or pull request specification.

Build Artifacts & Results:

  • artifacts.list: List downloadable artifacts for a build.
  • issues.list: List issues (errors, warnings) for builds or workflows.
  • test_results.list: List test results including status, duration, and failure messages.

SCM Integration:

  • scm_providers.list: List configured SCM providers (GitHub, GitLab, Bitbucket).
  • repositories.list: List Git repositories for an SCM provider.
  • pull_requests.list: List pull requests for a repository.
  • git_references.list: List branches and tags for a repository.

Architecture

mermaid
graph TD    %% Entry Point    subgraph "Entry Point"        SERVER[server.py<br/>MCP stdio server]    end
    %% Domain Implementations    subgraph "Domain Handlers"        TESTFLIGHT[testflight/handlers.py<br/>TestFlight crash<br/>management]        APP[app/handlers.py<br/>App Store review<br/>management]        ANALYTICS[analytics/handlers.py<br/>Analytics report<br/>management]        XCODE_CLOUD[xcode_cloud/handlers.py<br/>Xcode Cloud CI/CD<br/>management]    end
    %% Core Architecture    subgraph "Core Components"        subgraph "Core Framework"            PROTOCOLS[protocols.py<br/>Abstract interfaces]            BASE_HANDLER[base_handler.py<br/>Abstract base class]            QUERY_BUILDER[query_builder.py<br/>Fluent query construction]            FILTERS[filters.py<br/>Chainable filter engine]            RESPONSE_HANDLER[response_handler.py<br/>API response processing]            CONTAINER[container.py<br/>Dependency injection]            ERRORS[errors.py<br/>Structured error handling]        end
        subgraph "API Layer"            ASC_CLIENT[app_store_connect.py<br/>App Store Connect client<br/>with JWT auth]            HTTP_CLIENT[http_client.py<br/>Base HTTP client]            MODELS[app_store_connect_models.py<br/>Auto-generated Pydantic<br/>models from OpenAPI spec]        end
        subgraph "Data & Tools"            OPENAPI[app_store_connect_api_openapi.json<br/>Apple's OpenAPI spec]            GENERATE_SCRIPT[scripts/generate_models.py<br/>Model generation script]        end    end
    %% Vertical Stack Relationships    SERVER -->|"routes to"| ANALYTICS    ANALYTICS -->|"uses"| ASC_CLIENT
    %% Styling    classDef entry fill:#f3e5f5,stroke:#4a148c,stroke-width:2px    classDef core fill:#fff3e0,stroke:#e65100,stroke-width:2px    classDef domain fill:#fce4ec,stroke:#880e4f,stroke-width:2px
    class SERVER entry    class PROTOCOLS,BASE_HANDLER,QUERY_BUILDER,FILTERS,RESPONSE_HANDLER,CONTAINER,ERRORS,ASC_CLIENT,HTTP_CLIENT,MODELS,OPENAPI,GENERATE_SCRIPT core    class TESTFLIGHT,APP,ANALYTICS,XCODE_CLOUD domain

Credits

Built on the official Model Context Protocol Python SDK — see the docs and examples in the python‑sdk README.


See CONTRIBUTING.md if you'd like to help.

来源:README.md,提交 fae0418

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分