
HuaweiAppGalleryMcp
io.github.AgiMaulana由 GitHub 帳號 AgiMaulana 發布v1.1.1更新於 Oct 24, 2026
Huawei AppGallery Connect MCP: upload APK/AAB, update metadata, submit and manage app releases.
概覽
本機 MCP 伺服器,讓助理管理華為 AppGallery Connect 發布:應用程式中介資料、多語系商店資訊、APK/AAB 上傳、發布與報表。
- 可以做什麼
- 查詢與更新應用程式中介資料,可依 channel_id 針對特定發布頻道,並設定 GMS 相依標記。依語言新增、更新或刪除在地化商店資訊。取得上傳網址,從本機磁碟上傳 APK/AAB 檔案(大檔案自動分塊),並把已上傳檔案掛到草稿。提交應用程式進行完整、分階段、排程或開放測試發布,也支援二進位檔託管在自己伺服器的情況。管理分階段發布狀態、放量比例與排程發布時間,查詢 AAB 編譯狀態。取得下載安裝報表與安裝失敗報表的網址。
- 適用情境
- 適合在華為 AppGallery Connect 上發布或維護 Android 應用程式時使用,讓助理不必開網頁主控台就能準備中介資料、上傳建置、執行分階段或排程發布並取得安裝報表。
- 執行需求
- 以 Python 套件形式在本機透過 stdio 執行(pip 或 uv 安裝),僅支援桌面 MCP 用戶端。需要 AppGallery Connect Connect API 憑證,透過 HUAWEI_CLIENT_ID 與 HUAWEI_CLIENT_SECRET 提供,並以 App manager 角色建立;可選 HUAWEI_APP_ID 作為預設應用程式 ID。需要能連線 AppGallery Connect API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 HuaweiAppGalleryMcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Huawei AppGallery MCP
[Huawei App Gallery MCP server]
[HuaweiAppGalleryMcp MCP server] [MCP Badge] [License: MIT]
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, scheduled release, or open testing (
channel_id=2) - Submit apps when the binary is hosted on your own server
- Manage phased release lifecycle (state changes, percentage updates)
- Query AAB compilation status
- Update scheduled release time
- Set GMS dependency flag
- Obtain download/installation and install-failure report URLs
Installation
Via MCP Registry (recommended)
Claude Code:
Other MCP clients:
Find it at registry.modelcontextprotocol.io — search for huawei-appgallery.
Manual installation
Or with uv:
Configuration
1. Get API credentials
- Go to AppGallery Connect
- Navigate to Users & Permissions → API key → Connect API
- Click Create and select the App manager role
- Copy the Client ID and Client Secret
These are Connect API credentials — different from HMS Core app credentials.
2. Set environment variables
Create a .env file in your working directory (the server loads it automatically):
3. Connect to your MCP client (manual install only)
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Claude Code (machine-level, manual install only)
Create /Library/Application Support/ClaudeCode/managed-mcp.json (macOS) or /etc/claude-code/managed-mcp.json (Linux):
Tools
All tools accept an optional app_id argument. If omitted, HUAWEI_APP_ID from the environment is used as the default.
Usage Examples
Upload and release a new version:
Upload
/path/to/app-release.aab(AAB, file type 5) then submit it for a full release.
Phased rollout:
Submit the app for a phased release to 20% of users.
Open testing:
Submit the app for open testing (channel_id=2).
Inspect open testing:
Query the app metadata for the open testing channel with
query_app_info(channel_id=2).
Update release notes:
Update the English release notes to "Bug fixes and performance improvements".
Scheduled release:
Submit the app for release on March 20, 2026 at 10:00 UTC.
Download report:
Get the download and installation report URL for the last 30 days in English CSV format.
Publishing Workflow
- 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 review and release
Package Release Workflow
For package release instructions, see docs/RELEASE.md.
API Reference
This server wraps the AppGallery Connect Publishing API.
License
MIT
來源:README.md,提交 74a7c73
工具
0版本歷史
1- v1.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分