Submit

App Store Connect MCP Server

@zelentsov-dev

MCP server for App Store Connect API with 208 tools across 25 workers. Manage apps, builds, TestFlight, in-app purchases, subscriptions, reviews, provisioning, screenshots, analytics, and more - directly from Claude, Cursor, VS Code, or any MCP client. Multi-account support, worker filtering, JWT auth.
Overview

App Store Connect MCP Server

A Model Context Protocol server for the App Store Connect API.
Manage apps, builds, TestFlight, reviews, and more — directly from Claude.

Swift 6.2+ macOS 14.0+ MCP Compatible MIT License CI

Works with:
Claude Code Claude Desktop VS Code Cursor Windsurf Codex CLI Gemini CLI


Overview

asc-mcp is a Swift-based MCP server that bridges Claude (or any MCP-compatible host) with the App Store Connect API. It exposes 208 tools across 25 workers, enabling you to automate your entire iOS/macOS release workflow through natural language.

Key capabilities

  • Multi-account — manage multiple App Store Connect teams from a single server
  • Full release pipeline — create versions, attach builds, submit for review, phased rollout
  • TestFlight automation — beta groups, testers, build distribution, localized What's New
  • Build management — track processing, encryption compliance, readiness checks
  • Customer reviews — list, respond, update, delete responses, aggregate statistics
  • In-app purchases — CRUD for IAPs, localizations, price points, review screenshots
  • Subscriptions — subscription CRUD, groups, localizations, prices, offer codes, win-back offers
  • Provisioning — bundle IDs, devices, certificates, profiles, capabilities
  • Marketing — screenshots, app previews, custom product pages, A/B testing (PPO), promoted purchases
  • Analytics & Metrics — sales/financial reports, analytics reports, performance metrics, diagnostics
  • Metadata management — localized descriptions, keywords, What's New across all locales

Quick Start

# 1. Install via Mint
brew install mint
mint install zelentsov-dev/asc-mcp@1.4.0

# 2. Add to Claude Code with env vars (simplest setup)
claude mcp add asc-mcp \
  -e ASC_KEY_ID=XXXXXXXXXX \
  -e ASC_ISSUER_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \
  -e ASC_PRIVATE_KEY_PATH=/path/to/AuthKey.p8 \
  -- ~/.mint/bin/asc-mcp

Or use a JSON config file — see Configuration below.

Prerequisites

RequirementVersion
macOS14.0+ (Sonoma)
Swift6.2+
Xcode16.0+ (for building)
App Store Connect API KeyCreate one here

Installation

Mint is the simplest way to install — one command, no manual cloning.

# Install Mint (if you don't have it)
brew install mint

# Install asc-mcp from GitHub
mint install zelentsov-dev/asc-mcp@1.4.0

# Register in Claude Code
claude mcp add asc-mcp -- ~/.mint/bin/asc-mcp

To install a specific branch or tag:

mint install zelentsov-dev/asc-mcp@main      # main branch
mint install zelentsov-dev/asc-mcp@develop    # develop branch
mint install zelentsov-dev/asc-mcp@1.4.0      # specific tag

To update to the latest version:

mint install zelentsov-dev/asc-mcp@1.4.0 --force

Option B: Build from Source

git clone https://github.com/zelentsov-dev/asc-mcp.git
cd asc-mcp
swift build -c release

# Register in Claude Code
claude mcp add asc-mcp -- $(pwd)/.build/release/asc-mcp

TIP

For convenience, copy the binary to a location in your PATH:

cp .build/release/asc-mcp /usr/local/bin/asc-mcp

Configuration

1. App Store Connect API Key

  1. Go to App Store Connect → Users and Access → Integrations → Team Keys
  2. Click Generate API Key — select appropriate role (Admin or App Manager recommended)
  3. Download the .p8 private key file (you can only download it once!)
  4. Note the Key ID and Issuer ID

2. Companies Configuration

asc-mcp supports three configuration methods (checked in this order):

Single company — simplest setup:

export ASC_KEY_ID=XXXXXXXXXX
export ASC_ISSUER_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export ASC_PRIVATE_KEY_PATH=/path/to/AuthKey.p8
# or pass the key content directly:
# export ASC_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nMIGT..."
# optional:
# export ASC_COMPANY_NAME="My Company"
# export ASC_VENDOR_NUMBER=YOUR_VENDOR_NUMBER          # for analytics

Multiple companies — numbered variables:

export ASC_COMPANY_1_NAME="My Company"
export ASC_COMPANY_1_KEY_ID=XXXXXXXXXX
export ASC_COMPANY_1_ISSUER_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export ASC_COMPANY_1_KEY_PATH=/path/to/AuthKey1.p8
export ASC_COMPANY_1_VENDOR_NUMBER=YOUR_VENDOR_NUMBER   # optional, for analytics

export ASC_COMPANY_2_NAME="Client Corp"
export ASC_COMPANY_2_KEY_ID=YYYYYYYYYY
export ASC_COMPANY_2_ISSUER_ID=yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
export ASC_COMPANY_2_KEY_PATH=/path/to/AuthKey2.p8

Numbering starts at 1. The server scans while ASC_COMPANY_{N}_KEY_ID exists.

Option B: JSON Config File

Create ~/.config/asc-mcp/companies.json:

{
  "companies": [
    {
      "id": "my-company",
      "name": "My Company",
      "key_id": "XXXXXXXXXX",
      "issuer_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "key_path": "/Users/you/.keys/AuthKey_XXXXXXXXXX.p8",
      "vendor_number": "YOUR_VENDOR_NUMBER"
    },
    {
      "id": "client-company",
      "name": "Client Corp",
      "key_id": "YYYYYYYYYY",
      "issuer_id": "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy",
      "key_path": "/Users/you/.keys/AuthKey_YYYYYYYYYY.p8",
      "vendor_number": "YOUR_VENDOR_NUMBER"
    }
  ]
}

Note: vendor_number is required for analytics tools (analytics_sales_report, analytics_financial_report, analytics_app_summary). Find it in App Store Connect → Sales and Trends → Reports.

Configuration Priority

The server resolves configuration in this order:

  1. --companies /path/to/companies.json (CLI argument)
  2. Constructor parameter (programmatic)
  3. ASC_MCP_COMPANIES=/path/to/companies.json (env var pointing to JSON file)
  4. Default JSON file paths (~/.config/asc-mcp/companies.json, etc.)
  5. ASC_COMPANY_1_KEY_ID ... (multi-company env vars)
  6. ASC_KEY_ID + ASC_ISSUER_ID (single-company env vars)

3. MCP Host Configuration

Claude Code (CLI)
claude mcp add asc-mcp -- ~/.mint/bin/asc-mcp

Or add to .mcp.json (project) / .claude/settings.json (global) with env vars:

{
  "mcpServers": {
    "asc-mcp": {
      "command": "/path/to/asc-mcp",
      "env": {
        "ASC_KEY_ID": "XXXXXXXXXX",
        "ASC_ISSUER_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "ASC_PRIVATE_KEY_PATH": "/path/to/AuthKey.p8"
      }
    }
  }
}
Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "asc-mcp": {
      "command": "/path/to/asc-mcp",
      "env": {
        "ASC_KEY_ID": "XXXXXXXXXX",
        "ASC_ISSUER_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "ASC_PRIVATE_KEY_PATH": "/path/to/AuthKey.p8"
      }
    }
  }
}
Codex CLI

Add to ~/.codex/config.toml:

[mcp_servers.asc-mcp]
command = "/path/to/asc-mcp"
startup_timeout_sec = 20
tool_timeout_sec = 60
enabled = true

Set env vars in your shell or use a wrapper script.

Gemini CLI

Add to ~/.gemini/settings.json:

{
  "mcpServers": {
    "asc-mcp": {
      "command": "/path/to/asc-mcp",
      "timeout": 60000,
      "env": {
        "ASC_KEY_ID": "XXXXXXXXXX",
        "ASC_ISSUER_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "ASC_PRIVATE_KEY_PATH": "/path/to/AuthKey.p8"
      }
    }
  }
}
VS Code (Copilot / Continue)

Add to .vscode/mcp.json:

{
  "servers": {
    "asc-mcp": {
      "command": "/path/to/asc-mcp",
      "env": {
        "ASC_KEY_ID": "XXXXXXXXXX",
        "ASC_ISSUER_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "ASC_PRIVATE_KEY_PATH": "/path/to/AuthKey.p8"
      }
    }
  }
}
Cursor

Add to Cursor settings → MCP Servers:

{
  "mcpServers": {
    "asc-mcp": {
      "command": "/path/to/asc-mcp",
      "env": {
        "ASC_KEY_ID": "XXXXXXXXXX",
        "ASC_ISSUER_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "ASC_PRIVATE_KEY_PATH": "/path/to/AuthKey.p8"
      }
    }
  }
}
Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "asc-mcp": {
      "command": "/path/to/asc-mcp",
      "args": ["--workers", "apps,builds,versions,reviews,beta_groups,iap"],
      "env": {
        "ASC_KEY_ID": "XXXXXXXXXX",
        "ASC_ISSUER_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "ASC_PRIVATE_KEY_PATH": "/path/to/AuthKey.p8"
      }
    }
  }
}

Note: Windsurf has a 100-tool limit. The server exposes ~109 tools by default, so you must use --workers to select a subset. See Worker Filtering below.

IMPORTANT

If the MCP host doesn't inherit your shell PATH, you may need to specify the full path to the binary and ensure .p8 key paths are absolute.

Worker Filtering

The server exposes 208 tools across 25 workers. Some MCP clients impose a tool limit (e.g., Windsurf caps at 100). Use --workers to enable only the workers you need:

# Only load apps, builds, and version lifecycle tools
asc-mcp --workers apps,builds,versions

# Full release workflow subset (~60 tools, fits within any client limit)
asc-mcp --workers apps,builds,versions,reviews,beta_groups,iap

# Monetization focus
asc-mcp --workers apps,iap,subscriptions,offer_codes,winback,pricing,promoted

company and auth workers are always enabled regardless of the filter (they provide core multi-account and authentication functionality).

When builds is enabled, it automatically includes build_processing and build_beta sub-workers.

Available worker names:

WorkerPrefixToolsDescription
appsapps_9App listing, metadata, localizations
buildsbuilds_4Build management
build_processingbuilds_*_processing_4Build states, encryption
build_betabuilds_*_beta_8TestFlight localizations, notifications
versionsapp_versions_13Version lifecycle, submit, release
reviewsreviews_7Customer reviews and responses
beta_groupsbeta_groups_9TestFlight groups
beta_testersbeta_testers_6Tester management
iapiap_17In-app purchases, prices, review screenshots
subscriptionssubscriptions_15Subscription CRUD, groups, localizations, prices
offer_codesoffer_codes_7Subscription offer codes, one-time codes
winbackwinback_5Win-back offers for subscriptions
provisioningprovisioning_17Bundle IDs, devices, certificates
app_infoapp_info_7App info, categories
pricingpricing_6Territories, pricing
usersusers_7Team members, roles
app_eventsapp_events_9In-app events, localizations
analyticsanalytics_11Sales/financial reports, analytics
screenshotsscreenshots_12Screenshots, previews, sets
custom_pagescustom_pages_10Custom product pages
ppoppo_9Product page optimization (A/B tests)
promotedpromoted_5Promoted in-app purchases
metricsmetrics_4Performance metrics, diagnostics

Token Cost

When connected to an LLM client, tool definitions consume context tokens. Here's the approximate footprint:

ConfigurationTools~Tokens
All workers (default)208~24,000
Release workflow: apps,builds,versions,reviews~40~5,500
Monetization: apps,iap,subscriptions,pricing~54~6,500
TestFlight: apps,builds,beta_groups,beta_testers~34~4,500
Marketing: apps,screenshots,custom_pages,ppo,promoted~46~5,800
--workers apps16~1,850

Heaviest workers: Provisioning (17 tools), InAppPurchases (17 tools), Subscriptions (15 tools), AppLifecycle (13 tools), Screenshots (12 tools).

For Claude (200K context) ~22K tokens is ~5–7% — negligible. For clients with smaller context windows, use --workers to reduce the footprint.

Available Tools

208 tools organized across 25 workers (use --workers to filter — see Worker Filtering):

Company Management — 3 tools
ToolDescription
company_listList all configured companies
company_switchSwitch active company for API operations
company_currentGet current active company info
Authentication — 4 tools
ToolDescription
auth_generate_tokenGenerate JWT token for API access
auth_validate_tokenValidate an existing JWT token
auth_refresh_tokenForce refresh JWT token
auth_token_statusGet JWT token cache status
Apps Management — 9 tools
ToolDescription
apps_listList all applications with filtering
apps_get_detailsGet detailed app information
apps_searchSearch apps by name or Bundle ID
apps_list_versionsList all versions with states
apps_get_metadataGet localized metadata for a version
apps_update_metadataUpdate metadata (What's New, description, etc.)
apps_list_localizationsList localizations with content status
apps_create_localizationCreate a new localization for a version
apps_delete_localizationDelete a localization from a version
Builds — 4 tools
ToolDescription
builds_listList builds with processing states
builds_getGet detailed build information
builds_find_by_numberFind build by version number
builds_list_for_versionGet builds for specific app version
Build Processing — 4 tools
ToolDescription
builds_get_processing_stateGet current processing state
builds_update_encryptionSet encryption compliance
builds_get_processing_statusGet detailed processing status
builds_check_readinessCheck if build is ready for submission
TestFlight Beta Details — 8 tools
ToolDescription
builds_get_beta_detailGet TestFlight configuration for build
builds_update_beta_detailUpdate TestFlight settings
builds_set_beta_localizationSet What's New for TestFlight
builds_list_beta_localizationsList all TestFlight localizations
builds_get_beta_groupsGet beta groups for a build
builds_get_beta_testersGet individual testers for a build
builds_send_beta_notificationSend notification to beta testers
builds_add_beta_groupAdd build to beta group
TestFlight Beta Groups — 9 tools
ToolDescription
beta_groups_listList TestFlight beta groups for an app
beta_groups_createCreate a new beta group
beta_groups_updateUpdate beta group settings
beta_groups_deleteDelete a beta group
beta_groups_add_testersAdd testers to a beta group
beta_groups_remove_testersRemove testers from a beta group
beta_groups_list_testersList testers in a beta group
beta_groups_add_buildsAdd builds to a beta group
beta_groups_remove_buildsRemove builds from a beta group
App Version Lifecycle — 13 tools
ToolDescription
app_versions_createCreate a new app version
app_versions_listList versions with state filtering
app_versions_getGet detailed version information
app_versions_updateUpdate version attributes
app_versions_attach_buildAttach build to version
app_versions_submit_for_reviewSubmit for App Store review
app_versions_cancel_reviewCancel ongoing review
app_versions_releaseRelease approved version
app_versions_create_phased_releaseCreate gradual rollout
app_versions_get_phased_releaseGet phased release info and ID
app_versions_update_phased_releasePause/resume/complete rollout
app_versions_set_review_detailsSet reviewer contact info
app_versions_update_age_ratingConfigure age rating declaration
Customer Reviews — 7 tools
ToolDescription
reviews_listGet reviews with filtering and pagination
reviews_getGet specific review details
reviews_list_for_versionGet reviews for a specific version
reviews_statsAggregated review statistics
reviews_create_responseRespond to a customer review
reviews_delete_responseDelete a response
reviews_get_responseGet response for a review
In-App Purchases — 17 tools
ToolDescription
iap_listList in-app purchases for an app
iap_getGet IAP details
iap_createCreate a new IAP (consumable, non-consumable, subscription)
iap_updateUpdate IAP attributes
iap_deleteDelete an in-app purchase
iap_list_localizationsList IAP localizations
iap_create_localizationCreate IAP localization
iap_update_localizationUpdate IAP localization
iap_delete_localizationDelete IAP localization
iap_submit_for_reviewSubmit IAP for review
iap_list_subscriptionsList subscription groups
iap_get_subscription_groupGet subscription group details
iap_list_price_pointsList available price points
iap_get_price_scheduleGet price schedule
iap_set_price_scheduleSet price schedule
iap_get_review_screenshotGet review screenshot
iap_create_review_screenshotCreate review screenshot
Subscriptions — 15 tools
ToolDescription
subscriptions_listList subscriptions in a group
subscriptions_getGet subscription details
subscriptions_createCreate a new subscription
subscriptions_updateUpdate subscription
subscriptions_deleteDelete subscription
subscriptions_list_localizationsList subscription localizations
subscriptions_create_localizationCreate localization
subscriptions_update_localizationUpdate localization
subscriptions_delete_localizationDelete localization
subscriptions_list_pricesList subscription prices
subscriptions_list_price_pointsList available price points
subscriptions_create_groupCreate subscription group
subscriptions_update_groupUpdate subscription group
subscriptions_delete_groupDelete subscription group
subscriptions_submitSubmit subscription for review
Offer Codes — 7 tools
ToolDescription
offer_codes_listList offer code configurations
offer_codes_createCreate offer code configuration
offer_codes_updateUpdate offer code (enable/disable)
offer_codes_deactivateDeactivate all codes
offer_codes_list_pricesList prices for an offer code
offer_codes_generate_one_timeGenerate one-time use codes (up to 10K)
offer_codes_list_one_timeList generated one-time codes
Win-Back Offers — 5 tools
ToolDescription
winback_listList win-back offers
winback_createCreate a win-back offer
winback_updateUpdate a win-back offer
winback_deleteDelete a win-back offer
winback_list_pricesList win-back offer prices
Provisioning — 17 tools
ToolDescription
provisioning_list_bundle_idsList registered bundle identifiers
provisioning_get_bundle_idGet bundle ID details
provisioning_create_bundle_idRegister a new bundle identifier
provisioning_delete_bundle_idDelete a bundle identifier
provisioning_list_devicesList registered devices
provisioning_register_deviceRegister a new device (UDID)
provisioning_update_deviceUpdate device name or status
provisioning_list_certificatesList signing certificates
provisioning_get_certificateGet certificate details
provisioning_revoke_certificateRevoke a certificate
provisioning_list_profilesList provisioning profiles
provisioning_get_profileGet profile details
provisioning_delete_profileDelete a profile
provisioning_create_profileCreate a provisioning profile
provisioning_list_capabilitiesList bundle ID capabilities
provisioning_enable_capabilityEnable a capability
provisioning_disable_capabilityDisable a capability
Screenshots & Previews — 12 tools
ToolDescription
screenshots_list_setsList screenshot sets
screenshots_create_setCreate a screenshot set
screenshots_delete_setDelete a screenshot set
screenshots_listList screenshots in a set
screenshots_createReserve a screenshot upload
screenshots_deleteDelete a screenshot
screenshots_reorderReorder screenshots in a set
screenshots_list_preview_setsList app preview sets
screenshots_create_preview_setCreate a preview set
screenshots_delete_preview_setDelete a preview set
screenshots_create_previewReserve a preview upload
screenshots_delete_previewDelete a preview
Custom Product Pages — 10 tools
ToolDescription
custom_pages_listList custom product pages
custom_pages_getGet page details
custom_pages_createCreate a custom page
custom_pages_updateUpdate a custom page
custom_pages_deleteDelete a custom page
custom_pages_list_versionsList page versions
custom_pages_create_versionCreate a page version
custom_pages_list_localizationsList version localizations
custom_pages_create_localizationCreate a localization
custom_pages_update_localizationUpdate a localization
Product Page Optimization (A/B Tests) — 9 tools
ToolDescription
ppo_list_experimentsList A/B test experiments
ppo_get_experimentGet experiment details
ppo_create_experimentCreate an experiment
ppo_update_experimentUpdate/start/stop experiment
ppo_delete_experimentDelete an experiment
ppo_list_treatmentsList experiment treatments
ppo_create_treatmentCreate a treatment variant
ppo_list_treatment_localizationsList treatment localizations
ppo_create_treatment_localizationCreate treatment localization
Promoted Purchases — 5 tools
ToolDescription
promoted_listList promoted purchases for an app
promoted_getGet promotion details
promoted_createCreate a promotion
promoted_updateUpdate promotion (visibility/order)
promoted_deleteDelete a promotion
Performance Metrics — 4 tools
ToolDescription
metrics_app_perfGet app performance/power metrics
metrics_build_perfGet build performance metrics
metrics_build_diagnosticsList diagnostics for a build
metrics_get_diagnostic_logsGet diagnostic logs

Usage Examples

Complete Release Workflow

You: "Release version 2.1.0 of my app with build 456"

Claude will:
1. app_versions_create(app_id, platform: "IOS", version_string: "2.1.0")
2. app_versions_attach_build(version_id, build_id)
3. app_versions_set_review_details(version_id, contact_email: "...")
4. app_versions_submit_for_review(version_id)
5. app_versions_create_phased_release(version_id)  # after approval

TestFlight Distribution

You: "Create a beta group 'External Testers' and distribute the latest build"

Claude will:
1. beta_groups_create(app_id, name: "External Testers")
2. builds_list(app_id, limit: 1)  # find latest
3. builds_set_beta_localization(build_id, locale: "en-US", whats_new: "...")
4. beta_groups_add_testers(group_id, tester_ids: [...])

Review Management

You: "Show me all 1-star reviews from the last week and draft responses"

Claude will:
1. reviews_list(app_id, rating: 1, sort: "-createdDate", limit: 50)
2. reviews_create_response(review_id, response_body: "...")  # for each

Multi-Company Workflow

You: "Switch to ClientCorp and check their latest build status"

Claude will:
1. company_switch(company: "ClientCorp")
2. apps_list(limit: 5)
3. builds_list(app_id, limit: 1)
4. builds_get_processing_state(build_id)

API Constraints

ConstraintDetails
No emojisMetadata fields (What's New, Description, Keywords) must not contain emoji characters
Version stateOnly versions in PREPARE_FOR_SUBMISSION state can be edited
JWT expiryTokens expire after 20 minutes — the server auto-refreshes them
Rate limitsApple enforces per-account rate limits (documentation)
Locale formatUse standard codes: en-US, ru, de-DE, ja, zh-Hans

Architecture

Sources/asc-mcp/
├── EntryPoint.swift                # Entry point, --workers filtering
├── Core/
│   ├── Application.swift           #   MCP server setup & initialization
│   └── ASCError.swift              #   Custom error types
├── Helpers/                        # JSON formatting, pagination, safe helpers
├── Models/                         # API request/response models
│   ├── AppStoreConnect/            #   Apps, versions, localizations
│   ├── Builds/                     #   Builds, beta details, beta groups
│   ├── AppLifecycle/               #   Version lifecycle models
│   ├── InAppPurchases/             #   IAP models
│   ├── Subscriptions/              #   Subscriptions, offer codes, win-back
│   ├── Marketing/                  #   Screenshots, custom pages, PPO, promoted
│   ├── Metrics/                    #   Performance metrics, diagnostics
│   ├── Analytics/                  #   Sales/financial reports
│   ├── Provisioning/               #   Bundle IDs, devices, certificates
│   ├── Shared/                     #   Shared upload/image types
│   └── ...                         #   AppEvents, AppInfo, Pricing, Users
├── Services/
│   ├── HTTPClient.swift            #   Actor-based HTTP with retry logic
│   ├── JWTService.swift            #   ES256 JWT token generation
│   └── CompaniesManager.swift      #   Multi-account management
└── Workers/                        # MCP tool implementations (25 workers)
    ├── MainWorker/WorkerManager    #   Central tool registry & routing
    ├── CompaniesWorker/            #   company_* tools
    ├── AuthWorker/                 #   auth_* tools
    ├── AppsWorker/                 #   apps_* tools
    ├── BuildsWorker/               #   builds_* tools
    ├── BuildProcessingWorker/      #   builds_*_processing tools
    ├── BuildBetaDetailsWorker/     #   builds_*_beta_* tools
    ├── AppLifecycleWorker/         #   app_versions_* tools
    ├── ReviewsWorker/              #   reviews_* tools
    ├── BetaGroupsWorker/           #   beta_groups_* tools
    ├── BetaTestersWorker/          #   beta_testers_* tools
    ├── InAppPurchasesWorker/       #   iap_* tools
    ├── SubscriptionsWorker/        #   subscriptions_* tools
    ├── OfferCodesWorker/           #   offer_codes_* tools
    ├── WinBackOffersWorker/        #   winback_* tools
    ├── ProvisioningWorker/         #   provisioning_* tools
    ├── AppInfoWorker/              #   app_info_* tools
    ├── PricingWorker/              #   pricing_* tools
    ├── UsersWorker/                #   users_* tools
    ├── AppEventsWorker/            #   app_events_* tools
    ├── AnalyticsWorker/            #   analytics_* tools
    ├── ScreenshotsWorker/          #   screenshots_* tools
    ├── CustomProductPagesWorker/   #   custom_pages_* tools
    ├── ProductPageOptimizationWorker/ # ppo_* tools
    ├── PromotedPurchasesWorker/    #   promoted_* tools
    └── MetricsWorker/              #   metrics_* tools

Design Principles

  • Swift 6 strict concurrency — all workers and services are Sendable, proper actor isolation
  • Actor-based HTTP client — thread-safe with exponential backoff and retry logic
  • Prefix-based routingWorkerManager routes tool calls by name prefix (zero config)
  • Minimal dependencies — only the MCP Swift SDK

Troubleshooting

Server not responding / MCP disconnection
  1. Verify the binary path is correct in your MCP host config
  2. Check that companies.json exists and is valid JSON
  3. Ensure .p8 key file paths are absolute and the files exist
  4. Try running the binary directly to see error output: .build/release/asc-mcp
Authentication errors (401)
  1. Verify your Key ID and Issuer ID match what's shown in App Store Connect
  2. Ensure the .p8 file is the original download (not modified)
  3. Check that the API key hasn't been revoked
  4. JWT tokens auto-refresh, but if the key is invalid, all requests will fail
"Version must be in PREPARE_FOR_SUBMISSION state"

You can only edit metadata for versions that are in PREPARE_FOR_SUBMISSION state. Versions in READY_FOR_SALE, IN_REVIEW, or WAITING_FOR_REVIEW are read-only. Create a new version first if needed.

Build processing takes too long

Use builds_wait_for_processing with a reasonable timeout (default 1800s). Apple's build processing typically takes 5–30 minutes but can be longer during peak times.

Rate limiting (429 errors)

The HTTP client automatically retries with exponential backoff on 429 responses. If you consistently hit limits, reduce the frequency of API calls or use pagination with smaller page sizes.

Development

Building

swift build              # Debug build
swift build -c release   # Release build (optimized)
swift package clean      # Clean build artifacts

Test Mode

.build/debug/asc-mcp --test    # Runs built-in integration tests

Adding a New Tool

  1. Create handler method in the appropriate Worker+Handlers.swift
  2. Add tool definition in Worker+ToolDefinitions.swift
  3. Register in worker's getTools() method
  4. Add routing case in worker's handleTool() switch
  5. The WorkerManager auto-routes by prefix — no changes needed there

Adding a New Worker

  1. Create directory: Workers/MyWorker/
  2. Create 3 files: MyWorker.swift, MyWorker+ToolDefinitions.swift, MyWorker+Handlers.swift
  3. Add worker property and initialization in WorkerManager.swift
  4. Add routing rule in WorkerManager.registerWorkers()
  5. Add getMyTools() helper method

Contributing

We welcome contributions! See Contributing Guide for details.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments


This is an unofficial, community-maintained tool and is not affiliated with or endorsed by Apple Inc.

Server Config

{
  "mcpServers": {
    "asc-mcp": {
      "command": "/Users/YOU/.mint/bin/asc-mcp",
      "env": {
        "ASC_KEY_ID": "YOUR_KEY_ID",
        "ASC_ISSUER_ID": "YOUR_ISSUER_ID",
        "ASC_PRIVATE_KEY_PATH": "/path/to/AuthKey.p8"
      }
    }
  }
}
© 2025 MCP.so. All rights reserved.

Build with ShipAny.