Skip to main content
Glama

Huawei AppGallery MCP

Huawei App Gallery MCP server

HuaweiAppGalleryMcp MCP server MCP Badge License: MIT

Huawei AppGallery Connectでのアプリ公開を管理するためのModel Context Protocol (MCP) サーバーです。Claude DesktopやMCP互換クライアントと直接統合できます。

機能

  • アプリのメタデータ(名前、説明、カテゴリ、評価、サポート連絡先)の照会と更新

  • 言語ごとのローカライズされたストア掲載情報の管理

  • 大容量ファイル(>4 GB)の自動チャンクアップロードに対応したAPK / AABファイルのアップロード

  • フルリリース、段階的(グレー)リリース、予約リリース、またはオープンベータテスト(channel_id=2)でのアプリ提出

  • バイナリが自身のサーバーでホストされている場合のアプリ提出

  • 段階的リリースのライフサイクル管理(状態変更、パーセンテージ更新)

  • AABコンパイル状況の照会

  • 予約リリース時間の更新

  • GMS依存フラグの設定

  • ダウンロード/インストールおよびインストール失敗レポートのURL取得

Related MCP server: 302AI Sandbox MCP Server

インストール

MCPレジストリ経由(推奨)

Claude Code:

claude mcp add --from-registry io.github.AgiMaulana/HuaweiAppGalleryMcp

その他のMCPクライアント: registry.modelcontextprotocol.io にアクセスし、huawei-appgallery を検索してください。

手動インストール

pip install huawei-app-gallery-mcp

または uv を使用する場合:

uv pip install huawei-app-gallery-mcp

設定

1. API認証情報を取得する

  1. AppGallery Connect にアクセスします

  2. ユーザーと権限 → APIキー → Connect API に移動します

  3. 作成 をクリックし、アプリ管理者 ロールを選択します

  4. クライアントID と クライアントシークレット をコピーします

これらは Connect API の認証情報であり、HMS Coreアプリの認証情報とは異なります。

2. 環境変数を設定する

作業ディレクトリに .env ファイルを作成します(サーバーが自動的に読み込みます):

HUAWEI_CLIENT_ID=your_connect_api_client_id
HUAWEI_CLIENT_SECRET=your_connect_api_client_secret

# Optional: set a default app ID so you don't have to pass it to every tool call
HUAWEI_APP_ID=your_app_id

3. MCPクライアントに接続する(手動インストールのみ)

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) または %APPDATA%\Claude\claude_desktop_config.json (Windows) に追加します:

{
  "mcpServers": {
    "huawei-appgallery": {
      "command": "huawei-app-gallery-mcp",
      "env": {
        "HUAWEI_CLIENT_ID": "your_client_id",
        "HUAWEI_CLIENT_SECRET": "your_client_secret",
        "HUAWEI_APP_ID": "your_app_id"
      }
    }
  }
}

Claude Code(マシンレベル、手動インストールのみ)

/Library/Application Support/ClaudeCode/managed-mcp.json (macOS) または /etc/claude-code/managed-mcp.json (Linux) を作成します:

{
  "mcpServers": {
    "huawei-appgallery": {
      "type": "stdio",
      "command": "huawei-app-gallery-mcp",
      "env": {
        "HUAWEI_CLIENT_ID": "your_client_id",
        "HUAWEI_CLIENT_SECRET": "your_client_secret",
        "HUAWEI_APP_ID": "your_app_id"
      }
    }
  }
}

ツール

すべてのツールはオプションの app_id 引数を受け付けます。省略された場合、環境変数の HUAWEI_APP_ID がデフォルトとして使用されます。

ツール

説明

query_app_info

現在のアプリメタデータ(名前、説明、カテゴリ、評価など)を照会します。channel_id を介して特定のリリースチャネルを指定可能です

update_app_info

AppGallery Connectのドラフト内のアプリメタデータを更新します

update_language_info

特定の言語のローカライズされたストア掲載情報を追加または更新します

delete_language_info

ローカライズされたストア掲載情報を削除します

get_upload_url

ファイルアップロード前に事前署名付きアップロードURLと認証コードを取得します

upload_app_file

ローカルディスクからAPK/AABをアップロードし、アプリドラフトに添付します(>4 GBの場合は自動的にチャンク分割されます)

update_app_file_info

アップロード済みのファイルをアプリドラフトに手動で添付します

query_compile_status

1つ以上のパッケージIDのAABコンパイル状況を照会します

submit_app

アプリを審査およびリリース用に提出します(channel_id=2 を介したフル、段階的、予約、オープンベータテストをサポート)

submit_app_with_file

バイナリが自身のサーバーでホストされている場合に提出します

change_phased_release_state

段階的リリースの状態を変更します:進行、ロールバック、または停止

update_phased_release

段階的リリースをフルリリースに変換するか、ロールアウトスケジュール/パーセンテージを更新します

update_release_time

予約リリース時間を更新します(アプリがリリース中状態の場合のみ)

set_gms_dependency

アプリがGMSに依存しているかどうかを報告します

get_download_report_url

アプリのダウンロードおよびインストールレポートのダウンロードURLを取得します(CSV/Excel、最大180日)

get_install_failure_report_url

インストール失敗レポートのダウンロードURLを取得します(CSV/Excel、最大180日)

使用例

新しいバージョンのアップロードとリリース:

/path/to/app-release.aab (AAB, ファイルタイプ5) をアップロードし、フルリリース用に提出します。

段階的ロールアウト:

ユーザーの20%に対して段階的リリース用にアプリを提出します。

オープンベータテスト:

オープンベータテスト用にアプリを提出します(channel_id=2)。

オープンベータテストの確認:

query_app_info(channel_id=2) を使用して、オープンベータテストチャネルのアプリメタデータを照会します。

リリースノートの更新:

英語のリリースノートを「バグ修正とパフォーマンスの向上」に更新します。

予約リリース:

2026年3月20日 10:00 UTCにリリースされるようアプリを提出します。

レポートのダウンロード:

過去30日間のダウンロードおよびインストールレポートのURLを英語のCSV形式で取得します。

公開ワークフロー

Update app info  →  Update language info  →  Upload APK/AAB  →  Submit app
  1. update_app_info / update_language_info を使用してメタデータとリリースノートを設定します

  2. upload_app_file を使用してバイナリをアップロードします(チャンク分割は自動的に処理されます)

  3. submit_app を使用して審査とリリースを開始します

パッケージリリースワークフロー

パッケージリリースの手順については、docs/RELEASE.md を参照してください。

APIリファレンス

このサーバーは AppGallery Connect Publishing API をラップしています。

ライセンス

MIT

Available Tools

17 tools
change_phased_release_stateB

Proceed, roll back, or stop a phased (grey) release.

Inputs: state (required), app_id, phased_release_start_time, phased_release_end_time, +1 more.

delete_language_infoB

Remove a localized store listing from the app draft.

Inputs: lang (required), app_id.

get_download_report_urlA

Get download URL for app download/install report (CSV or Excel). Max 180-day range.

Inputs: language (required), start_time (required), end_time (required), app_id, +2 more.

get_install_failure_report_urlB

Get download URL for installation failure report (CSV or Excel). Max 180-day range.

Inputs: language (required), start_time (required), end_time (required), app_id, +2 more.

get_upload_urlB

Get a pre-signed upload URL and authCode for an APK/AAB/asset file. Returns uploadUrl, chunkUploadUrl, authCode.

Inputs: suffix (required), app_id, file_name, release_type.

query_app_infoA

Query app metadata (name, description, category, content rating) from AppGallery Connect. Optionally scope to a release channel with channel_id=2 for open testing.

Inputs: app_id, release_type, channel_id.

query_compile_statusA

Query AAB compilation status for package IDs returned after upload.

Inputs: pkg_ids (required), app_id.

set_gms_dependencyA

Declare whether the app depends on GMS (Google Mobile Services).

Inputs: need_gms (required), app_id.

submit_appA

Submit app for review/release. Supports full, phased, scheduled, channel releases, and open testing (channel_id=2). Save all info first.

Inputs: app_id, release_type, release_percent, release_time, +6 more.

submit_app_with_fileB

Submit app for release using a file hosted on your server (Huawei downloads via HTTPS during review).

Inputs: file_type (required), files (required), app_id, release_type, +3 more.

update_app_file_infoA

Attach already-uploaded files to the app draft. Use after get_upload_url + manual upload.

Inputs: file_type (required), files (required), app_id.

update_app_infoA

Update app metadata in the AppGallery Connect draft (name, description, category, ratings, support contacts, privacy policy).

Inputs: app_id, default_lang, app_name, app_desc, +9 more.

update_language_infoB

Add or update localized store listing (name, description, release notes) for a language.

Inputs: lang (required), app_id, app_name, app_desc, +2 more.

update_phased_releaseC

Convert phased release to full, or update its schedule/percentage.

Inputs: state (required), app_id, phased_release_start_time, phased_release_end_time, +2 more.

update_release_timeB

Update scheduled release time. Only valid when app is in Releasing state.

Inputs: change_type (required), app_id, release_time, release_type.

upload_app_fileA

Upload APK/AAB from local disk to AppGallery (get URL → upload, auto-chunked >4 GB → attach to draft).

Inputs: file_path (required), file_type (required), app_id.

upload_fileA

Upload a file to AppGallery using a pre-signed URL (Step 2 of upload flow). Returns fileDestUrl for use in update_app_file_info.

Inputs: file_path (required), upload_url (required), auth_code (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 17 tools

    Disambiguation3/5

    Most tools map to distinct resources and actions, but the upload flow has three overlapping tools (upload_file, upload_app_file, update_app_file_info) and submit_app vs submit_app_with_file are easy to confuse. Descriptions help, but an agent could still pick the wrong step in the upload/release workflow.

    Naming Consistency4/5

    Naming follows a clear verb_noun snake_case pattern throughout, using query_, update_, delete_, get_, upload_, and submit_ consistently. Minor inconsistencies like query vs get, change_phased_release_state vs update_phased_release, and upload_file vs upload_app_file prevent a perfect score.

    Tool Count4/5

    At 17 tools, the set is slightly above the ideal 3-15 range but reasonable for an app publishing console covering metadata, localization, upload, release management, and reports. No tool feels completely redundant, though the set is on the heavier side.

    Completeness3/5

    The core release workflow is covered: metadata, localization, upload/attach, submission, phased/scheduled releases, and reports. However, there is no way to query current submission/review/release status, list existing localized listings, or see uploaded files, which creates a notable gap for agents managing the full lifecycle.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server that connects Cursor, Claude Desktop, and other MCP clients to the official App Store Connect API—so you can manage iOS/macOS apps, TestFlight, in-app subscriptions, and store metadata via chat or automated tool calls.
      69
      109 npm
      15
      MIT