Skip to main content
Glama

MCP Server for Apple App Store Connect API and App Store Server API

License: MIT Node.js TypeScript MCP npm version

Give Claude and other AI assistants full access to your iOS apps via the Model Context Protocol.

English | Português


What is this?

mcp-apple-store is a Model Context Protocol (MCP) server that connects AI assistants like Claude directly to Apple's developer APIs. Once configured, you can manage your iOS and macOS apps using plain English — no scripting or manual API calls required.

It wraps two official Apple APIs:

  • App Store Connect API — manage apps, TestFlight builds, provisioning profiles, in-app purchases, reviews, analytics, and submissions.

  • App Store Server API (StoreKit 2) — verify transactions, check subscription status, look up orders, and retrieve refund history.

Both APIs are exposed as 69+ MCP tools, each discoverable and callable by any MCP-compatible client.


Related MCP server: App Store Connect MCP

Features

  • 69+ MCP tools covering the full App Store Connect and App Store Server API surface

  • Transaction and subscription management — verify purchases, check active subscriptions, retrieve refund history

  • Full app lifecycle control — create versions, attach builds, submit for review, manage phased releases

  • TestFlight automation — list builds, manage beta testers and beta groups

  • Provisioning management — certificates, profiles, bundle IDs, and device registration

  • In-app purchase management — create and manage IAPs, subscription groups, and subscriptions

  • Customer review handling — list, respond to, and update review responses

  • Sales and finance reports — daily sales, subscription reports, and finance data

  • In-app events — create, update, and publish time-sensitive events

  • Setup wizard — interactive CLI to configure credentials in minutes

  • Built-in rate limiting — respects Apple's API limits with automatic retry and exponential backoff

  • Type-safe — full TypeScript with Zod validation on all inputs


Supported APIs and Tools

App Store Server API (StoreKit 2)

Tool

Description

get_subscription_status

Get subscription status for a transaction

check_active_subscription

Check if a user has an active subscription

get_subscription_by_product

Get subscription by product ID

get_transaction_history

Get a user's full transaction history

get_transaction_info

Get details for a specific transaction

lookup_order

Look up an order by order ID

get_refund_history

Get refund history for a user

verify_transaction

Verify the authenticity of a transaction

send_consumption_info

Send consumption data to Apple

request_test_notification

Trigger a test server notification

App Store Connect API

Tool

Description

connect_list_apps

List all apps in your account

connect_get_app

Get app details

connect_list_app_versions

List app versions

connect_get_app_info

Get app info with localizations

connect_create_app

Create a new app

connect_update_app

Update app settings

Tool

Description

connect_list_builds

List builds

connect_get_build

Get build details

connect_list_beta_testers

List beta testers

connect_add_beta_tester

Add a beta tester

connect_list_beta_groups

List beta groups

Tool

Description

connect_list_certificates

List signing certificates

connect_list_profiles

List provisioning profiles

connect_list_bundle_ids

List bundle IDs

connect_list_devices

List registered devices

connect_register_device

Register a new device

connect_create_bundle_id

Create a bundle ID

connect_enable_capability

Enable an app capability

Tool

Description

connect_list_iap

List in-app purchases

connect_get_iap

Get IAP details

connect_create_iap

Create an in-app purchase

connect_delete_iap

Delete an in-app purchase

connect_list_subscription_groups

List subscription groups

connect_get_subscription_group

Get subscription group details

connect_create_subscription_group

Create a subscription group

connect_delete_subscription_group

Delete a subscription group

connect_create_subscription

Create a subscription

connect_delete_subscription

Delete a subscription

connect_create_iap_localization

Create IAP localization

Tool

Description

connect_list_reviews

List customer reviews

connect_get_review

Get review details

connect_get_review_summary

Get review summary

connect_get_unanswered_reviews

Get unanswered reviews

connect_respond_to_review

Respond to a review

connect_update_review_response

Update a review response

connect_delete_review_response

Delete a review response

Tool

Description

connect_get_sales_report

Get sales reports

connect_get_daily_sales

Get daily sales data

connect_get_subscription_report

Get subscription reports

connect_get_finance_report

Get finance reports

Tool

Description

connect_list_events

List in-app events

connect_get_event

Get event details

connect_create_event

Create an in-app event

connect_update_event

Update an event

connect_delete_event

Delete an event

connect_create_event_localization

Create event localization

connect_get_active_events

Get active events

connect_get_draft_events

Get draft events

Tool

Description

connect_list_versions

List app versions

connect_get_version

Get version details

connect_create_version

Create a new version

connect_update_version

Update a version

connect_delete_version

Delete a version

connect_submit_for_review

Submit for App Store review

connect_cancel_submission

Cancel a submission

connect_attach_build

Attach a build to a version

connect_update_version_localization

Update version localization

connect_set_review_info

Set review information

connect_create_phased_release

Create a phased release

connect_update_phased_release

Update a phased release

connect_get_submission_status

Get submission status


Requirements

  • Node.js 18+

  • Apple Developer Program membership

  • App Store Connect API Key (with the appropriate role permissions)

API Key Permissions

Permission

Required for

App Manager

Apps, versions, submissions

Developer

TestFlight, builds

Admin

Users, provisioning

Finance

Sales reports, finance reports


Installation

# Clone the repository
git clone https://github.com/cristianoaredes/mcp-apple-store.git
cd mcp-apple-store

# Install dependencies
npm install

# Run the interactive setup wizard
npm run setup

# Build the project
npm run build

The setup wizard walks you through creating your API key in App Store Connect, writing the .env file, and configuring Claude Desktop or Claude Code automatically.

Manual Configuration

If you prefer to skip the wizard, create a .env file in the project root:

# App Store Connect API credentials (required)
APP_STORE_ISSUER_ID=your-issuer-id
APP_STORE_KEY_ID=your-key-id
APP_STORE_PRIVATE_KEY_PATH=./keys/AuthKey_XXXXXXXX.p8

# Your app identifiers (required)
APP_BUNDLE_ID=com.yourcompany.yourapp
APP_APPLE_ID=1234567890

# Environment: Production or Sandbox (optional, defaults to Sandbox)
APP_STORE_ENVIRONMENT=Sandbox

MCP Client Configuration

Claude Desktop

Add the following to your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "apple-store": {
      "command": "node",
      "args": ["/path/to/mcp-apple-store/dist/index.js"],
      "env": {
        "APP_STORE_ISSUER_ID": "your-issuer-id",
        "APP_STORE_KEY_ID": "your-key-id",
        "APP_STORE_PRIVATE_KEY_PATH": "/path/to/AuthKey.p8",
        "APP_BUNDLE_ID": "com.yourcompany.yourapp",
        "APP_APPLE_ID": "1234567890",
        "APP_STORE_ENVIRONMENT": "Sandbox"
      }
    }
  }
}

Claude Code (CLI)

{
  "mcpServers": {
    "apple-store": {
      "command": "node",
      "args": ["dist/index.js"],
      "cwd": "/path/to/mcp-apple-store",
      "env": {
        "APP_STORE_ISSUER_ID": "your-issuer-id",
        "APP_STORE_KEY_ID": "your-key-id",
        "APP_STORE_PRIVATE_KEY_PATH": "./keys/AuthKey.p8",
        "APP_BUNDLE_ID": "com.yourcompany.yourapp",
        "APP_APPLE_ID": "1234567890"
      }
    }
  }
}

Usage Examples

Once the MCP server is running and connected to your AI client, you can use plain English to interact with Apple's APIs.

List your apps:

List all my apps in App Store Connect

Check subscription status:

Check if the subscription with transaction ID 1000000123456789 is active

Create a subscription group:

Create a subscription group called "Premium" for app 6755709202

Create a subscription:

Create a monthly subscription called "Premium Monthly" with product ID
"com.app.premium_monthly" in subscription group 21841364

Get a sales report:

Get the sales report for the last 7 days

Register a test device:

Register my iPhone with UDID 00008101-001234567890001E as "Dev iPhone 15"

Respond to a review:

List unanswered reviews for my app and respond to the most recent one-star review

Submit for review:

Submit version 2.1.0 of my app for App Store review

Security

  • Never commit API keys — the keys/ directory is gitignored.

  • Use environment variables — the .env file is also gitignored.

  • Least privilege — create API keys with only the roles you actually need.

  • Rotate keys regularly, especially in production.


Development

# Type checking
npm run typecheck

# Run tests
npm test
npm run test:run
npm run test:coverage

# Lint
npm run lint

# Watch mode
npm run dev

Troubleshooting

"The specified resource does not exist" This usually means a malformed API URL. Ensure you are running the latest version.

"403 Forbidden" on app creation Apple restricts programmatic app creation for some accounts. Create the app manually in App Store Connect first, then use this server for everything else.

Rate limiting The server includes built-in rate limiting (3,600 requests/hour for the Connect API). Requests beyond this threshold are retried automatically with exponential backoff.

JWT errors

  • Verify your Issuer ID (App Store Connect > Users and Access > Integrations > Keys)

  • Confirm your Key ID matches the downloaded .p8 file

  • Check that APP_STORE_PRIVATE_KEY_PATH points to a readable file


Contributing

Contributions are welcome. Please read CONTRIBUTING.md for guidelines.

  1. Fork the repository

  2. Create a feature branch: git checkout -b feature/my-feature

  3. Commit your changes: git commit -m "add my feature"

  4. Push to the branch: git push origin feature/my-feature

  5. Open a Pull Request

See ROADMAP.md for planned features and good first contributions.


License

MIT — see LICENSE for details.


Built for the Apple developer community.

By Cristiano Arêdes

Available Tools

73 tools
check_active_subscriptionB

Check if a customer has any active subscriptions. Quick way to verify subscription status for access control.

Inputs: transactionId (required).

connect_add_beta_testerB

Add a new beta tester to TestFlight. Optionally assign to beta groups.

Inputs: email (required), lastName, firstName, betaGroupIds.

connect_attach_buildC

Attach a build to an App Store version

Inputs: buildId (required), versionId (required).

connect_cancel_submissionC

Cancel a pending App Store submission

Inputs: submissionId (required).

connect_create_appA

Create a new app in App Store Connect. IMPORTANT: You must first create a Bundle ID using connect_create_bundle_id, then use the returned bundleIdResourceId here. Steps: 1) connect_create_bundle_id 2) connect_create_app with the bundleIdResourceId

Inputs: sku (required), name (required), bundleId (required), primaryLocale (required), +1 more.

connect_create_bundle_idA

Register a new Bundle ID in App Store Connect. This is the FIRST STEP before creating an app. Returns the Bundle ID resource ID needed for app creation.

Inputs: name (required), platform (required), identifier (required).

connect_create_eventC

Create a new in-app promotional event

Inputs: appId (required), badge (required), purpose (required), deepLink (required), +8 more.

connect_create_event_localizationC

Create a localization for an in-app event

Inputs: name (required), locale (required), eventId (required), shortDescription (required), +1 more.

connect_create_iapB

Create an in-app purchase (consumable, non-consumable, or non-renewing subscription). After creation, add localizations with connect_create_iap_localization.

Inputs: name (required), type (required), appId (required), productId (required), +3 more.

connect_create_iap_localizationB

Create a localization for an in-app purchase. Add display name and description for a specific locale (e.g., "en-US", "pt-BR").

Inputs: name (required), iapId (required), locale (required), description.

connect_create_phased_releaseC

Create a phased release for gradual rollout

Inputs: versionId (required).

connect_create_subscriptionC

Create an auto-renewable subscription within a subscription group. Set groupLevel for upgrade/downgrade behavior (1 = highest tier).

Inputs: name (required), groupId (required), productId (required), subscriptionPeriod (required), +4 more.

connect_create_subscription_groupC

Create a subscription group. Subscription groups organize auto-renewable subscriptions and control upgrade/downgrade behavior.

Inputs: appId (required), referenceName (required).

connect_create_versionC

Create a new App Store version

Inputs: appId (required), versionString (required), buildId, platform, +3 more.

connect_delete_eventC

Delete an in-app event

Inputs: eventId (required).

connect_delete_iapA

Delete an in-app purchase. Only works for IAPs not yet submitted.

Inputs: iapId (required).

connect_delete_review_responseC

Delete a response to a customer review.

Inputs: responseId (required).

connect_delete_subscriptionA

Delete a subscription. Only works for subscriptions not yet submitted.

Inputs: subscriptionId (required).

connect_delete_subscription_groupA

Delete a subscription group. Only works if group has no subscriptions.

Inputs: groupId (required).

connect_delete_versionA

Delete an App Store version (only PREPARE_FOR_SUBMISSION state)

Inputs: versionId (required).

connect_enable_capabilityA

Enable a capability for a Bundle ID. Use after creating a Bundle ID to add features like Push Notifications, In-App Purchase, etc.

Inputs: bundleIdId (required), capabilityType (required).

connect_get_active_eventsB

Get all active/published events for an app

Inputs: appId (required).

connect_get_appC

Get detailed information about a specific app by ID. Can include beta groups and builds.

Inputs: appId (required), includeBuilds, includeBetaGroups.

connect_get_app_infoB

Get app info including age ratings, categories, and localized information.

Inputs: appId (required), includeLocalizations.

connect_get_buildC

Get detailed information about a specific build.

Inputs: buildId (required), includeApp, includeBetaGroups.

connect_get_daily_salesC

Get daily sales summary for a specific date. Simplified version of sales report.

Inputs: date (required), vendorNumber (required).

connect_get_draft_eventsA

Get all draft events for an app

Inputs: appId (required).

connect_get_eventC

Get details of a specific in-app event

Inputs: eventId (required), includeLocalizations.

connect_get_finance_reportC

Get finance report with payment and earnings details by region.

Inputs: regionCode (required), reportDate (required), vendorNumber (required), reportType.

connect_get_iapB

Get detailed information about a specific in-app purchase.

Inputs: iapId (required), includeLocalizations.

connect_get_reviewC

Get detailed information about a specific customer review.

Inputs: reviewId (required), includeResponse.

connect_get_review_summaryA

Get rating distribution, metrics, and insights for app reviews. Shows average rating, counts by star, unanswered reviews, and recommendations.

Inputs: appId (required).

connect_get_sales_reportB

Get sales report with customizable parameters. Returns revenue, units, and breakdown by product/country/device.

Inputs: reportDate (required), vendorNumber (required), frequency, reportType, +1 more.

connect_get_submission_statusB

Get overall submission status for an app (preparation, review, pending release)

Inputs: appId (required).

connect_get_subscription_groupC

Get subscription group details including all subscriptions in the group.

Inputs: groupId (required), includeSubscriptions.

connect_get_subscription_reportC

Get subscription-specific sales report with subscriber details.

Inputs: date (required), vendorNumber (required).

connect_get_unanswered_reviewsB

Get reviews that have not been responded to. Useful for customer support to prioritize responses.

Inputs: appId (required), maxRating, minRating.

connect_get_versionC

Get details of a specific App Store version

Inputs: versionId (required), includeBuild, includeLocalizations.

connect_invite_userC

Invite a new user to App Store Connect team. Assign roles and app access.

Inputs: email (required), roles (required), lastName (required), firstName (required), +3 more.

connect_list_appsB

List all apps in App Store Connect. Returns app name, bundle ID, SKU, and settings.

Inputs: name, limit, bundleId.

connect_list_app_versionsB

List App Store versions for an app. Shows version strings, states, and release information.

Inputs: appId (required), limit, state, platform.

connect_list_beta_groupsB

List TestFlight beta groups. Shows internal and external groups with public links.

Inputs: name, appId, limit, isInternalGroup.

connect_list_beta_testersB

List TestFlight beta testers. Filter by email, name, or beta group.

Inputs: email, limit, lastName, firstName, +1 more.

connect_list_buildsA

List TestFlight builds. Filter by app, version, processing state, or expiration.

Inputs: appId, limit, expired, version, +1 more.

connect_list_bundle_idsB

List registered bundle IDs. Shows identifiers, names, and platforms.

Inputs: name, limit, platform, identifier.

connect_list_certificatesA

List signing certificates. Shows development and distribution certificates with expiration status.

Inputs: limit, displayName, certificateType.

connect_list_devicesB

List registered devices. Shows UDIDs, device classes, and status.

Inputs: name, udid, limit, status, +1 more.

connect_list_eventsB

List in-app promotional events for an app. Filter by state (DRAFT, PUBLISHED, etc.)

Inputs: appId (required), limit, eventState, includeLocalizations.

connect_list_iapB

List in-app purchases for an app. Shows consumables, non-consumables, and non-renewing subscriptions.

Inputs: appId (required), type, limit, state, +1 more.

connect_list_profilesB

List provisioning profiles. Shows development, App Store, and ad-hoc profiles with status.

Inputs: name, limit, profileType, profileState.

connect_list_reviewsB

List customer reviews for an app. Filter by rating, territory, and sort by date or rating.

Inputs: appId (required), sort, limit, rating, +2 more.

connect_list_subscription_groupsB

List auto-renewable subscription groups for an app. Shows group names and subscription counts.

Inputs: appId (required), limit, referenceName.

connect_list_usersB

List team users in App Store Connect. Shows roles, permissions, and app access.

Inputs: role, limit, username.

connect_list_versionsC

List App Store versions for an app. Filter by platform and state.

Inputs: appId (required), limit, platform, includeBuild, +2 more.

connect_register_deviceB

Register a new device for development. Required for ad-hoc and development builds.

Inputs: name (required), udid (required), platform (required).

connect_respond_to_reviewA

Post a response to a customer review. Response appears publicly after Apple approval.

Inputs: reviewId (required), responseBody (required).

connect_set_review_infoB

Set App Store review information (demo account, contact info, notes)

Inputs: versionId (required), notes, contactEmail, contactPhone, +6 more.

connect_submit_for_reviewC

Submit an App Store version for Apple review

Inputs: versionId (required).

connect_update_appC

Update an existing app settings like locale, territories availability, and content rights.

Inputs: appId (required), primaryLocale, contentRightsDeclaration, availableInNewTerritories.

connect_update_eventC

Update an existing in-app event

Inputs: eventId (required), badge, purpose, deepLink, +2 more.

connect_update_phased_releaseC

Update phased release state (pause, resume, complete)

Inputs: state (required), phasedReleaseId (required).

connect_update_review_responseC

Update an existing response to a customer review.

Inputs: responseId (required), responseBody (required).

connect_update_versionC

Update an existing App Store version

Inputs: versionId (required), copyright, releaseType, versionString, +1 more.

connect_update_version_localizationB

Update App Store version localization (description, what's new, keywords)

Inputs: localizationId (required), keywords, whatsNew, supportUrl, +3 more.

get_refund_historyB

Get all refunded transactions for a customer. Use to audit refunds and detect abuse patterns.

Inputs: transactionId (required).

get_subscription_by_productB

Get subscription information for a specific product. Useful when you need to check status of a particular subscription tier.

Inputs: productId (required), transactionId (required).

get_subscription_statusA

Get all subscription statuses for a customer. Returns detailed information about each subscription including status, expiration date, auto-renew settings, and more.

Inputs: transactionId (required), status.

get_transaction_historyC

Get complete purchase history for a customer. Supports filtering by product type, date range, and product ID. Returns decoded transaction details.

Inputs: transactionId (required), sort, endDate, maxPages, +3 more.

get_transaction_infoA

Get detailed information about a specific transaction. Returns decoded transaction data including product, dates, price, and refund status.

Inputs: transactionId (required).

lookup_orderB

Look up all transactions associated with an order ID. Useful when you have an order ID from a receipt.

Inputs: orderId (required).

request_test_notificationA

Request a test notification from Apple to verify webhook configuration. Returns a token that will be included in the test notification.

Inputs: no named parameters.

send_consumption_infoA

Send consumption information for a consumable in-app purchase. Required when Apple requests consumption data for refund evaluation.

Inputs: platform (required), transactionId (required), deliveryStatus (required), consumptionStatus (required), +2 more.

verify_transactionB

Verify if a transaction is valid and not refunded. Quick validation for access control decisions.

Inputs: transactionId (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 73 tools

    Disambiguation3/5

    Most tools target distinct resources, but several near-duplicates exist: connect_list_app_versions and connect_list_versions both 'List App Store versions for an app', connect_get_app_info vs connect_get_app, connect_get_active_events/connect_get_draft_events vs connect_list_events (filter by state), and get_subscription_status vs check_active_subscription. Descriptions help, but an agent can plausibly misselect between the duplicated listing/getter pairs.

    Naming Consistency4/5

    Within each surface the verb_noun pattern is consistent (list_/get_/create_/update_/delete_ + resource). The two prefixes are meaningful rather than chaotic: connect_* = App Store Connect API, unprefixed = App Store Server API (transactions, subscriptions, refunds). Only minor deviations like request_test_notification and send_consumption_info break the strict verb_noun mold.

    Tool Count2/5

    73 tools is heavy even for a genuinely broad domain spanning apps, versions, builds, testers, certificates, profiles, users, IAPs, subscriptions, events, reviews, sales and server-side transactions. Several tools are thin convenience wrappers (get_daily_sales, check_active_subscription, get_active_events/get_draft_events) that could collapse into existing list/filter tools.

    Completeness3/5

    Core workflows (create app via bundle ID, versions, submit for review, IAPs, subscriptions, events, reviews, sales, transaction lookup/verification) are well covered. However there are notable lifecycle gaps: no remove_beta_tester, no delete_bundle_id/device/certificate/profile, no update or localization-delete for IAPs, and no subscription update. Agents will hit dead ends on cleanup and revocation tasks.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers