Skip to main content
Glama

🍎 appstoreconnect-mcp

npm License: MIT Node.js

A read-only MCP (Model Context Protocol) server for Apple's App Store Connect API, with 12 tools that only read. The local stdio transport connects to Claude Desktop, Cursor, Windsurf, or any other MCP client. The server sends only GET requests to the API.

πŸ“¦ npm: @davidneyra2804/appstoreconnect-mcp 🍎 Data: apps, App Store versions, TestFlight builds, beta groups, reviews, sales reports, app information, pricing, availability, in-app purchases, and analytics πŸ”‘ Credentials: App Store Connect API key (.p8), pasted inline as APPLE_PRIVATE_KEY πŸ“„ License: MIT β€” LICENSE and NOTICE


πŸ’‘ Quick start

1. Generate an API key

  1. Go to App Store Connect β†’ Users and Access β†’ Integrations β†’ App Store Connect API.

  2. Create a .p8 key and record its Key ID and Issuer ID. The contents of the downloaded file are what goes into APPLE_PRIVATE_KEY.

2. Add the server to your MCP client

{
  "mcpServers": {
    "appstoreconnect": {
      "command": "npx",
      "args": ["-y", "@davidneyra2804/appstoreconnect-mcp"],
      "env": {
        "APPLE_KEY_ID": "TU_KEY_ID",
        "APPLE_ISSUER_ID": "TU_ISSUER_ID",
        "APPLE_PRIVATE_KEY": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----"
      }
    }
  }
}

Configuration file locations: Claude Desktop ~/Library/Application Support/Claude/claude_desktop_config.json, Cursor ~/.cursor/mcp.json, Windsurf ~/.codeium/windsurf/mcp_config.json, VS Code .vscode/mcp.json.

APPLE_PRIVATE_KEY takes the PEM text of the .p8 key. Three forms are accepted: the PEM with real line breaks, the same PEM with the line breaks escaped as \n (the form above, the one that survives a JSON file), and the base64 of the whole PEM. Inline is the recommended form, because a client that runs in another environment may not be able to read a path on your disk.

If the client runs on the same machine as the .p8 file, APPLE_PRIVATE_KEY_PATH is an alternative to APPLE_PRIVATE_KEY:

"env": {
  "APPLE_KEY_ID": "TU_KEY_ID",
  "APPLE_ISSUER_ID": "TU_ISSUER_ID",
  "APPLE_PRIVATE_KEY_PATH": "/ruta/a/la/clave.p8"
}

If both are set, APPLE_PRIVATE_KEY takes precedence.

The server exchanges JSON-RPC messages over stdin and stdout. An idle terminal is expected.


Related MCP server: App Store Connect MCP Server

πŸ› οΈ Tools

All 12 tools are read-only.

Tool

Arguments

Returns

list_apps

β€”

Apps visible to the account: ID, name, bundle ID, SKU, and status

get_app

appId

One app

list_app_store_versions

appId

App Store versions, newest first

list_builds

appId

TestFlight builds, newest first

list_beta_groups

appId

TestFlight beta groups

list_customer_reviews

appId, limit (1–200, default 50)

Customer reviews

get_sales_report

appId, date (YYYY-MM-DD, defaults to yesterday)

Units and proceeds by currency

get_app_info_details

appId

App information: status, age rating, categories, and name, subtitle, and privacy policy by language

get_app_pricing

appId

Pricing by territory: customer price, developer proceeds, and currency

get_app_availability

appId

Availability by territory: whether the app is available, release date, pre-order details, and content statuses

get_in_app_purchases

appId

In-app purchases: name, product ID, type, and status

get_analytics

appId

App analytics report requests and the reports they produced


πŸ’¬ Example prompts

  • "Show me my app's latest TestFlight builds and their processing status."

  • "What themes recur in last week's one-star reviews?"

  • "Give me yesterday's sales report, broken down by currency."

  • "Which App Store versions has my app published, and what status is each one in?"

  • "In which countries is my app available, and how much does it cost in each?"

  • "What in-app purchases does my app currently have, and what status is each one in?"

  • "What is my app's age rating in each country?"


πŸ”‘ Environment variables

Variable

Required

Description

APPLE_KEY_ID

Yes

Key ID of the .p8 key

APPLE_ISSUER_ID

Yes

App Store Connect Issuer ID (team ID)

APPLE_PRIVATE_KEY

Yes*

PEM text of the .p8 key: real line breaks, \n escapes, or base64. Recommended

APPLE_PRIVATE_KEY_PATH

Yes*

Path to the .p8 file, as an alternative to APPLE_PRIVATE_KEY

APPLE_APP_ID

No

Restricts the server to one app (App Store Connect ID)

APPLE_BUNDLE_ID

No

Restricts the server to one app (bundle ID)

APPLE_APP_STORE_SKU

No

Restricts the server to one app (App Store ID)

APPLE_VENDOR_NUMBER

No

Vendor number. Required for get_sales_report

LOG_LEVEL

No

debug, info (default), warn, or error

* Configure one of the two: APPLE_PRIVATE_KEY (recommended) or APPLE_PRIVATE_KEY_PATH.

If you set multiple scope variables, every variable must identify the same app. The scope remains limited to that app. See NOTES.md for details.


πŸ’» Local development

git clone https://github.com/davidneyra2804/appstoreconnect-mcp.git
cd appstoreconnect-mcp
npm install
npm run build
npm test

Command

Purpose

npm run build

Compiles to dist/

npm start

Starts the server over stdio

npm run dev

Starts the server in development mode (tsx)

npm test

Runs the full suite offline without real credentials


πŸ”’ Guarantees

  • Read-only. The inventory lives in src/tools.ts. The test suite checks that the registered tools match it exactly and that the server exposes zero write tools.

  • Scope checks precede API requests. If you restrict the server to one app, it checks the scope before calling the API.

  • The protocol owns stdout. Diagnostics and traces go to stderr, and the server redacts secrets before writing logs.


πŸ“„ Further details

NOTES.md covers architecture, the sales report contract, the endpoint and limitations of each tool, npm publishing, troubleshooting, and a comparison with ryaker/appstore-connect-mcp, the project that inspired the design.

🀝 Contributing

Issues and pull requests are welcome. Use the issue tracker to report problems or propose changes. Submit code from a branch (feature/..., fix/...) in a pull request targeting main.

πŸ“„ License

MIT β€” LICENSE. Upstream attribution: NOTICE.

Available Tools

12 tools
get_analyticsA

Read the analytics report requests of an app. Read-only. Returns the report requests the account already holds for the app, with the access type, the stopped flag and the reports each request produced (name and category). This tool does not create report requests, because creating one is a write.

Inputs: appId (required).

get_appA

Read one app by its App Store Connect app id. Read-only. Returns the same fields as list_apps for a single app.

Inputs: appId (required).

get_app_availabilityA

Read the availability of an app by territory. Read-only. Returns one entry per territory with whether the app is available there, the release date, the pre-order state and the content statuses.

Inputs: appId (required).

get_app_info_detailsB

Read the App Store info of an app: state, age ratings, categories and the localised name, subtitle and privacy policy of every locale. Read-only. An app has one info per App Store version, so a live app returns the info of the live version and the info of the version that is being prepared.

Inputs: appId (required).

get_app_pricingA

Read the price points of an app. Read-only. A price point is the price of the app in one territory, so the result holds one entry per territory with the customer price, the developer proceeds and the currency of the territory.

Inputs: appId (required).

get_in_app_purchasesA

Read the in-app purchases of an app. Read-only. Covers consumables, non-consumables, non-renewing subscriptions and auto-renewable subscriptions. Returns the name, the product id, the type and the state of each one.

Inputs: appId (required).

get_sales_reportA

Read the daily sales report of an app, as developer proceeds per currency. Read-only. The date defaults to yesterday, because Apple generates the daily report the following day. Returns the report status (available, no sales, or not generated yet), the units sold, the developer proceeds per currency, and the breakdown by app. Requires APPLE_VENDOR_NUMBER to be configured.

Inputs: appId (required), date.

list_appsA

List the apps visible to the configured App Store Connect account. Read-only. Returns app id, name, bundle id, SKU and App Store state.

Inputs: no named parameters.

list_app_store_versionsB

List the App Store versions of an app, newest first. Read-only. Returns version string, platform, state, release type and dates.

Inputs: appId (required).

list_beta_groupsA

List the TestFlight beta groups of an app. Read-only. Returns group name, internal/external flag and public link settings.

Inputs: appId (required).

list_buildsA

List the TestFlight builds of an app, newest upload first. Read-only. Returns version, build number, processing state and upload date.

Inputs: appId (required).

list_customer_reviewsA

List the customer reviews of an app, newest first. Read-only. Returns rating, reviewer nickname, territory and review text.

Inputs: appId (required), limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 12 tools

    Disambiguation4/5

    Each tool targets a distinct App Store Connect resource (apps, versions, builds, beta groups, reviews, sales, pricing, availability, IAPs, analytics), so misselection is unlikely. The only soft overlap is between get_app, get_app_info_details and list_app_store_versions, which all describe app/version metadata, but the descriptions draw clear lines.

    Naming Consistency4/5

    All tools are snake_case with a list_/get_ verb prefix, giving a predictable read-oriented pattern. Minor deviations: get_app_info_details stacks a redundant 'details' suffix, and get_app_pricing / get_app_availability / get_analytics inconsistently include or omit the 'app' qualifier.

    Tool Count5/5

    Twelve tools sit squarely in the well-scoped 3-15 range, and each maps to a distinct read operation on a different App Store Connect resource. No tool feels padded or redundant.

    Completeness3/5

    The read surface is broad, but it is entirely read-only: no creating analytics report requests (explicitly noted), no writing reviews, pricing, availability or version metadata, and no listing of beta testers or subscription groups. Agents hitting a lifecycle action will dead-end, though the monitoring workflows covered are coherent.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers