mcp-lanhu
v2.0.2MCP server for Lanhu (蓝湖) design collaboration platform — lets AI assistants read designs, PRDs and slices.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lanhu_resolve_invite_link
Resolve Lanhu invite/share link to actual project URL with tid/pid/docId parameters.
| Parameter | Type | Description |
|---|---|---|
invite_url * | string | Lanhu invite link. Example: https://lanhuapp.com/link/#/invite?sid=xxx |
lanhu_design
Unified Lanhu design tool. Supports listing, analyzing, extracting tokens, and getting slices. Modes: - list: List all designs in the project - analyze: Full design analysis with HTML+CSS, tokens, layers, and image (default) - slices: Extract slice/asset info for download - tokens: Extract design tokens only (fonts, colors, shadows, etc.) For detailDetach URLs (contains image_id), pass design_names='all'.
| Parameter | Type | Description |
|---|---|---|
url * | string | Lanhu project URL. Supports stage and detailDetach formats. |
design_names | Design name(s), index, or 'all'. Required for analyze/slices/tokens. Number = index from list, exact string = match by name or id. | |
include | array | Content to include in analyze mode. Default: ['html', 'tokens', 'layers', 'image']. Options: html, image (base64), tokens, layout, layers, slices. |
layer_depth | Maximum nested layer depth for analyze mode. 0 returns top-level layers only; use 'all' for the complete tree. Default: 4. | |
mode | string | Operation mode. Default: analyze. |
lanhu_page
Unified Lanhu PRD/prototype tool. Supports listing and analyzing pages. Modes: - list: List all pages in a PRD/prototype document - analyze: Analyze specified pages (default)
| Parameter | Type | Description |
|---|---|---|
url * | string | Lanhu project URL with docId (PRD/prototype). Example: https://lanhuapp.com/web/#/item/project/product?tid=xxx&pid=xxx&docId=xxx |
analysis_mode | string | Analysis perspective. Default: developer. |
mode | string | Operation mode. Default: analyze. |
page_names | Page name(s) to analyze. Use 'all' for all pages. Required for analyze mode. |