Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HUAWEI_APP_ID | No | Optional default App ID so you don't have to pass it to every tool call. | |
| HUAWEI_CLIENT_ID | Yes | Huawei Connect API Client ID obtained from AppGallery Connect (Users & Permissions → API key → Connect API). | |
| HUAWEI_CLIENT_SECRET | Yes | Huawei Connect API Client Secret obtained from AppGallery Connect (Users & Permissions → API key → Connect API). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| query_app_info | Query app metadata (name, description, category, content rating) from AppGallery Connect. |
| update_app_info | Update app metadata in the AppGallery Connect draft (name, description, category, ratings, support contacts, privacy policy). |
| update_language_info | Add or update localized store listing (name, description, release notes) for a language. |
| delete_language_info | Remove a localized store listing from the app draft. |
| get_upload_url | Get a pre-signed upload URL and authCode for an APK/AAB/asset file. Returns uploadUrl, chunkUploadUrl, authCode. |
| upload_app_file | Upload APK/AAB from local disk to AppGallery (get URL → upload, auto-chunked >4 GB → attach to draft). |
| update_app_file_info | Attach already-uploaded files to the app draft. Use after get_upload_url + manual upload. |
| submit_app | Submit app for review/release. Supports full, phased, scheduled, and channel releases (channel_id=2 for open testing). Save all info first. |
| change_phased_release_state | Proceed, roll back, or stop a phased (grey) release. |
| update_phased_release | Convert phased release to full, or update its schedule/percentage. |
| update_release_time | Update scheduled release time. Only valid when app is in Releasing state. |
| set_gms_dependency | Declare whether the app depends on GMS (Google Mobile Services). |
| query_compile_status | Query AAB compilation status for package IDs returned after upload. |
| get_download_report_url | Get download URL for app download/install report (CSV or Excel). Max 180-day range. |
| get_install_failure_report_url | Get download URL for installation failure report (CSV or Excel). Max 180-day range. |
| submit_app_with_file | Submit app for release using a file hosted on your server (Huawei downloads via HTTPS during review). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |