TA

trialanderrorai/appstore-connect-mcp

API development

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

36 stars 6 forks 品質 77 トレンド 16MIT

コードモード MCP サーバー for App Store Connect — 923 エンドポイント 2 ツール

概要

従来のMCPサーバーは、各APIエンドポイントを別のツールとしてラップします。 Apple の App Store Connect API には . つまり、923のツール定義、〜100K+コンテキストトークン、Appleがエンドポイントを追加するたびに新しいリリースを意味します。 LLM はクエリを書きます。 仕様は実装です。 エンドポイントの追加 = Apple は仕様を更新します。 ゼロコードは、私たちの側に変化します。 1。 App Store Connect → ユーザーとアクセス → インテグレーション → キー 2 に移動します。 「+」 をクリックして、新しいキー(管理者または財務ロール) 3 を生成します。 .p8ファイルをダウンロード(一度だけダウンロード可能) 4。 キーIDと発行者IDに注意 -s ユーザーは、すべてのプロジェクトでサーバーを利用できるようにします。 ドロップ -e APP STORE VENDOR NUMBER ファイナンシャルレポートは必要ありません。 または env-var インライン フォームをスキップし、シェル / MCP 設定 (以下を参照) で設定します。 シェルに env vars をセットするか、 .mcp.json で渡します。 ~/Library/Application Support/Claude/claude desktop config.json に追加します。 ノード/path/to/appstore-connect-mcp/dist/index で MCP 設定をオンにします.

概要(AI 翻訳)

923 エンドポイント 2つのツール。 仕様は実装です。

問題

従来のMCPサーバーは、各APIエンドポイントを別のツールとしてラップします。 AppleのApp Store Connect APIは、923エンドポイントを持っています。 つまり、923のツール定義、〜100K+コンテキストトークン、Appleがエンドポイントを追加するたびに新しいリリースを意味します。

ソリューション

コード モード: 2 用具は 923 を取り替えます。

| ツール | 新着情報 | お問い合わせ | [search(code) | AppleのOpenAPI仕様をクエリするJSを書きます。 エンドポイントを発見し、パラメーターをチェックし、スキーマを読み込みます。 | | [execute(code) | APIを呼び出すためにJSを書く Auth は自動です。 複数のコールをチェーンする |

LLM はクエリを書きます。 仕様は実装です。 エンドポイントの追加 = Apple は仕様を更新します。 ゼロコードは、私たちの側に変化します。

クイックスタート

##1。 App Storeで資格情報を取得

1。 App Store Connect → ユーザーとアクセス → インテグレーション → キーに移動 2. 「+」をクリックして、新しいキー(管理者または財務ロール)を生成します。 3. [.p8ファイルをダウンロード(一度だけダウンロード可能!) 4。 キーIDと発行者IDに注意

##2. Claude コードでインストールする

[-s user] は、すべてのプロジェクトでサーバーを利用できるようにします。 財務レポートを必要としない場合は、[-e APP_STORE_VENDOR_NUMBERをドロップします.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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",
GitHub で README 全文を見る

インストール

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" } } } }