Skip to main content

Install

This installs both binaries:
Also available with pnpm add -g, yarn global add, or bun add -g.

Create an API key

1

Open the API keys page

In App Store Connect, go to Users and Access → Integrations → App Store Connect API.
2

Create a Team key

Pick the lowest role that covers your work: App Manager for most publishing, Finance or Sales for reports, Admin for users.
3

Save the Key ID, Issuer ID, and .p8

Download AuthKey_<KEYID>.p8. Apple lets you download it only once.
4

Add it to appstore

The .p8 file is a password. Keep it out of source control. If it leaks, revoke the key in App Store Connect and create a new one.

Team vs Individual keys

appstore signs short-lived ES256 tokens itself (19 minutes, under Apple’s 20-minute limit). Nothing leaves your machine except requests to Apple.

Credentials

Resolved in this order: Passing --account always selects that config account, even when ASC_* variables are set.

Multiple accounts

Agencies and studios can keep one named account per team. The config file is written with 0600 permissions.
App Store Connect lists every app a key can see, so registering apps is optional. Register one to set a default app or route calls automatically:
When an app is registered under exactly one account, MCP tools and ops call pick that account automatically.

Local MCP server

appstore-mcp also takes --key-id, --issuer-id, --private-key, --account, and --read-only. With accounts in the config file, "command": "appstore-mcp" alone is enough.

Write safety

No key on this machine? Use the hosted MCP on your Appeeky connection instead.