Haplane
鸿蒙 HAP 签名部署 MCP:面向鸿蒙应用开发者,真机调试一键签装,也走华为邀测/上架。中性工具+可订阅源,本地 stdio。
Connector by LeonTing1010 · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/leonting1010-haplane
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 4 read · 6 write · 0 delete · 3 not yet classified
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 13
Read from the source code; the running server may list different tools.
Read 4 · Look things up without changing anything.
agc_statuslist_sourcessearch_hapverify
Write 6 · Create, change, send or run things.
agc_provisiondeploy_to_devicegen_signing_materialinstallrename_bundlesign
Not yet classified 3 · We could not tell from the name and description.
doctorhdc_deviceshdc_udid
Tools (13)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
agc_provision真机一次性配置向导(只读计划):自检 appId/设备/调试Profile 现状,输出还差哪几步一次性配置 + 每步确切写端点。不产生写。写执行占真账号配额(调试证书仅2本/设备一年不可删),须真机 UDID,逐项确认后按 plan.api 执行。
agc_status真机一次性配置自检(只读):用 AGC client_credentials 查 appId(按包名)/ 已注册设备(用量 X/100)/ 现有 Profile。凭据走 env:AGC_TOKEN 或 AGC_CLIENT_ID+AGC_CLIENT_SECRET。不产生任何写。
deploy_to_device核心(一条命令全自动):hdc 联机 → 取 UDID → 签名 → 装真机 → 验签。**零配置**:config 无有效签名材料时,自动读 HAP 包名 + 绑当前 UDID 本地生成 OpenHarmony 材料(模拟器/OpenHarmony 装机);config 有 AGC 材料则用它(真机)。装机遇签名不一致自动卸旧重装。inFile 与 app 二选一:app=<registry 应用 id> 时先从 HapLane Registry 下载并 sha256 强校验再进链(search_hap 查 id)。
doctor自检:华为工具链(hvigorw/java/hap-sign-tool/hdc)与签名材料(证书/Profile/keystore/密码环境变量)是否就位。
gen_signing_material纯 Node 生成 OpenHarmony 本地自签材料(不碰 AGC,跨平台):app 证书链+debug profile(绑 bundleName+UDID)+keystore(密码 123456)。返回可直接填进 config.signing 的段。产物链 OpenHarmony 根→模拟器/OpenHarmony 设备有效,纯血真机须换 AGC 材料。
hdc_devices列出 hdc 已联机的真机/模拟器(hdc list targets)。装真机前先确认设备在线。
hdc_udid取指定设备 UDID(hdc shell bm get --udid)。真机 debug 签名/Profile 必须绑该 UDID;也供注册到华为开发者账号。
install把已签名 HAP 装到联机真机(hdc install -r)。失败多为签名/Profile/UDID 未注册。
list_sources列出用户当前订阅的 registry 源(只读)。HapLane 是中性工具,可搜可装的内容来自这些订阅源;每源含 id/name/url。search_hap 的结果就来自这些源。增删订阅是用户配置动作,走 CLI `haplane source add/remove/reset`。
rename_bundle改 HAP 的 bundleName(纯 Node 重打包 module.json+pack.info,产出未签 HAP)。用于真机+包名已被全局占用(如 bilibili)时。⚠️改名破坏应用身份(数据/更新链断),仅侧载/自测用。
search_hap在用户订阅的源里搜 HAP 资源(只读,可多源)。registry 类=用户订阅的 index.json 源(HapLane 是中性工具,内容来自订阅源;list_sources 查已订阅);条目非 discoveryOnly 的可 deploy_to_device{app:id} 从上游拉+sha256 校验+签装;discoveryOnly 条目仅索引,去 upstreamRelease 自取。hapstore=HAP Store(sydxky.cn)开放接口,只发现给源站链接——下载须用户在源站登录完成,不代下/不转存/不绕登录。结果每条带 registryId 标来源。找不到关键词时用 query:'*'+source:'registry' 列全部,自己做语义匹配再选 id。
sign用配置的签名材料给 HAP 签名(hap-sign-tool sign-app)。材料/密码走 hap-deploy.config.json + .env,不入参数。
verify验证 HAP 签名是否有效(hap-sign-tool verify-app)。注意:verify 通过=链自洽,纯血鸿蒙真机还需链到华为商用根。
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Last commit
- Jul 27, 2026 (3 months ago)
- Last release
- Jul 27, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.LeonTing1010/haplane- Version
- 0.4.1
- Auth
- No auth
- Packages
- npm haplane
- License
- MIT
- Repository
- github.com/LeonTing1010/hap-deploy-cli
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from LeonTing1010
Cite this page
Haplane MCP server. Agent Mart. https://agentmart.dev/connectors/leonting1010-haplane (last updated 2026-10-24)