TA

trialanderrorai/appstore-connect-mcp

API development

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

36 stars 6 forks Качество 77 Тренд 16MIT

Code Mode MCP server for App Store Connect — 923 endpoints through 2 tools

Обзор

Traditional MCP servers wrap each API endpoint as a separate tool. Apple's App Store Connect API has . That means 923 tool definitions, ~100K+ context tokens, and a new release every time Apple adds an endpoint. The LLM writes the query. The spec IS the implementation. Adding endpoints = Apple updates their spec. Zero code changes on our side. 1. Go to App Store Connect → Users and Access → Integrations → Keys 2. Click "+" to generate a new key (Admin or Finance role) 3. Download the .p8 file (only downloadable once!) 4. Note your Key ID and Issuer ID -s user makes the server available across all your projects. Drop -e APP_STORE_VENDOR_NUMBER if you don't need financial reports. Or skip the env-var inline form and set them in your shell / MCP config (see below). Either set env vars in your shell, or pass them via .mcp.json: Add to ~/Library/Application Support/Claude/claude_desktop_config.json: Then point your MCP config at node /path/to/appstore-connect-mcp/dist/index.

README

Показан фрагмент оригинального README. Открыть оригинал.

App Store Connect MCP Server — Code Mode

923 endpoints. 2 tools. The spec IS the implementation.

The Problem

Traditional MCP servers wrap each API endpoint as a separate tool. Apple’s App Store Connect API has 923 endpoints. That means 923 tool definitions, ~100K+ context tokens, and a new release every time Apple adds an endpoint.

The Solution

Code Mode: 2 tools replace 923.

Tool What It Does
search(code) Write JS to query Apple’s OpenAPI spec. Discover endpoints, check parameters, read schemas.
execute(code) Write JS to call the API. Auth is automatic. Chain multiple calls.

The LLM writes the query. The spec IS the implementation. Adding endpoints = Apple updates their spec. Zero code changes on our side.

Traditional MCP:  923 endpoints → 923 tools → ~100K tokens → constant maintenance
Code Mode:        923 endpoints → 2 tools   → ~1K tokens   → zero maintenance

Quick Start

1. Get App Store Connect credentials

  1. Go to App Store Connect → Users and Access → Integrations → Keys
  2. Click “+” to generate a new key (Admin or Finance role)
  3. Download the .p8 file (only downloadable once!)
  4. Note your Key ID and Issuer ID

2. Install via Claude Code

claude mcp add appstore-connect -s user \
  -e APP_STORE_KEY_ID=YOUR_KEY_ID \
  -e APP_STORE_ISSUER_ID=YOUR_ISSUER_ID \
  -e APP_STORE_P8_PATH=/absolute/path/to/AuthKey_XXXXXXXXXX.p8 \
  -e APP_STORE_VENDOR_NUMBER=YOUR_VENDOR_NUMBER \
  -- npx -y @trialanderror-ai/appstore-connect-mcp

-s user makes the server available across all your projects. Drop -e APP_STORE_VENDOR_NUMBER if you don’t need financial reports.

Or skip the env-var inline form and set them in your shell / MCP config (see below).

3. Configure credentials

Three required env vars (one optional):

Variable Description
APP_STORE_KEY_ID 10-character key ID
APP_STORE_ISSUER_ID UUID issuer ID
APP_STORE_P8_PATH Absolute path to your .p8 file
APP_STORE_VENDOR_NUMBER (optional) Required for financial reports

Configure for Claude Code

Either set env vars in your shell, or pass them via .mcp.json:

{
  "mcpServers": {
    "appstore-connect": {
      "command": "npx",
      "args": ["-y", "@trialanderror-ai/appstore-connect-mcp"],
      "env": {
        "APP_STORE_KEY_ID": "YOUR_KEY_ID",
        "APP_STORE_ISSUER_ID": "YOUR_ISSUER_ID",
        "APP_STORE_P8_PATH": "/path/to/AuthKey_XXXXXXXXXX.p8",
Открыть полный README на GitHub

Установка

npx -y @trialanderror-ai/appstore-connect-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "appstore-connect": { "command": "npx", "args": ["-y", "@trialanderror-ai/appstore-connect-mcp"], "env": { "APP_STORE_KEY_ID": "YOUR_KEY_ID", "APP_STORE_ISSUER_ID": "YOUR_ISSUER_ID", "APP_STORE_P8_PATH": "/path/to/AuthKey_XXXXXXXXXX.p8", "APP_STORE_VENDOR_NUMBER": "YOUR_VENDOR_NUMBER" } } } }