mcp-lanhu

v2.0.2
mcp-lanhu Checked 3 days ago Published 3 months ago

MCP 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_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'.

ParameterTypeDescription
url *stringLanhu project URL. Supports stage and detailDetach formats.
design_namesDesign name(s), index, or 'all'. Required for analyze/slices/tokens. Number = index from list, exact string = match by name or id.
includearrayContent to include in analyze mode. Default: ['html', 'tokens', 'layers', 'image']. Options: html, image (base64), tokens, layout, layers, slices.
layer_depthMaximum nested layer depth for analyze mode. 0 returns top-level layers only; use 'all' for the complete tree. Default: 4.
modestringOperation 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)

ParameterTypeDescription
url *stringLanhu project URL with docId (PRD/prototype). Example: https://lanhuapp.com/web/#/item/project/product?tid=xxx&pid=xxx&docId=xxx
analysis_modestringAnalysis perspective. Default: developer.
modestringOperation mode. Default: analyze.
page_namesPage name(s) to analyze. Use 'all' for all pages. Required for analyze mode.