MCP server for managing app publishing on Huawei AppGallery Connect
Project description
Huawei AppGallery MCP
A Model Context Protocol (MCP) server for managing app publishing on Huawei AppGallery Connect. Integrates directly with Claude Desktop or any MCP-compatible client.
Features
- Query and update app metadata (name, description, category, ratings, support contacts)
- Manage localized store listings per language
- Upload APK / AAB files with automatic chunked upload for large files (>4 GB)
- Submit apps for full release, phased (grey) release, or scheduled release
- Submit apps when the binary is hosted on your own server
Installation
pip install huawei-app-gallery-mcp
Or with uv:
uv pip install huawei-app-gallery-mcp
Configuration
1. Get API credentials
- Go to AppGallery Connect
- Navigate to Users & Permissions → API key → Connect API
- Create a key and copy the Client ID and Client Secret
2. Set environment variables
export HUAWEI_CLIENT_ID=your_client_id
export HUAWEI_CLIENT_SECRET=your_client_secret
3. Connect to Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %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"
}
}
}
}
If you installed into a virtual environment, use the full path to the executable instead:
{
"mcpServers": {
"huawei-appgallery": {
"command": "/path/to/.venv/bin/huawei-app-gallery-mcp",
"env": {
"HUAWEI_CLIENT_ID": "your_client_id",
"HUAWEI_CLIENT_SECRET": "your_client_secret"
}
}
}
}
Tools
| Tool | Description |
|---|---|
query_app_info |
Query current app metadata (name, description, category, ratings, etc.) |
update_app_info |
Update app metadata in the AppGallery Connect draft |
update_language_info |
Add or update a localized store listing for a specific language |
delete_language_info |
Remove a localized store listing |
get_upload_url |
Obtain a pre-signed upload URL and auth code before uploading a file |
upload_app_file |
Upload an APK/AAB from local disk and attach it to the app draft (auto-chunked for large files) |
update_app_file_info |
Manually attach already-uploaded files to the app draft |
submit_app |
Submit the app for review and release |
submit_app_with_file |
Submit when the binary is hosted on your own server |
Usage Examples
Upload and release a new version:
Upload
/path/to/app-release.aab(AAB, file type 5) for app ID123456789, then submit it for a full release.
Phased rollout:
Submit app
123456789for a phased release to 20% of users.
Update release notes:
Update the English release notes for app
123456789to "Bug fixes and performance improvements".
Scheduled release:
Submit app
123456789for release on March 20, 2026 at 10:00 UTC.
Publishing Workflow
Update app info → Update language info → Upload APK/AAB → Submit app
- Use
update_app_info/update_language_infoto set metadata and release notes - Use
upload_app_fileto upload the binary (handles chunking automatically) - Use
submit_appto trigger the review and release
API Reference
This server wraps the AppGallery Connect Publishing API.
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file huawei_app_gallery_mcp-1.0.0.tar.gz.
File metadata
- Download URL: huawei_app_gallery_mcp-1.0.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b40c06ce7547269bed34c0f4bbaf10df542aaa41491654e238b2f563aab3f7a
|
|
| MD5 |
1306789fe8b2e626b8df7492c62af2ef
|
|
| BLAKE2b-256 |
a6c02b52b189d6317a55af89d9d3e0a30175ec09d40e9d2d581f7128dffbec3c
|
Provenance
The following attestation bundles were made for huawei_app_gallery_mcp-1.0.0.tar.gz:
Publisher:
publish-pypi.yml on AgiMaulana/HuaweiAppGalleryMcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
huawei_app_gallery_mcp-1.0.0.tar.gz -
Subject digest:
6b40c06ce7547269bed34c0f4bbaf10df542aaa41491654e238b2f563aab3f7a - Sigstore transparency entry: 1106157572
- Sigstore integration time:
-
Permalink:
AgiMaulana/HuaweiAppGalleryMcp@6fec866d148cb9fdea0f88506ac4697b6520e582 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/AgiMaulana
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@6fec866d148cb9fdea0f88506ac4697b6520e582 -
Trigger Event:
release
-
Statement type:
File details
Details for the file huawei_app_gallery_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: huawei_app_gallery_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57d1631055edba0188ba8583c81b920159b8780c765aa4e297b01f7ace9bb545
|
|
| MD5 |
a6247f7926a624366df8eff898eaa1ef
|
|
| BLAKE2b-256 |
295e284f83d8010f30b27b433b14d73dfcbd5aacb59fbdad33c9d2745d2b5edc
|
Provenance
The following attestation bundles were made for huawei_app_gallery_mcp-1.0.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on AgiMaulana/HuaweiAppGalleryMcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
huawei_app_gallery_mcp-1.0.0-py3-none-any.whl -
Subject digest:
57d1631055edba0188ba8583c81b920159b8780c765aa4e297b01f7ace9bb545 - Sigstore transparency entry: 1106157678
- Sigstore integration time:
-
Permalink:
AgiMaulana/HuaweiAppGalleryMcp@6fec866d148cb9fdea0f88506ac4697b6520e582 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/AgiMaulana
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@6fec866d148cb9fdea0f88506ac4697b6520e582 -
Trigger Event:
release
-
Statement type: