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. 생성을 클릭하고 앱 관리자(App manager) 역할을 선택합니다.

  4. **클라이언트 ID(Client ID)**와 **클라이언트 비밀번호(Client Secret)**를 복사합니다.

이는 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

하나 이상의 패키지 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

앱 다운로드 및 설치 보고서(CSV/Excel, 최대 180일)의 다운로드 URL을 가져옵니다

get_install_failure_report_url

설치 실패 보고서(CSV/Excel, 최대 180일)의 다운로드 URL을 가져옵니다

사용 예시

새 버전 업로드 및 출시:

/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