{"name":"io.github.LeonTing1010/haplane","slug":"leonting1010-haplane","title":null,"description":"鸿蒙 HAP 签名部署 MCP：面向鸿蒙应用开发者，真机调试一键签装，也走华为邀测/上架。中性工具+可订阅源，本地 stdio。","url":"https://mcp.market/server/leonting1010-haplane","rating":null,"grade":"A","score":88,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":18,"stars":0,"forks":0,"downloads_week":45,"last_push_at":"2026-07-27T09:02:05.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/LeonTing1010/hap-deploy-cli","website":null,"version":"0.4.1","remotes":[],"packages":[{"registryType":"npm","identifier":"haplane","version":"0.4.1","transport":{"type":"stdio"}}],"tools":[{"name":"agc_provision","description":"真机一次性配置向导(只读计划):自检 appId/设备/调试Profile 现状,输出还差哪几步一次性配置 + 每步确切写端点。不产生写。写执行占真账号配额(调试证书仅2本/设备一年不可删),须真机 UDID,逐项确认后按 plan.api 执行。","write_action":false,"price_micros":0,"input_schema":null},{"name":"agc_status","description":"真机一次性配置自检(只读):用 AGC client_credentials 查 appId(按包名)/ 已注册设备(用量 X/100)/ 现有 Profile。凭据走 env:AGC_TOKEN 或 AGC_CLIENT_ID+AGC_CLIENT_SECRET。不产生任何写。","write_action":false,"price_micros":0,"input_schema":null},{"name":"deploy_to_device","description":"核心(一条命令全自动):hdc 联机 → 取 UDID → 签名 → 装真机 → 验签。**零配置**:config 无有效签名材料时,自动读 HAP 包名 + 绑当前 UDID 本地生成 OpenHarmony 材料(模拟器/OpenHarmony 装机);config 有 AGC 材料则用它(真机)。装机遇签名不一致自动卸旧重装。inFile 与 app 二选一:app=<registry 应用 id> 时先从 HapLane Registry 下载并 sha256 强校验再进链(search_hap 查 id)。","write_action":true,"price_micros":0,"input_schema":null},{"name":"doctor","description":"自检:华为工具链(hvigorw/java/hap-sign-tool/hdc)与签名材料(证书/Profile/keystore/密码环境变量)是否就位。","write_action":false,"price_micros":0,"input_schema":null},{"name":"gen_signing_material","description":"纯 Node 生成 OpenHarmony 本地自签材料(不碰 AGC,跨平台):app 证书链+debug profile(绑 bundleName+UDID)+keystore(密码 123456)。返回可直接填进 config.signing 的段。产物链 OpenHarmony 根→模拟器/OpenHarmony 设备有效,纯血真机须换 AGC 材料。","write_action":false,"price_micros":0,"input_schema":null},{"name":"hdc_devices","description":"列出 hdc 已联机的真机/模拟器(hdc list targets)。装真机前先确认设备在线。","write_action":false,"price_micros":0,"input_schema":null},{"name":"hdc_udid","description":"取指定设备 UDID(hdc shell bm get --udid)。真机 debug 签名/Profile 必须绑该 UDID;也供注册到华为开发者账号。","write_action":false,"price_micros":0,"input_schema":null},{"name":"install","description":"把已签名 HAP 装到联机真机(hdc install -r)。失败多为签名/Profile/UDID 未注册。","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_sources","description":"列出用户当前订阅的 registry 源(只读)。HapLane 是中性工具,可搜可装的内容来自这些订阅源;每源含 id/name/url。search_hap 的结果就来自这些源。增删订阅是用户配置动作,走 CLI `haplane source add/remove/reset`。","write_action":false,"price_micros":0,"input_schema":null},{"name":"rename_bundle","description":"改 HAP 的 bundleName(纯 Node 重打包 module.json+pack.info,产出未签 HAP)。用于真机+包名已被全局占用(如 bilibili)时。⚠️改名破坏应用身份(数据/更新链断),仅侧载/自测用。","write_action":false,"price_micros":0,"input_schema":null},{"name":"search_hap","description":"在用户订阅的源里搜 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。","write_action":false,"price_micros":0,"input_schema":null},{"name":"sign","description":"用配置的签名材料给 HAP 签名(hap-sign-tool sign-app)。材料/密码走 hap-deploy.config.json + .env,不入参数。","write_action":false,"price_micros":0,"input_schema":null},{"name":"verify","description":"验证 HAP 签名是否有效(hap-sign-tool verify-app)。注意:verify 通过=链自洽,纯血鸿蒙真机还需链到华为商用根。","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":88,"grade":"A","scanned_at":"2026-09-24T21:40:44.192Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-24T21:40:44.155Z","components":{"code":{"score":25,"max":25,"notes":["9 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":12,"max":15,"notes":["local package, no credentials required"]},"maintenance":{"score":12,"max":15,"notes":["last push 60 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"haplane","version":"0.4.1","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":0,"publishedAt":"2026-07-27T09:02:33.327Z","repositoryUrl":"https://gitee.com/LeonTing1010/hap-deploy.git","weeklyDownloads":45}],"repo":{"found":true,"owner":"LeonTing1010","repo":"hap-deploy-cli","archived":false,"pushedAt":"2026-07-27T09:02:05Z","stars":0,"forks":0,"openIssues":1,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/1998680?v=4","ownerCreatedAt":"2012-07-18T13:38:42Z","license":"MIT"},"icon":{"url":"https://avatars.githubusercontent.com/u/1998680?v=4&s=128","source":"github"},"presence":{"stars":0,"forks":0,"downloadsWeek":45,"license":"MIT","lastPushAt":"2026-07-27T09:02:05.000Z","score":18}}}},"grade_history":[],"reviews":[]}