MCP.Market

Lanhu Design MCP server

by blantian·io.github.blantian/lanhu-design-mcp·v0.2.0·5 stars

Read Lanhu design specs and export fine-grained UI assets with platform-adjusted units

A88/100grade A
What users say
No reviews yet
Be the first
Safety scan
A88/100

full report

Adoption
Growing

5 stars18 downloads/wk

Reviews

Write one

Nobody has reviewed Lanhu Design yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Lanhu Design tools (8)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • lanhu_analyze_design

    分析指定设计稿并返回平台调整后的 UI 结构。

  • lanhu_auth_login

    打开专属 Chrome Profile 进行交互式 Lanhu 登录。

  • lanhu_auth_logout

    登出并删除托管 Profile,需要 confirm=true 确认。

  • lanhu_auth_status

    报告托管认证状态,不含凭据信息。

  • lanhu_export_ui_context

    返回包含资产和分析的完整 Agent UI 还原上下文。

  • lanhu_get_design_assets

    返回完整设计图与细粒度可下载切图资源。

  • lanhu_get_designs

    获取项目的所有设计图列表。

  • lanhu_health_check

    返回本地配置状态,不访问网络且不暴露 Cookie 值。

Public scan report

scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it

no findings
  • Code scan17 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 68 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 88/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Lanhu Design compares

Against every graded Media MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
88/100
higher than 78% of 1,337 Media servers
Tools
8
the typical Media server has 7
Tools that change things
0%
typical: 4%. Fewer write tools means less an agent can break
GitHub stars
5
more than 82% of 715 Media servers
Downloads a week
18
more than 6% of 365 Media servers with a package

What its tools let an agent do: 8 read

Install Lanhu Design in Claude Code, Cursor or VS Code

claude mcp add lanhu-design-mcp -- uvx lanhu-design-mcp
Add to Cursor

What the publisher says

From the Lanhu Design repository's README, as published. We do not edit it. Read it on GitHub

<!-- mcp-name: io.github.blantian/lanhu-design-mcp -->

蓝湖设计 MCP

项目简介

面向 macOS 的蓝湖设计读取与细粒度 UI 资源导出 MCP 服务器。

功能

  • 读取蓝湖设计项目,列出所有设计图
  • 分析设计稿并返回平台调整后的 UI 结构(Android dp / iOS pt / Web px / 微信 rpx)
  • 返回完整设计图与 Sketch、Figma、Photoshop 细粒度切图资源及多倍率地址
  • 导出包含资产和分析的完整 Agent UI 还原上下文
  • 托管 Chrome Profile 自动登录,无需手动复制 Cookie

系统要求

  • macOS
  • Google Chrome(已安装)
  • Python 3.10 及以上

安装

pip install lanhu-design-mcp

首次登录

lanhu-design-mcp auth login
lanhu-design-mcp auth status

首次运行打开独立的本地 Chrome Profile,完成一次交互式 Lanhu 登录。后续 MCP 进程自动重用会话,正常设计工具调用不会打开可见浏览器。认证仅使用托管 Chrome Profile,不需要也不支持通过 Cookie 环境变量或 Cookie 文件配置凭据。

lanhu-design-mcp auth logout --confirm

MCP 配置

{
  "mcpServers": {
    "lanhu-design-mcp": {
      "type": "stdio",
      "command": "/Users/your-name/.local/bin/lanhu-design-mcp",
      "args": []
    }
  }
}

将 /Users/your-name 替换为你的本机用户名。此配置适用于 cc-switch 导入。

工具

使用规范

  • 调用方应将返回的签名资源 URL 下载到本地项目,不要生成对远程 Lanhu 签名 URL 的长期依赖。
  • 不得在日志、异常或 MCP 响应中记录或输出凭据信息。
  • 登出必须调用 lanhuauthlogout 并传 confirm=true,或 CLI --confirm,仅删除托管的标记 Profile。
  • 托管 Chrome Profile 仅存在于本地;认证凭据从不通过 MCP 网络传输。

常见错误

开发验证

git clone https://github.com/blantian/lanhu-design-mcp
cd lanhu-design-mcp
uv sync --dev
uv run pytest

许可证

MIT

Nothing above is checked by us. What we check is on the safety report.

Lanhu Design: common questions

Is Lanhu Design MCP server safe?
Yes, by our scan: it is graded A (88/100). Read the Lanhu Design safety report
How do I install Lanhu Design?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Lanhu Design need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Lanhu Design maintained?
The last commit was 108 days ago (2026-07-19). The latest release is v0.2.0.
What can I use instead of Lanhu Design?
Servers from other publishers that do the same job: Codesign MCP server, SheetsData MCP server and b123d-print MCP server.
How does Lanhu Design compare with other Media MCP servers?
safety score 88/100 (higher than 78% of 1,337 Media servers); tools 8 (the typical Media server has 7); tools that change things 0% (typical: 4%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Lanhu Design

Same job from other publishers: the closest match first, then the best rated.

  • Codesign
    Local design engine for AI agents: create, edit and export real, editable designs.
    A
  • SheetsData
    Electronic component datasheets for AI agents: pinouts, specs, package info and design checks.
    A
  • b123d-print
    Vibe CAD for 3D printing: design, check and export printable parts with build123d.
    A
  • sysketch
    Polished system design diagrams (SVG/PNG) from a tiny YAML spec, ~18x fewer tokens than raw SVG.
    A
  • Vision Driven Design (VDD) MCP Server
    Spec-driven development MCP server: 8 phases, bi-directional traceability, 7 quality gates.
    A