
App Store Connect
io.github.forgeopslabs由 GitHub 帳號 forgeopslabs 發布v0.3.1更新於 Oct 24, 2026
MCP server for the Apple App Store Connect API - 114 annotated tools, optional read-only mode.
概覽
本機 MCP 伺服器,透過 114 個附註解的 tool 開放 Apple App Store Connect API,讓助理管理 App、定價、TestFlight 與發佈。
- 可以做什麼
- 列出、讀取與更新 App、App 資訊、在地化與年齡分級
- 建立與管理 App 內購買、訂閱、優惠、優惠碼以及定價與可用範圍
- 管理 App Store 版本、審查提交、分階段發佈與自訂產品頁面
- 處理 TestFlight 建置、測試群組與測試人員,以及 Bundle ID、憑證、裝置與描述檔
- 上傳截圖與預覽、回覆使用者評論、邀請或移除使用者、執行 Xcode Cloud 建置並取得分析報告
- 透過兩個通用 JSON:API tool 呼叫其他任意 App Store Connect 端點
- 適用情境
- 適合讓助理操作既有的 App Store Connect 帳號:準備中繼資料與截圖、設定價格、提交審查、發佈 TestFlight 建置,或讀取分析與評論。唯讀模式適合只需檢視帳號的代理。
- 執行需求
- 以本機執行檔透過 stdio 執行(提供 macOS、Linux、Windows 預先編譯版本,或以 Rust 1.88+ 自行建置);Claude Desktop 可用一鍵安裝包。需要 App Store Connect 團隊 API 金鑰:ASC_ISSUER_ID、ASC_KEY_ID,以及 ASC_PRIVATE_KEY 或 ASC_PRIVATE_KEY_PATH 其中之一。選用變數可調整 tool 群組、逾時與回應大小。需要連線至 Apple API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 App Store Connect,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
appstore-mcp
An MCP server, written in Rust, that exposes the Apple App Store Connect API to AI agents. It covers the full product lifecycle — apps & metadata, in-app purchases, subscriptions and their offers, pricing & availability, App Store versions, App Review submission, TestFlight, provisioning & signing, asset uploads, promoted purchases, customer reviews, phased release, users & access, in-app events, Xcode Cloud, and analytics reports — across 114 tools, and can reach any other App Store Connect endpoint through two generic JSON:API tools.
Built on the official rmcp SDK over stdio.
📖 Full tool reference → docs/TOOLS.md — every tool's purpose and parameters.
Every tool is labelled with MCP annotations, so a client can tell list_apps
from remove_user. You can serve only the domains you need (ASC_TOOLS) or only
the tools that cannot write (ASC_READ_ONLY) — see
Choosing which tools to serve.
Design: hybrid coverage
The App Store Connect API has hundreds of endpoints but is uniformly JSON:API. Rather than a tool per endpoint, this server is hybrid:
- Curated tools (112) for the common, multi-step, or error-prone workflows — apps & metadata, IAPs, subscriptions & offers, versions, pricing, availability, App Review submission, TestFlight, provisioning, asset uploads, promoted purchases, customer reviews, phased release, users, in-app events, Xcode Cloud, analytics reports, and custom product pages.
- Two generic escape-hatch tools —
appstore_requestandappstore_list— that can call any endpoint with raw JSON:API documents.
Tools
See docs/TOOLS.md for each tool's description and parameters. Custom product page
images are uploaded with the existing upload_app_screenshot / upload_app_preview tools.
Install
Prebuilt binaries for macOS (universal), Linux (x86-64), and Windows (x86-64) are attached to every GitHub Release. Pick the channel for your client; all of them need credentials (see Credentials).
Claude Desktop — one-click bundle
Download appstore-mcp.mcpb from the latest release and open it with Claude Desktop
(Settings → Extensions → Install Extension…, or drag the file onto the window).
It prompts for your Issuer ID, Key ID, and .p8 key file. The bundle ships
all three platforms' binaries and selects the right one automatically.
Claude Code — plugin marketplace
The plugin launches the appstore-mcp binary from your PATH, so install it first —
download the binary for your OS from the latest release
and put it on your PATH, or cargo install --git https://github.com/forgeopslabs/appstore-mcp.
Set ASC_ISSUER_ID, ASC_KEY_ID, and ASC_PRIVATE_KEY_PATH in the environment you start
Claude Code from.
Codex
Codex configures MCP servers directly (no marketplace). With appstore-mcp on your PATH:
or in ~/.codex/config.toml:
MCP Registry
Published as io.github.forgeopslabs/appstore-mcp (metadata in
server.json) so any MCP-aware client can discover it.
From source
Credentials
Generate a Team Key in App Store Connect → Users and Access → Integrations →
App Store Connect API, and download the .p8 file. Then set:
See .env.example. The server authenticates each request with a
short-lived ES256 JWT signed by your key (cached and refreshed automatically).
The server starts even without credentials so a client can list its tools; tool calls then return an actionable configuration error until creds are set.
Choosing which tools to serve
A hundred tool definitions cost context in every session, and a client that sees one flat list can't tell a read from a delete. Two knobs fix that:
Groups: generic, apps, iap, subscriptions, versions, pricing,
availability, submission, testflight, provisioning, assets, offers,
offer-codes, promotions, reviews, users, events, xcode-cloud,
analytics, custom-product-pages — plus all and core. An unrecognised name
is warned about on stderr and serves nothing rather than quietly falling back to
everything.
In read-only mode appstore_request is kept but refuses any method other than
GET, so the escape hatch still reaches endpoints without a curated tool without
becoming a way around the restriction.
Every served tool advertises MCP annotations (readOnlyHint, destructiveHint,
idempotentHint), which clients use to decide what needs confirming. Nine tools
are marked destructive: the seven delete_*/remove_* tools, expire_build,
disable_bundle_id_capability, and appstore_request (which can reach any
DELETE endpoint).
Discovery mode. Search by task, inspect a matching tool's full input schema
and safety annotations, then pass its exact name and arguments to
call_discovered_tool. ASC_TOOLS and ASC_READ_ONLY filter the private
catalog before search or execution. Direct calls to hidden tool names fail.
This is server-side discovery: inspected schemas appear in tool results, not as
new first-class MCP tools injected by the host.
The generic execution tool is marked destructive whenever writes are enabled;
hosts cannot apply distinct approval rules to each hidden tool. Inspect the
underlying tool and approve writes before calling it. Default mode preserves
the existing individually annotated tool surface.
Tuning
Defaults are chosen so a tool call can't hang and a single response can't swamp an agent's context. All of these are optional.
Retries. A 429 is replayed for any method, since Apple rejected the request
without applying it. A 5xx or a mid-flight timeout is replayed only for
GET/PATCH/PUT/DELETE — never POST, which could otherwise create a
duplicate resource (and Apple permanently reserves identifiers like a product
ID). Backoff is exponential with jitter and honours Retry-After.
Response shaping. Results are serialized compactly — indented JSON measured
1.72× the bytes for identical content, so the same budget now carries about 40%
more of the data you asked for. Per-resource self links and link-only
relationships are stripped: no addressable content is lost, and links.next
survives for pagination. If a response still exceeds the budget, included is
dropped first, then trailing data items, and the result carries a _truncated
key saying what went missing and how to narrow the query. Note that following
links.next after a trim would skip the dropped items — re-request with a
smaller limit instead.
Build & run
The server speaks MCP over stdio. Logs go to stderr; stdout is the protocol channel.
Use with an MCP client
Example client config (e.g. Claude Desktop's mcpServers):
Inspect with the MCP Inspector
Usage notes
- IDs are opaque. List/get first to resolve app, IAP, subscription, set, and price-point IDs, then pass them to create/update tools.
- Pricing needs a price point. Use
list_iap_price_points/list_subscription_price_pointsto get theidforset_iap_price_schedule/set_subscription_price. - Asset uploads (
upload_*) take a local file path and run the full reserve → chunked upload → MD5 commit flow in one call. The file is streamed, so peak memory is one chunk rather than the size of the asset, and a chunk that fails is retried on its own. Screenshots/previews require an existingappScreenshotSet/appPreviewSet; create those with the generic tools if needed. - Pagination.
appstore_listreturns one page by default. Passmax_pages(up to 20) to followlinks.nextand merge the pages into one result —meta.hasMoretells you whether anything is left. - Analytics data.
request_analytics_report→list_analytics_reports→list_analytics_report_instances→list_analytics_report_segmentsgets you a presigned segment URL;download_analytics_segmentfetches it, gunzips it, and returns the rows as JSON. Apple can take up to 48 hours to generate the first report for a new request. - Anything not listed is reachable via
appstore_request(raw method + path + JSON:API body) orappstore_list(paginated GET). Example:appstore_request { "method": "GET", "path": "/v1/apps/123/customerReviews" }. - Not covered: sales/finance report endpoints return gzipped TSV (not JSON:API) and are out of scope for these tools.
Limitations (enforced by Apple)
- You cannot create an app via the API. The
appsresource only allows GET and UPDATE —POST /v1/appsreturns403 FORBIDDEN_ERROR. Create the app record in the App Store Connect website (Apps → ➕ → New App); you can pre-create its bundle ID withcreate_bundle_id. All other tools operate on an existing app. - A deleted in-app purchase's
productIdis permanently reserved by Apple and cannot be reused.
Development
Tests come in three layers: pure unit tests for request-body builders, retry
decisions, and response shaping; wiremock
tests that drive the real HTTP client against a mock API (retries, timeouts,
pagination, the three-step upload protocol, segment downloads); and
tests/tool_surface.rs, which asserts the invariants of what a client actually
sees — unique names, real descriptions, object schemas, correct annotations, and
that ASC_TOOLS/ASC_READ_ONLY withhold exactly what they claim to.
The minimum supported Rust version is 1.88, checked by its own CI job.
Regenerate the tool reference after adding/changing tools (needs the release binary; no credentials required):
Live integration tests
scripts/integration_test.py drives the compiled server against the real API.
Read-only by default; --write adds a self-cleaning IAP lifecycle.
License
MIT
來源:README.md,提交 a573fa8
工具
0版本歷史
1- v0.3.1最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。