Huawei App Gallery
Huawei AppGallery MCP
Ein Model Context Protocol (MCP) Server zur Verwaltung der App-Veröffentlichung in Huawei AppGallery Connect. Lässt sich direkt in Claude Desktop oder jeden MCP-kompatiblen Client integrieren.
Funktionen
Abfrage und Aktualisierung von App-Metadaten (Name, Beschreibung, Kategorie, Bewertungen, Support-Kontakte)
Verwaltung lokalisierter Store-Einträge pro Sprache
Hochladen von APK-/AAB-Dateien mit automatischem Chunked-Upload für große Dateien (>4 GB)
Einreichen von Apps für vollständige Veröffentlichung, phasenweise (Grey) Veröffentlichung, geplante Veröffentlichung oder offene Tests (
channel_id=2)Einreichen von Apps, wenn die Binärdatei auf Ihrem eigenen Server gehostet wird
Verwaltung des Lebenszyklus phasenweiser Veröffentlichungen (Statusänderungen, Prozentaktualisierungen)
Abfrage des AAB-Kompilierungsstatus
Aktualisierung der geplanten Veröffentlichungszeit
Festlegen des GMS-Abhängigkeits-Flags
Abrufen von Download-/Installations- und Installationsfehler-Berichts-URLs
Related MCP server: 302AI Sandbox MCP Server
Installation
Über die MCP-Registry (empfohlen)
Claude Code:
claude mcp add --from-registry io.github.AgiMaulana/HuaweiAppGalleryMcpAndere MCP-Clients:
Sie finden ihn unter registry.modelcontextprotocol.io — suchen Sie nach huawei-appgallery.
Manuelle Installation
pip install huawei-app-gallery-mcpOder mit uv:
uv pip install huawei-app-gallery-mcpKonfiguration
1. API-Anmeldedaten abrufen
Gehen Sie zu AppGallery Connect
Navigieren Sie zu Benutzer & Berechtigungen → API-Schlüssel → Connect API
Klicken Sie auf Erstellen und wählen Sie die Rolle App-Manager
Kopieren Sie die Client-ID und das Client-Secret
Dies sind Connect API-Anmeldedaten — sie unterscheiden sich von den HMS Core App-Anmeldedaten.
2. Umgebungsvariablen festlegen
Erstellen Sie eine .env-Datei in Ihrem Arbeitsverzeichnis (der Server lädt diese automatisch):
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_id3. Verbindung mit Ihrem MCP-Client herstellen (nur bei manueller Installation)
Claude Desktop
Hinzufügen zu ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) oder %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 (auf Maschinenebene, nur bei manueller Installation)
Erstellen Sie /Library/Application Support/ClaudeCode/managed-mcp.json (macOS) oder /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"
}
}
}
}Tools
Alle Tools akzeptieren ein optionales app_id-Argument. Wenn es weggelassen wird, wird HUAWEI_APP_ID aus der Umgebung als Standard verwendet.
Tool | Beschreibung |
| Aktuelle App-Metadaten abfragen (Name, Beschreibung, Kategorie, Bewertungen usw.), optional für einen bestimmten Veröffentlichungskanal über |
| App-Metadaten im AppGallery Connect-Entwurf aktualisieren |
| Einen lokalisierten Store-Eintrag für eine bestimmte Sprache hinzufügen oder aktualisieren |
| Einen lokalisierten Store-Eintrag entfernen |
| Vor dem Hochladen einer Datei eine vorab signierte Upload-URL und einen Auth-Code erhalten |
| Eine APK/AAB von der lokalen Festplatte hochladen und an den App-Entwurf anhängen (automatisch in Chunks unterteilt für >4 GB) |
| Bereits hochgeladene Dateien manuell an den App-Entwurf anhängen |
| AAB-Kompilierungsstatus für eine oder mehrere Paket-IDs abfragen |
| App zur Überprüfung und Veröffentlichung einreichen (unterstützt vollständige, phasenweise, geplante und offene Tests über |
| Einreichen, wenn die Binärdatei auf Ihrem eigenen Server gehostet wird |
| Status der phasenweisen Veröffentlichung ändern: fortfahren, zurücksetzen oder stoppen |
| Phasenweise Veröffentlichung in eine vollständige Veröffentlichung umwandeln oder den Rollout-Zeitplan/Prozentsatz aktualisieren |
| Geplante Veröffentlichungszeit aktualisieren (nur wenn sich die App im Status „Veröffentlichung“ befindet) |
| Melden, ob die App von GMS abhängt |
| Download-URL für den App-Download- & Installationsbericht abrufen (CSV/Excel, max. 180 Tage) |
| Download-URL für den Installationsfehlerbericht abrufen (CSV/Excel, max. 180 Tage) |
Nutzungsbeispiele
Neue Version hochladen und veröffentlichen:
Laden Sie
/path/to/app-release.aab(AAB, Dateityp 5) hoch und reichen Sie sie dann für eine vollständige Veröffentlichung ein.
Phasenweiser Rollout:
Reichen Sie die App für eine phasenweise Veröffentlichung an 20 % der Benutzer ein.
Offene Tests:
Reichen Sie die App für offene Tests ein (channel_id=2).
Offene Tests überprüfen:
Fragen Sie die App-Metadaten für den Kanal für offene Tests mit
query_app_info(channel_id=2)ab.
Versionshinweise aktualisieren:
Aktualisieren Sie die englischen Versionshinweise auf „Fehlerbehebungen und Leistungsverbesserungen“.
Geplante Veröffentlichung:
Reichen Sie die App für eine Veröffentlichung am 20. März 2026 um 10:00 UTC ein.
Bericht herunterladen:
Rufen Sie die URL für den Download- und Installationsbericht der letzten 30 Tage im englischen CSV-Format ab.
Veröffentlichungs-Workflow
Update app info → Update language info → Upload APK/AAB → Submit appVerwenden Sie
update_app_info/update_language_info, um Metadaten und Versionshinweise festzulegenVerwenden Sie
upload_app_file, um die Binärdatei hochzuladen (handhabt das Chunking automatisch)Verwenden Sie
submit_app, um die Überprüfung und Veröffentlichung auszulösen
Paket-Veröffentlichungs-Workflow
Anweisungen zur Paketveröffentlichung finden Sie unter docs/RELEASE.md.
API-Referenz
Dieser Server kapselt die AppGallery Connect Publishing API.
Lizenz
MIT
Available Tools
17 toolschange_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
Scored across 17 tools
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 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.
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.
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
Related MCP Connectors
MCP server for Appcircle mobile CI/CD platform.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
Related MCP Servers
- AlicenseDqualityDmaintenanceA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.11MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server for Claude Desktop that connects to 302AI's API services, allowing users to integrate and leverage 302AI capabilities through a structured communication interface.923 npm21MIT
- AlicenseAqualityBmaintenanceA Model Context Protocol (MCP) server for Apple's App Store Connect API. Manage your iOS, macOS, tvOS, and visionOS apps directly from Claude, Cursor, or any MCP-compatible client.52132 npm23MIT
- AlicenseAqualityDmaintenanceA 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.69109 npm15MIT