App Store & Google Play

io.github.JohnBilousov由 GitHub 帳號 JohnBilousov 發布v0.1.2更新於 Oct 24, 2026

Read-only access to App Store Connect and Google Play: apps, releases, and reviews.

已驗證STDIO僅桌面開發者工具商業與電商

概覽

AI 產生的概覽

唯讀 MCP 伺服器,讓助理透過一套共用工具檢視 App Store Connect 與 Google Play 的應用程式、發行版本與評論。

可以做什麼
  • 檢查已設定哪些商店,以及憑證是否可用
  • 列出兩個商店中所有可觸及的應用程式,或依 App Store id、Play 套件名稱、bundle id 查詢單一應用程式
  • 讀取單一應用程式或整個產品組合的發行狀態,統一正規化為已上線、審核中、分階段發布、已暫停、遭拒等狀態
  • 取得兩個商店的近期評論並合併排序,可依最高評分篩選以處理負評
適用情境
適合同時上架兩個商店的獨立開發者,一次提問即可了解哪些版本已上線、哪些在審核、使用者在抱怨什麼,不必分別查看兩個後台。提供含範例資料的示範模式,無需任何憑證即可試用。
執行需求
透過 npx 在本機執行(需要 Node.js)。App Store Connect 需要 ASC_KEY_ID、ASC_ISSUER_ID,以及指向已下載 .p8 金鑰的 ASC_KEY_PATH;Google Play 需要指向具備 Android Publisher 權限的服務帳戶 JSON 的 PLAY_SERVICE_ACCOUNT_PATH,以及 PLAY_PACKAGES,因為 Play API 無法列出應用程式。可只設定其中一個商店,或都不設定而使用範例資料。
安裝前請注意
需要敏感憑證:Apple 私密金鑰檔案,以及具備 Android Publisher 權限的 Google 服務帳戶 JSON,可讀取你的商店資料。Play 的讀取會建立暫時的 edit 並在未提交的情況下刪除,因此唯讀伺服器仍會發出 POST 請求。Play 評論僅涵蓋約一週,App Store 評論依地區區分且可能延遲。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 App Store & Google Play,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

appstore-play-mcp

[CI] [npm] [license]

A read-only MCP server for App Store Connect and Google Play. One set of tools over both stores, so you can ask "what's live, what's in review, and what are people complaining about?" once instead of twice.

> Which of my apps have a release that isn't live yet?
  Pocket Herbarium (App Store)    app-store: 2.1.0 (214) — in review  Pocket Herbarium (Google Play)    production: 2.0.3 (208) — rolling out at 20%    beta: 2.1.0 (214) — live

Built for indie developers who ship to both stores and are tired of two consoles, two auth schemes, and two vocabularies for the same thing.

Nothing here writes. No metadata edits, no submissions, no review replies. Every tool is annotated readOnlyHint, and the test suite fails if that ever stops being true.

Try it in 30 seconds

No Apple key, no Google service account:

bash
npx -y appstore-play-mcp --demo

Demo mode serves fixtures for a fictional two-app developer — including a version stuck in review and a staged rollout at 20%, because those are the states worth looking at.

bash
npx @modelcontextprotocol/inspector npx -y appstore-play-mcp --demo

Tools

ToolWhat it does
stores_healthWhich stores are configured and whether their credentials work.
list_appsEvery reachable app, both stores, one list.
get_appOne app by App Store id, Play package name, or bundle id.
get_releasesWhat's live, in review, or mid-rollout — one app or the whole portfolio.
get_reviewsRecent reviews from both stores, merged and sorted. maxRating: 2 to triage complaints.

appId is optional on get_releases and get_reviews. Leave it out and the tool sweeps every app you have — that's the portfolio view.

One vocabulary for two stores

The App Store has appStoreVersions with an appVersionState; Play has tracks holding releases with a status and a rollout fraction. Both are normalised:

Normalised stateApp StoreGoogle Play
liveREADY_FOR_DISTRIBUTIONcompleted
in_reviewIN_REVIEW, WAITING_FOR_REVIEW—
pending_developer_releasePENDING_DEVELOPER_RELEASE—
rejectedREJECTED, METADATA_REJECTED—
rolling_out—inProgress with userFraction < 1
halted—halted
draftPREPARE_FOR_SUBMISSIONdraft

Each store's own wording is preserved in rawState, so nothing is lost in translation.

Reviews get the same treatment, with one honest exception: the stores do not report the same thing about where a review came from, so they do not share a field.

FieldApp StoreGoogle Play
territoryISO country (DEU, USA)— not exposed
language— not exposedreviewer's language (pl, en)
device— not exposeddevice model
appVersion— not exposedversion reviewed

Collapsing a language into a country field would have made the unified shape look tidier and report something false, so each store fills only what it actually knows.

Setup

Listed in the MCP Registry as io.github.JohnBilousov/appstore-play-mcp, so clients that read the registry can find it on their own.

Either store works on its own — configure one, both, or neither (fixtures).

App Store Connect

In App Store Connect → Users and Access → Integrations → App Store Connect API, create a key and download the .p8 (Apple lets you download it once).

bash
export ASC_KEY_ID=XXXXXXXXXXexport ASC_ISSUER_ID=00000000-0000-0000-0000-000000000000export ASC_KEY_PATH=/path/to/AuthKey_XXXXXXXXXX.p8

The server signs its own ES256 JWT — no fastlane, no extra dependency. ASC_PRIVATE_KEY takes the key inline instead, for CI.

Google Play

Create a service account in Google Cloud, enable the Android Publisher API for its project, then grant it access in Play Console → Users and permissions.

bash
export PLAY_SERVICE_ACCOUNT_PATH=/path/to/service-account.jsonexport PLAY_PACKAGES=com.example.app,com.example.other

PLAY_PACKAGES is not optional: the Play API has no endpoint that lists a developer's apps, so the packages have to be declared. PLAY_SERVICE_ACCOUNT_JSON takes the JSON inline instead, for CI.

MCP client config
json
{  "mcpServers": {    "stores": {      "command": "npx",      "args": ["-y", "appstore-play-mcp"],      "env": {        "ASC_KEY_ID": "XXXXXXXXXX",        "ASC_ISSUER_ID": "00000000-0000-0000-0000-000000000000",        "ASC_KEY_PATH": "/path/to/AuthKey_XXXXXXXXXX.p8",        "PLAY_SERVICE_ACCOUNT_PATH": "/path/to/service-account.json",        "PLAY_PACKAGES": "com.example.app"      }    }  }}

Claude Code:

bash
claude mcp add stores -- npx -y appstore-play-mcp

Platform limits worth knowing

These are the stores' constraints, not the server's:

  • Play cannot list your apps. Hence PLAY_PACKAGES.
  • Play reviews go back about a week, and only exist for apps that have reviews.
  • Play track data is only readable inside an "edit." Every read here opens a transient edit and deletes it in a finally block. Nothing is ever committed, so your app is not modified — but that is why a read-only server makes a POST.
  • App Store reviews are per-territory and can lag the store page by a few hours.

Design notes

Two credentials, one interface. AppStoreClient and PlayClient both implement StoreClient; a DemoStoreClient implements it a third time on fixtures. Tools never branch on which store they are talking to.

One store failing doesn't sink the call. Reads fan out across stores and across apps, and a failure on either axis is collected rather than thrown. If Play is down, App Store reviews still come back — with the Play failure named in the text and listed in unavailable, so the model can tell the user the answer is partial. An empty list and a broken credential must never look the same; a test asserts they don't.

Errors carry the fix. A 403 from Play says the service account may lack access or the Android Publisher API may be disabled for its project. A 404 says to call list_apps. The model can usually recover without the user intervening.

Tokens are cached and refreshed early. ES256 for Apple (20 min), RS256 → OAuth2 for Google (1 hour), both refreshed a minute before expiry so no call races the boundary. The Play side also memoizes the in-flight exchange: listApps() opens an edit per package concurrently, and without that, each concurrent caller would see no cached token yet and mint its own.

Development

bash
git clone https://github.com/JohnBilousov/appstore-play-mcp && cd appstore-play-mcpnpm installnpm run buildnpm test          # tool surface + both auth clients against a mocked fetch, real key material throughoutnpm run lint      # eslintnpm run format    # prettier --writenpm run inspect

CI runs typecheck, lint, format:check, test, and build on every push and pull request.

src/  index.ts          CLI entry, stdio transport  config.ts         env → Config; either store optional, fixtures as the floor  server.ts         tools + the registry that fans reads across stores  schemas.ts        zod input and output shapes  format.ts         human-readable summaries next to structuredContent  stores/    types.ts        shared vocabulary + state normalisation    appstore.ts     App Store Connect (ES256 JWT)    play.ts         Google Play (service account → OAuth2)    demo.ts         fixturestest/  server.test.ts    tool surface, state normalisation, portfolio sweeps — over a real MCP transport  stores/    appstore.test.ts  ES256 signing verified against the public key, token caching, error mapping    play.test.ts       RS256/OAuth2 exchange, the transient-edit cleanup, the concurrency fix above

Releasing

Publishing uses npm's trusted publishing (OIDC) — no NPM_TOKEN secret, nothing that can leak or expire. One-time setup on npmjs.com, under the package's Settings → Trusted publishing → GitHub Actions: organization JohnBilousov, this repository, workflow filename publish.yml.

To cut a release: bump the version in package.json, server.json, and VERSION in src/server.ts together (a test asserts they can't drift), commit, push, then publish a GitHub Release with a matching vX.Y.Z tag. That triggers .github/workflows/publish.yml, which runs the test suite and publishes to npm with provenance — the package page shows a verified link back to this exact commit and workflow run, not just a name on the registry.

Roadmap

  • Sales and download reports from App Store Connect (needs a vendor number)
  • Crash and ANR vitals from the Play Developer Reporting API
  • TestFlight builds and tester groups
  • Streamable HTTP transport alongside stdio

Contributions welcome — especially from anyone who ships to both stores and has hit a limit worth documenting here.

License

MIT © Ivan Bilousov

來源:README.md,提交 3f6fa1e

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分