Install
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
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 with0600 permissions.
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.

