lanhu-design-mcp
v0.2.0Read Lanhu design specs and export fine-grained UI assets with platform-adjusted units
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lanhu_health_check Lanhu Health Check
返回本地配置状态,不访问网络且不暴露 Cookie 值。
lanhu_get_designs Lanhu Get Designs
获取项目的所有设计图列表。
| Parameter | Type | Description |
|---|---|---|
url * | string | Lanhu stage/detailDetach design URL. |
lanhu_analyze_design Lanhu Analyze Design
分析指定设计稿并返回平台调整后的 UI 结构。
| Parameter | Type | Description |
|---|---|---|
url * | string | Lanhu stage/detailDetach design URL. |
design_name_or_index | Design exact name, list index, image_id, or omitted when URL contains image_id. | |
target_platform | string | Output platform: web/android/ios/wechat_miniprogram. |
lanhu_get_design_assets Lanhu Get Design Assets
返回完整设计图与细粒度可下载切图资源。
| Parameter | Type | Description |
|---|---|---|
url * | string | Lanhu stage/detailDetach design URL. |
design_name_or_index | Design exact name, list index, image_id, or omitted when URL contains image_id. | |
target_platform | string | Output platform: web/android/ios/wechat_miniprogram. |
lanhu_export_ui_context Lanhu Export Ui Context
返回包含资产和分析的完整 Agent UI 还原上下文。
| Parameter | Type | Description |
|---|---|---|
url * | string | Lanhu stage/detailDetach design URL. |
design_name_or_index | Design exact name, list index, image_id, or omitted when URL contains image_id. | |
target_platform | string | Output platform: web/android/ios/wechat_miniprogram. |
lanhu_auth_login Lanhu Auth Login
打开专属 Chrome Profile 进行交互式 Lanhu 登录。
lanhu_auth_status Lanhu Auth Status
报告托管认证状态,不含凭据信息。
| Parameter | Type | Description |
|---|---|---|
session_id |
lanhu_auth_logout Lanhu Auth Logout
登出并删除托管 Profile,需要 confirm=true 确认。
| Parameter | Type | Description |
|---|---|---|
confirm | boolean |