What a Read-Only App Store Connect MCP Server Taught Me

De las guías: Claude Code & Codex CLI

This post has not been translated yet, so you are reading the English original. Read it at the English URL

I open-sourced appstore-connect-mcp, a read-only MCP server for the App Store Connect API: 14 tools, about 2,300 tokens of tool list, and no code path that writes to App Store Connect.1 An agent can answer “did 2.4 get through review, and is anything else on fire” in one call. A second command, pulse, is built for a scheduler: it compares the account with the snapshot it saved last time, uses no model, and exits 1 when a person should look. I built it for my own apps and ran it against my own account while five reviewer agents and another vendor’s model took each draft apart. The server is small. Most of what follows is seven things about the API that are easy to get wrong, each with what I saw or read, and where.2

TL;DR

  • The server only reads. The client has one HTTP method, checks every URL against Apple’s host before the token goes out, and follows no redirects. No flag turns writing on.1
  • Apple offers no sort parameter for an app’s versions or its review submissions, my included versions were not newest first, and the count on that included relationship stopped at the limit: an app of mine with 72 versions reported 50.219
  • include=buildBetaDetail on the build list linked TestFlight detail for 202 of 802 builds. I fetched four of the unlinked builds one at a time, and each had it. And 148 of 150 recent builds were in testing for internal testers only.2
  • For apps alone, a sales report’s Units column mixes downloads, redownloads, updates, refunds and bundle credits. Summing it turns Apple’s own bundle example into minus 25 downloads.89
  • ACCEPTED means another item in the submission was rejected. READY_FOR_REVIEW means nobody has submitted it yet.6
  • Screenshot sets are deprecated. Screenshots now live in the App Asset Library, and in-app products carry a second, separate review state.1112
  • A second vendor’s model reviewed the code four times and returned 45, 29, 22 and 11 findings, then five more on a narrow fifth pass. I rejected three, two of them with evidence from the real API, and fixed the rest.2

What it is

Fourteen tools over the App Store Connect API, for a coding agent that speaks the Model Context Protocol:1

Tool What it answers
team_status Where every app stands: needs attention, ready to submit, with App Review, awaiting release, about to lose its last TestFlight build in testing, ready for distribution, draft
submission_readiness What the newest version still lacks: build, review contact, listing fields, and usable screenshots counted per language and device family
review_submission_status Recent submissions to App Review: each one’s state, when it was submitted, and its items
in_app_products Each subscription and purchase: the product’s state and its metadata’s review state
testflight_feedback, beta_groups, beta_testers, builds What testers wrote, the groups and tester counts, and each recent build’s state for internal and external testers
customer_reviews, sales_summary Recent reviews as a labeled sample; downloads, updates and refunds for yesterday in Pacific time, or the day before when yesterday’s report is not posted
list_apps, app_overview, app_store_versions, xcode_cloud_builds The rest of the daily questions

Install it into Claude Code or Codex with one line. The line names a release tag, because the process holds a signing key and should run code you chose:117

# Claude Code
claude mcp add appstore -- uvx --from git+https://github.com/blakecrosley/[email protected] appstore-connect-mcp

# Codex
codex mcp add appstore -- uvx --from git+https://github.com/blakecrosley/[email protected] appstore-connect-mcp

Credentials come from environment variables, or from the folder Apple’s own tools already use, ~/.appstoreconnect/. Tokens are ES256 JWTs with the 20-minute lifetime Apple accepts, and the server reads the .p8 bytes inside the function that signs and nowhere else.3

The server does not upload builds, edit metadata, upload screenshots or submit anything. fastlane’s deliver does that work.15 The two fit together: submission_readiness tells an agent what a version is missing, and deliver uploads the screenshots and metadata once you have them. Crash logs and field performance stay with Xcode: the server built into Xcode 27 offers tools for both on my machine, and I wrote about the Xcode 26.3 version of that server in Two MCP Servers Made Claude Code an iOS Build System.16

Why it only reads

A GitHub search on November 22, 2026 turned up about 100 public repositories that present themselves as App Store Connect MCP servers.2 Two of the better-known ones describe 502 and 786 tools, and the most-starred one submits apps for review and sets prices.20 I wanted the opposite: a server I could leave connected to an agent that also runs shell commands.

A read-only flag would not have given me that. A flag is a setting, and a setting can be wrong on the one machine where it matters. So the limit sits where the client attaches the token. AscClient has three public methods, all GET. Before every request it checks that the URL is HTTPS to api.appstoreconnect.apple.com on the default port. The check earns its place in paging: links.next is a full URL from a response body, and a paging loop that follows it sends the bearer token wherever it points.1

The MCP specification lets a server mark tools with readOnlyHint, and all 14 carry it. The same page says clients must treat annotations as untrusted unless they come from a trusted server, so the hint is a courtesy and the client is the guarantee.13

One limit deserves plain words. Read-only describes the code, not the key. An App Store Connect key does whatever its role allows, in anyone’s hands, and Apple assigns keys the same roles it assigns people.4 The README asks for a separate key with the lowest role that can read what you need.

Seven things about the API that are easy to get wrong

I checked items 1 through 6 against my own account on November 22, 2026. Treat them as one developer’s observations.2 Items 1, 2 and 6, and the F3 code in item 3, are behavior I found in no Apple document. Items 3, 4 and 5 are documented and easy to miss. Item 7 is a property of Unicode that an API which returns other people’s text inherits.

1. Versions arrive in no order, and the count stops at the limit

GET /v1/apps?include=appStoreVersions returns up to 50 versions per app. The endpoint that lists an app’s versions has no sort parameter.19 On my account the included versions were not newest first, and an app with 72 versions reported a relationship total of 50, the same number as the limit.2

My first draft read four versions per app and called them the newest. A rejected version could sit outside those four forever. The server now reads the team with 50 per app, reads any app that returns 50 again in full, and keeps what both reads showed. Every tool that picks the newest version reads all of the app’s versions and sorts by the instant, because Apple’s timestamps carry different UTC offsets and sort wrongly as text.

A build’s TestFlight state lives on a related buildBetaDetail. The build list accepts include=buildBetaDetail. On my account the response linked the detail for 202 of 802 unexpired builds. I fetched four of the others one at a time, and each had a detail.2

The consequence is quiet. A build missing export compliance reaches no tester, and one that TestFlight App Review rejected reaches no external tester, yet each has an expiry date like any other build.7 A check that trusts expiry alone lets that upload hide the real build that is about to expire. The server asks /v1/buildBetaDetails for each app’s newest candidate and walks to the next build when testers cannot install the first.

A second trap sits inside the first. A build has two TestFlight states, one for internal testers and one for external. Of 150 recent builds on my account, 148 were in testing internally and were not with external testers when I looked.2 A rule that asks “is some build in testing” lets every new upload hide an external testers’ build about to expire. A sixth reviewer agent, asked to attack the design and not the code, caught that one after four rounds of code review had passed it. The server now finds the last build for each audience and says whose build is expiring.

3. For apps alone, a sales report’s Units column is five different things

Every row of Apple’s daily Summary Sales Report carries a product type. Types 1, 1F, 1T and F1 are apps; 3 and 3F are redownloads (Apple’s table labels 3 a re-download and describes it as an app update; I follow the label); 7, 7F, 7T and F7 are updates.8 Sum the column and every update a person installs counts as a sale.

Refunds make it worse. A refund is a row with negative units, and a completed bundle adds negative “credit” rows for the apps the customer already owned. Apple’s own worked example has 25 bundle purchases and two credits of minus 25 each.9 Sum the three rows (25, minus 25 and minus 25) and the day reports minus 25 downloads.

The server classifies each code from an explicit table, and a code that is not in the table counts as unknown:1

_SALE_KINDS = {
    "downloads": ("1", "1E", "1EP", "1EU", "1F", "1T", "F1"),
    "bundles": ("1-B", "F1-B"),
    "redownloads": ("3", "3F", "F3"),
    "updates": ("7", "7F", "7T", "F7"),
    "in_app_purchases": ("FI1", "IA1", "IA1-M", "IA9", "IA9-M", "IAY", "IAY-M"),
    "restored_purchases": ("IA3",),
}

Refunds and bundle credits get counts of their own. One row is my reading and not Apple’s table: real reports carry F3, which I classify as a redownload by analogy with the F1 and F7 Apple’s table does list. Apple’s table stops at 3 and 3F.28 Apple’s reporting day follows Pacific Time, and a day’s report generally posts by 8 a.m. Pacific the next day, so “yesterday” depends on where and when you ask.10

4. Two state names do not mean what they say

Apple’s status page marks each state red, yellow or green. Two of them read differently from their names:6

  • Accepted: the item passed, and another item in the same submission was rejected. Nothing publishes until you fix or remove the rejected item.
  • Ready for Review: you marked it for review and have not submitted it. Apple is not looking at it.

My first draft put ACCEPTED under “awaiting release” and READY_FOR_REVIEW under “with App Review”. Both told a developer to wait when the developer needed to act. Apple is also replacing the appStoreState field with appVersionState, and on my account a response carried either or both, so the same version can appear to change state when a response switches fields.52

“Ready for Distribution” has its own trap. The name reads as “on the store”. Apple’s page adds that agreements must be in effect, and availability per country is a separate status.6 The server reports Apple’s name for the state and never the word “live”.

5. Screenshot sets are deprecated, and products have two states

API 4.5.1 replaced screenshot sets with the App Asset Library: you upload an image once, and a placement puts it on a product page.12 A check that asks “does this language have a screenshot set” passes on an empty set. The server counts screenshot placements per language and device family and leaves out the ones that failed or are still processing.

API 4.4.1 did something similar to in-app products. Names, descriptions and images now go through App Review as a numbered version, apart from the product. Apple’s migration guide tells polling code to track the version’s state.11 An approved subscription can have a rejected metadata version, and a tool that reports the product’s state alone answers “did my change get through” with APPROVED.

6. One 404, two meanings

GET /v1/apps/{id}/ciProduct returns 404 for an app with no Xcode Cloud product. The request returns the same 404, with the same message, for an app that does not exist.2 The server confirms the app exists before it tells an agent the app has no Xcode Cloud product.

7. A review may carry text nobody can see

Any customer can write an App Store review, and the API hands its text to whatever asks. Unicode has a block of tag characters that correspond to ASCII and that renderers normally do not draw.18 Text written in them normally shows a person nothing, and a model can still read it. I did not test whether Apple’s review field keeps those characters. The server strips them without relying on Apple to.

My first cleaner stripped a short list of zero-width and bidirectional characters and let the tag block through. The server now removes characters by Unicode category, marks every result that carries third-party text, and tells the agent to treat that text as data. That lowers the risk and does not remove it, and the README says so.

The pulse: a daily check with no model

$ uvx --from git+https://github.com/blakecrosley/[email protected] appstore-connect-mcp pulse
PASS review-states: Example Notes IOS 2.4: WAITING_FOR_REVIEW -> PENDING_DEVELOPER_RELEASE
PASS new-reviews: 2 new, lowest 4 stars (Example Notes)
FAIL expiring-builds: Example Timer: last build with external testers 13 expires in 3d
PASS units: 34 downloads, 120 updates on 2026-11-21 (top: Example Notes 25, Example Timer 9)

pulse compares App Store Connect with the snapshot it saved last time. Every check is a fixed threshold: a state in a set, a rating at or below two, a number of days. No check needs judgment, so none needs a model, and a run costs nothing to schedule, and the same snapshot, the same responses and the same clock give the same answer.1

One rule holds the comparison together: what a run did not read, it does not assume. The pulse reports a version or app gone only when the read that would have shown it was complete, and a list Apple did not send is not read as an empty one. A read that comes back short fails a coverage check, and what it could not confirm is carried forward from the last snapshot. The pulse matches reviews by ID over a two-day overlap, because my first version kept only “the newest review’s date”, read one page of 20, and, in the reviewer’s 21-review reproduction, passed while a one-star review sat twenty-first.2

What a second model’s review found

I ran the code through five reviewer agents and then through a model from a different vendor, read-only, with instructions to read every file and check each sentence of the README and design notes against the code.2 The second model ran four rounds: a full review, two fresh reads of the reworked tree, and a round that verified the round-three fixes and looked for what they broke. It returned 45 findings, then 29, then 22, then 11. A fifth pass, limited to the fixes for round four, returned five more. It never approved. After this post went up, a pass that checked the post’s sentences against the code found one more: a version list Apple did not send was read as an empty one, so a version could be reported gone. Version 1.0.1 fixes it.

The early rounds earned their cost. The reviews-past-page-one miss, the failed upload hiding an expiring build, and the negative downloads all came from them. Round three reproduced a one-star review that stayed unreachable across four runs. Round four reproduced one that a run read, remembered and never reported.

I checked each finding against the code, Apple’s pages and my own account before I touched anything, and rejected three:

  • The reviewer said an app that reports exactly 50 versions is fully read. My 72-version app reports 50.
  • The reviewer wanted a storefront availability lookup per app to justify calling a version live. The point was fair and the remedy was not needed: I removed the word.
  • The reviewer called F3 undocumented and therefore unknown. Two weeks of my reports carry it.

Three lessons came out of it. The second model found real defects that five reviewers had passed, and those five ran on the same model family that helped write the code. The second model was also wrong twice in ways only the real API could show. And the loop has no natural end: every round of fixes gave the reviewer new code to fault, and by round four most findings needed conditions I have never seen: a response Apple has not been seen to send, a damaged snapshot, or a key that fails mid-run. I fixed the fourth and fifth rounds’ findings and stopped there. Neither review replaced running the code against Apple.

Key Takeaways

For iOS developers who use coding agents:

  • Give an agent a read path into App Store Connect before a write path. Most of the daily questions I built this for are reads, and a read-only server can stay connected.1
  • Make a separate API key with a low role for the server. Read-only code does not make an Admin key read-only.4

For anyone who scripts against the App Store Connect API:

  • Never treat included versions as ordered or complete. Read every page and sort by the parsed instant.219
  • Ask for a build’s TestFlight detail directly when the answer matters. The list’s include does not link every one.2
  • Classify sales rows by product type, and count negative units as refunds or bundle credits, never as negative downloads.89

For teams that build MCP servers:

  • Enforce a limit where the code attaches the credential. A hint in the tool list is a courtesy, and the specification tells clients to distrust it unless they trust the server.13
  • Give every list a way to say it is incomplete. An agent can take a partial list for the whole one unless the tool says otherwise.
  • Strip unseen characters from third-party text by Unicode category. My list of ranges missed one.18

FAQ

What is appstore-connect-mcp?

An open-source, read-only MCP server for the App Store Connect API, written in Python under the MIT license. Fourteen tools let a coding agent read app and version states, review submissions, builds, TestFlight groups and feedback, customer reviews, in-app products, Xcode Cloud runs and daily sales.1

Can it submit a build or change a price?

No. The HTTP client has no method but GET and refuses any host but Apple’s. Use fastlane or Xcode for writes.115

Does it work with Claude Code and Codex?

Yes. Both take the same uvx command through their mcp add commands, and any MCP host that launches a stdio server takes the same command in its configuration.117

Is it official?

No. I wrote it, and it has no affiliation with Apple. Apple documents a way to give external agents access to Xcode’s own tools, which is a different thing from App Store Connect.16

Does it upload screenshots and metadata?

No. fastlane’s deliver uploads screenshots, metadata and binaries. submission_readiness reports what a version lacks, which pairs with deliver and does not replace it.15

What does the daily pulse cost to run?

Nothing beyond the API calls. It uses no model. A run reads the team’s versions and builds page by page, then makes at least one request per app for its reviews, and up to two for the sales report when a vendor number is set.1

Why does a tool answer say truncated: true?

Apple had more than the tool read, the tool returned fewer items than it read, or paging could not be finished. The answer carries Apple’s own total when Apple gives one, so the agent can say “20 of 72”.1

What I measured

One developer account, November 22, 2026. Treat the numbers as my observations, not as Apple’s documentation.2

  • Account: one team, 802 unexpired builds, App Store Connect API 4.6.1.
  • Server: version 1.0.1, Python 3.11 to 3.13, MCP Python SDK 2.3.0.14
  • Protocol: all 14 tools called over stdio against the live account, plus four deliberate failures (an out-of-range number, a path in place of an ID, an app that does not exist, a date that is not a date). Each failure came back marked as an error.
  • Sizes: tool list 9,312 characters. Answer against Apple’s response to the same request: beta_testers 96 against 8,070; app_store_versions 4,948 against 313,271; list_apps 5,786 against 323,948; builds 3,512 against 45,601; review_submission_status 2,209 against 10,639.
  • Pulse: two runs against the live account. The first saved a baseline and failed on one expiring build. The second reported no changes and did not repeat the sales day.
  • Tests: 468, no network, 99% line coverage, on Python 3.11, 3.12 and 3.13, replaying responses recorded from the live API with every ID, name, address and timestamp replaced, and every number but counts, ratings and small ordinals. I wrote the sales report fixture by hand.
  • Not verified: Xcode Cloud runs and a version in phased release, because my account has neither; those fixtures come from Apple’s documentation. I also had no second team’s key to test with. I ran nothing on Windows. I did not test whether Apple’s review and feedback fields keep tag characters.

The server that sits beside one of my own apps is in MCP Server Alongside an iOS App: Two Agent Ecosystems, One List. Why a tool list deserves a read before you connect it is in MCP Servers Are the New Attack Surface, and what Xcode’s own server does is in Two MCP Servers Made Claude Code an iOS Build System.

References


  1. Blake Crosley, appstore-connect-mcp, version 1.0.1, MIT license. The README covers install, credentials, security and the tool list; docs/DESIGN.md gives the reasoning behind each decision named here. ↩↩↩↩↩↩↩↩↩↩↩↩↩

  2. Author’s measurements and review records, November 22, 2026, on one App Store Connect developer account: requests made with the server’s own client and its get command, the pulse run twice, every tool called over the MCP stdio protocol, and the code reviews (five reviewer agents and one design reviewer, plus four rounds and one narrow verification pass of cross-vendor review, run read-only at its highest reasoning setting). The count of other App Store Connect MCP servers comes from a GitHub repository search with four queries on November 22, 2026: 101 repositories counted, 118 with borderline cases. The repository’s docs/DESIGN.md records most of these measurements beside the decisions they led to. ↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩

  3. Apple, “Generating Tokens for API Requests”, App Store Connect API documentation. Source for ES256 signing and for Apple rejecting, for most requests, a token with a lifetime over 20 minutes. ↩

  4. Apple, “Creating API Keys for App Store Connect API”. Source for a key’s role determining its access and for keys taking the same roles as team members. ↩↩

  5. Apple, AppStoreVersion.Attributes and AppVersionState. Source for appStoreState being deprecated in favor of appVersionState and, with AppStoreVersionState, for the values each field can hold. ↩

  6. Apple, “App and submission statuses”, App Store Connect Help. Source for the definitions of Accepted, Ready for Review and Ready for Distribution, and for availability per country being a separate status. ↩↩↩

  7. Apple, “App build statuses”, App Store Connect Help. Source for which build statuses testers can and cannot use. ↩

  8. Apple, “Product type identifiers”, App Store Connect Help. Source for the product type codes. The table lists 3 and 3F as redownloads and has no F3 row. ↩↩↩↩

  9. Apple, “Summary Sales Report”, App Store Connect Help. Source for negative units marking refunds and bundle credits, and for the completed-bundle example with 25 purchases and two credits of minus 25. ↩↩↩

  10. Apple, “Download and view reports” and “Sales and Trends reports availability”, App Store Connect Help. Source for reports following Pacific Time and for daily reports being generally available by 8 a.m. Pacific the following day. ↩

  11. Apple, “Migrating In-App Purchase metadata to v2”. Source for metadata moving to versions in API 4.4.1 and for the instruction to track the version’s state. ↩↩

  12. Apple, “App Store Connect API 4.5.1 release notes” and “Migrating to the App Asset Library”. Source for screenshot sets being deprecated and for placements replacing them. ↩↩

  13. Model Context Protocol, “Tools”, specification version 2026-07-28. Source for tool annotations, for clients treating them as untrusted unless the server is trusted, and for tool failures reported with isError. ↩↩

  14. Model Context Protocol, Python SDK, release v2.3.0. ↩

  15. fastlane, deliver. Source for deliver uploading screenshots, metadata and binaries to App Store Connect. ↩↩↩

  16. Apple, “Giving external agents access to Xcode”. Source for external agents using Xcode’s tools. The crash and field-performance tools are the author’s observation of the tool list Xcode 27 presents, not a statement on that page. ↩↩

  17. Astral, “Using tools”, uv documentation. Source for running a tool from a git source at a tag with uvx --from. ↩↩

  18. Unicode Consortium, The Unicode Standard, Version 18.0, Chapter 23, section 23.9, “Tag Characters”, and UTS #51: Unicode Emoji, Annex C. Source for the tag characters corresponding to ASCII-based strings and for their being “normally invisible”. ↩↩

  19. Apple, “List all app store versions for an app” and “List Review Submissions for an App”. Neither endpoint’s parameter list includes sort. ↩↩↩

  20. Tool counts and capabilities as each project’s own repository described them on November 22, 2026: zelentsov-dev/asc-mcp (“502 tools”), erayendes/app-store-connect-mcp (“786 tools in 14 profiles”, with a read-only mode), and blitzdotdev/blitz-mac (submit for review, pricing). ↩

Artículos relacionados

Foundation Models Agentic Workflow: In-App Vs Tooling LLM

Two LLMs touch a Swift app. The on-device model that ships with the app and the agent that wrote the code. Different sta…

17 min de lectura