lanhu-mcp

MCP.Pizza Chef: dsphper

Connect this tool to your Lanhu design account, and it will pull your team's design mockups, spec measurements, colors, and fonts, plus your requirement documents, directly into whatever AI coding assistant you use. It works with Cursor, Cline, Windsurf, and Claude Code, and every teammate's assistant shares the same notes, so nobody re-explains the same requirement twice. You'll need a Lanhu account, and its login cookie, to connect, and installing it takes some technical setup with Python or Docker.

Coding
Images/Design
Notes

Use This MCP server To

Pull design files and requirement docs straight into my coding assistant Get exact colors, spacing, and fonts from any design mockup Turn a design screenshot into ready-to-use webpage code Download image icons and graphics straight from a design file Share notes and know-how with every teammate's AI assistant Get a summary of a requirements document before I start building

README

🎨 Lanhu MCP Server | 蓝湖MCP服务器2.0

让所有 AI 助手共享团队知识,打破 AI IDE 孤岛

lanhumcp | 蓝湖mcp | lanhu-mcp | 蓝湖AI助手 | 蓝湖skills | Lanhu AI Integration

License: MIT Python 3.10+ MCP FastMCP PRs Welcome GitHub Stars GitHub Issues GitHub Release Code of Conduct

English | 简体中文

快速开始 • 功能特性 • 使用文档 • 贡献指南


🌟 项目亮点

一个功能强大的 Model Context Protocol (MCP) 服务器,专为 AI 编程时代设计,完美支持蓝湖(Lanhu)设计协作平台。

🔥 核心创新:

  • 📋 智能需求分析:自动提取 Axure 原型,三种分析模式(开发/测试/探索),需求分析准确率>95%
  • 💬 团队知识库:打破 AI IDE 孤岛,让所有 AI 助手共享知识库和上下文
  • 🎨 UI设计支持:自动下载设计稿,智能提取切图,语义化命名;设计图分析可获取尺寸/间距/颜色/字体等精确参数,并得到转换后的 HTML+CSS 代码参考
  • ⚡ 性能优化:基于版本号的智能缓存,增量更新,并发处理

🎯 适用场景:

lanhu-mcp FAQ

Which apps does this work with?
It connects to AI coding assistants such as Cursor, Cline, Windsurf, and Claude Code — any tool that supports the Model Context Protocol.
Do I need an account to use this?
Yes. You need a Lanhu design account, and you'll copy a login cookie from your browser so the tool can access your team's files. An optional Feishu (Lark) messaging connection lets it send you notifications, but that part is not required.
How hard is this to set up?
It takes some technical know-how. You'll need to install Python or Docker on a computer and run a short setup script, so it's best handled by someone on your team who is comfortable with basic command-line steps.
Can I use this to pull exact colors, spacing, and fonts from a design file?
Yes — it reads a design mockup and hands your assistant the precise measurements, color codes, and font sizes, instead of just a picture.
Can I use this to turn a design into working code?
Yes — it can convert a design layout into ready-to-use webpage code that your AI assistant can hand off to a developer or use as a starting point.
Does this work with ChatGPT or Gemini as well as Claude?
The tool needs an AI model that can see and understand images, so it works with Claude, GPT, and Gemini alike, as long as your app connects that model through the Model Context Protocol.
What is Lanhu, and do I need to already use it at my company?
Lanhu is a design collaboration platform used mainly by teams in China. This tool only helps if your team already stores its design files and requirement documents there.
Will my whole team see the same information through their own AI assistants?
Yes — once connected, every teammate's AI assistant reads from the same shared notes, so a requirement or design detail one person's AI already found doesn't have to be explained again to someone else's.