dsphper/lanhu-mcp
⚡ 需求分析效率提升 200%!全球首个为 AI 编程时代设计的团队协作 MCP 服务器,自动分析需求自动编写前后端代码,下载切图
46df70298814Paths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 1,191 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 1 tool, prompt or resource registered only in the repository's tests is not counted on this page
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 17 tools, 2 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
lanhu_get_ai_analyze_page_result, lanhu_inspect_requirement_region, lanhu_resolve_invite_linklanhu_design_bundle, lanhu_design_preview, lanhu_export_design_assets, lanhu_get_ai_analyze_design_result, lanhu_get_ai_analyze_page_result, lanhu_get_design_overview and 11 morelanhu_export_design_assets, lanhu_get_ai_analyze_design_result, lanhu_get_ai_analyze_page_result, lanhu_get_design_overview, lanhu_get_pages, lanhu_inspect_design_region and 3 morelanhu_get_ai_analyze_design_result, lanhu_get_ai_analyze_page_result, lanhu_get_design_slices, lanhu_get_designs, lanhu_get_members, lanhu_get_pages and 6 moreNo tool was seen to: read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files17 tools · lanhu_design_bundle, lanhu_design_preview, lanhu_export_design_assets +14
- web or API responses1 tool · lanhu_export_design_assets
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (19: 17 tools, 2 resources)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
lanhu_design_bundleresource Verified original assets and their portable manifest; install on the client.Filesoutside text
Verified original assets and their portable manifest; install on the client.
lanhu_design_previewresource The exact crop generated by a visual design query.Filesoutside text
The exact crop generated by a visual design query.
lanhu_export_design_assetstool Download original design assets, verify pixels/hash and deliver a portable ZIP + manifest.FilesNetworkoutside text
Download original design assets, verify pixels/hash and deliver a portable ZIP + manifest.
Prefer explicit asset_ids selected from visual context. Without IDs, kind defaults to
designer-exported assets; render_fallback/image_fill/all can be requested explicitly.
target_dpr checks source resolution; it never upscales or blindly assumes 2x is original.
format_preference: original, prefer_svg (explicit fallback when absent), or raster.
Read bundle_resource via MCP and run lanhu_design.install on the CLIENT to write assets
into its project. A server cache path is not a client path. Partial exports list failures.lanhu_get_ai_analyze_design_resulttool Legacy full-design preview and generated HTML/CSS reference.FilesNetworkEnv varsoutside text
Legacy full-design preview and generated HTML/CSS reference.
Prefer lanhu_get_design_overview and lanhu_inspect_design_region for versioned,
ID-based visual evidence. Generated CSS is a derived layout suggestion; compare
with raw attributes and the reference image. A Sketch background-overlay fallback
is a reference rendering, not a component implementation. To download and verify
originals, use lanhu_export_design_assets with IDs from the new visual tools.lanhu_get_ai_analyze_page_resulttool [PRD/Requirement Document] Analyze Lanhu Axure prototype pages - GET VISUAL CONTENTProcessesFilesNetworkEnv varsoutside text
[PRD/Requirement Document] Analyze Lanhu Axure prototype pages - GET VISUAL CONTENT
USE THIS WHEN user says: 需求文档, 需求, PRD, 产品文档, 原型, 交互稿, Axure, 看看需求, 帮我看需求, 分析需求, 需求分析
DO NOT USE for: UI设计图, 设计稿, 视觉设计, 切图 (use lanhu_get_ai_analyze_design_result instead)
FOUR-STAGE WORKFLOW (ZERO OMISSION):
1. STAGE 1: Call with mode="text_only" and page_names="all" for global text scan
- Purpose: Build god's view, understand structure, design grouping strategy
- Output: Text only (fast)
- ⚠️ IMPORTANT: After STAGE 1, MUST ask user to choose analysis_mode!
2. STAGE 2: Call with mode="full" for each group (output format varies by analysis_mode)
- developer: Extract ALL details (fields, rules, flows) - for coding
- tester: Extract test scenarios, validation points, field rules - for test cases
- explorer: Extract core functions only (3-5 points) - for requirement review
3. STAGE 3: Reverse validation (format varies by analysis_mode)
4. STAGE 4: Generate deliverable (format varies by analysis_mode)
- developer: Detailed requirement doc + global flowchart
- tester: Test plan + test case list + field validation table
- explorer: Review PPT-style doc + module table + dependency diagram
Returns:
- mode="text_only": Text content only (for fast global scan)
- mode="full": The established full screenshot plus readable overlapping detail tiles
for long pages, followed by text and design style info. Use tile_offset/tile_limit
to page through more than four detail tiles. Each page includes [设计样式参考] with:
- 文字颜色: exact text colors used (rgba/rgb values, sorted by frequency)
- 背景颜色: exact background colors used
- 字体规格: font-size / font-weight / color combinations
- 页面图片资源: all images used on the page with dimensions and local paths
When generating code, you MUST use these exact color/font/size values from
[设计样式参考] instead of guessing. For images, use the local file paths provided.lanhu_get_design_overviewtool Prepare an immutable UI design snapshot and return an image plus a paginated node index.FilesNetworkoutside text
Prepare an immutable UI design snapshot and return an image plus a paginated node index.
Use design_id from lanhu_get_designs to avoid ambiguous names. version_id defaults to
the URL version or the current version; pass 'latest' explicitly to override the URL.
Source names are labels, not semantics. Annotate adds stable N-number -> node_id labels.
Inspect a region or node IDs next, then export chosen asset IDs. No business component
classification is performed. All later calls use the returned snapshot_id.lanhu_get_design_slicestool [UI Slices/Assets] Get slice/asset info from Lanhu design for downloadFilesEnv varsoutside text
[UI Slices/Assets] Get slice/asset info from Lanhu design for download
USE THIS WHEN user says: 切图, 下载切图, 图标, icon, 素材, 资源, 导出切图, 下载素材, 获取图标
DO NOT USE for: 需求文档, PRD, 原型 (use lanhu_get_pages instead)
DO NOT USE for: 看设计图, 设计评审 (use lanhu_get_designs instead)
WORKFLOW: First call lanhu_get_designs to get design list, then call this to get slices from specific design.
Returns:
Slice list with download URLs, AI will handle smart naming and batch downloadlanhu_get_designstool [UI Design] Get Lanhu UI design image list - CALL THIS FIRST before analyzing designsFilesEnv varsoutside text
[UI Design] Get Lanhu UI design image list - CALL THIS FIRST before analyzing designs
USE THIS WHEN user says: UI设计图, 设计图, 设计稿, 视觉设计, UI稿, 看看设计, 帮我看设计图, 设计评审
DO NOT USE for: 需求文档, PRD, 原型, 交互稿, Axure (use lanhu_get_pages instead)
DO NOT USE for: 切图, 图标, 素材 (use lanhu_get_design_slices instead)
Purpose: Get list of UI design images from designers. Must call this BEFORE lanhu_get_ai_analyze_design_result.
Returns:
Design image list and project metadatalanhu_get_memberstool Get project collaborators listFilesEnv varsoutside text
Get project collaborators list
USE THIS WHEN user says: 谁参与了, 协作者, 团队成员, 有哪些人
Purpose: Get list of team members who have used Lanhu MCP tools to access this project
Returns:
Collaborator list with first and last access timelanhu_get_pagestool [PRD/Requirement Document] Get page list of Lanhu Axure prototype - CALL THIS FIRST before analyzingFilesNetworkEnv varsoutside text
[PRD/Requirement Document] Get page list of Lanhu Axure prototype - CALL THIS FIRST before analyzing
USE THIS WHEN user says: 需求文档, 需求, PRD, 产品文档, 原型, 交互稿, Axure, 看看需求, 帮我看需求, 需求分析
DO NOT USE for: UI设计图, 设计稿, 视觉设计, 切图 (use lanhu_get_designs instead)
Purpose: Get page list of PRD/requirement/prototype document. Must call this BEFORE lanhu_get_ai_analyze_page_result.
Returns:
Page list and document metadatalanhu_inspect_design_regiontool Return a clear crop with stable node labels, source ancestors/styles and associated asset IDs.FilesNetworkoutside text
Return a clear crop with stable node labels, source ancestors/styles and associated asset IDs.
Specify region={x,y,width,height} in source_canvas coordinates or explicit node_ids from
the overview. Results include the source-to-image scale, pagination and optional DDS
layout suggestions. Geometric overlap is a search filter, not a semantic component.
When annotated, the first image is clean and the second adds node labels.
Choose assets by visual evidence and IDs; names need not be meaningful.lanhu_inspect_requirement_regiontool Return compact, readable visual evidence around one requirement reference.ProcessesFilesNetworkEnv varsoutside text
Return compact, readable visual evidence around one requirement reference.
Use this for phrases such as "这两个字段", "如下", "红框处", or when a full-page
screenshot is too large to read. The tool never runs OCR and never guesses field semantics.
It searches rendered Axure text coordinates, returns all ambiguous matches as previews, and
lets the vision model choose a block_id. For text baked into an image, pass a source bbox or
a tile_id from the normal requirement analysis response.lanhu_list_product_documentstool [PRD/Requirement Document Discovery] List all product documents (PRD/prototype) in a Lanhu project.
[PRD/Requirement Document Discovery] List all product documents (PRD/prototype) in a Lanhu project.
USE THIS WHEN user says: 有哪些需求文档, 列出项目的文档, 项目下的PRD列表, 产品文档列表,
这个项目有什么文档, 文档列表, list documents, product_documents, 所有文档, 全部 PRD
DO NOT USE for: 获取某个具体文档的页面 (use lanhu_get_pages instead),
UI设计图列表 (use lanhu_get_designs instead)
Purpose: Discover available PRD/requirement documents in a project so the user can pick
the right one to analyze. Typically used BEFORE lanhu_get_pages when docId is unknown.
Returns a dict with top-level metadata and a simplified `documents` list. Each document
carries a ready-to-use `doc_url` that can be fed straight into lanhu_get_pages.lanhu_resolve_invite_linktool Resolve Lanhu invite/share link to actual project URLProcesses
Resolve Lanhu invite/share link to actual project URL
USE THIS WHEN: User provides invite link (lanhuapp.com/link/#/invite?sid=xxx)
Purpose: Convert invite link to usable project URL with tid/pid/docId parameters
Returns:
Resolved URL and parsed parameterslanhu_saytool Post message to team message boardFilesNetworkEnv varsoutside text
Post message to team message board
USE THIS WHEN user says: 有话说, 留言, 发消息, 通知团队, 告诉xxx, @张三, @李四, 共享给xxx, 分享给xxx, 发给xxx, 写给xxx, 转发给xxx
Message type description:
- normal: Normal message/notification (default)
- task: Query task - Only for query operations (query code, query database, query TODO, etc.), NO code modification
- question: Question message - Needs answer from others
- urgent: Urgent message - Needs immediate attention
- knowledge: Knowledge base - Long-term preserved experience, pitfalls, notes, best practices
Security restrictions:
task type can only be used for query operations, including:
- Query code location, code logic
- Query database table structure, data
- Query test methods, test coverage
- Query TODO, comments
- Forbidden: Modify code, delete files, execute commands, commit code
Knowledge use cases:
- Pitfalls encountered and solutions
- Testing notes
- Development experience and best practices
- Common FAQ
- Technical decision records
Purpose: Post message to project message board, can @ specific person to send Feishu notification
Returns:
Post result, including message ID and detailslanhu_say_deletetool Delete messageFilesEnv varsoutside text
Delete message
USE THIS WHEN user says: 删除留言, 删除消息, 移除
Purpose: Delete published message
Returns:
Delete resultlanhu_say_detailtool Get message detail (supports batch query)FilesEnv varsoutside text
Get message detail (supports batch query)
USE THIS WHEN user says: 查看详情, 看看内容, 详细内容, 消息详情
Two modes:
1. Provide url: Parse project_id from url, query messages in that project
2. url='all'/None + project_id: Global mode, need to manually specify project_id
Purpose: Get full content of messages by message ID
Returns:
Message detail list with full contentlanhu_say_edittool Edit messageFilesNetworkEnv varsoutside text
Edit message
USE THIS WHEN user says: 编辑留言, 修改消息, 更新内容
Purpose: Edit published message, will record editor and edit time
Returns:
Updated message detailslanhu_say_listtool Get message list with filtering and searchFilesEnv varsoutside text
Get message list with filtering and search
USE THIS WHEN user says: 查看留言, 有什么消息, 谁@我了, 留言列表, 消息列表
Supports two modes:
1. Provide specific URL: Query messages in that project
2. url='all' or url=None: Query messages in all projects (global mode)
Important: To prevent AI context overflow, it is recommended:
1. Use filter_type to filter by type
2. Use search_regex for further filtering (regex, AI can generate itself)
3. Use limit to limit the number of returned messages
4. Unless user explicitly requests "view all", filters must be used
Example:
- Query all knowledge: filter_type="knowledge"
- Search containing "test" or "refund": search_regex="test|refund"
- Query tasks and containing "database": filter_type="task", search_regex="database"
- Limit to 10 latest: limit=10
Purpose: Get message board message summary list, supports type filtering, regex search and quantity limit
Returns:
Message list, including mentions_me countText the model reads (19)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
lanhu_resolve_invite_link tool
Resolve Lanhu invite/share link to actual project URL
USE THIS WHEN: User provides invite link (lanhuapp.com/link/#/invite?sid=xxx)
Purpose: Convert invite link to usable project URL with tid/pid/docId parameters
Returns:
Resolved URL and parsed parameterslanhu_list_product_documents tool
[PRD/Requirement Document Discovery] List all product documents (PRD/prototype) in a Lanhu project.
USE THIS WHEN user says: 有哪些需求文档, 列出项目的文档, 项目下的PRD列表, 产品文档列表,
这个项目有什么文档, 文档列表, list documents, product_documents, 所有文档, 全部 PRD
DO NOT USE for: 获取某个具体文档的页面 (use lanhu_get_pages instead),
UI设计图列表 (use lanhu_get_designs instead)
Purpose: Discover available PRD/requirement documents in a project so the user can pick
the right one to analyze. Typically used BEFORE lanhu_get_pages when docId is unknown.
Returns a dict with top-level metadata and a simplified `documents` list. Each document
carries a ready-to-use `doc_url` that can be fed straight into lanhu_get_pages.lanhu_get_pages tool
[PRD/Requirement Document] Get page list of Lanhu Axure prototype - CALL THIS FIRST before analyzing
USE THIS WHEN user says: 需求文档, 需求, PRD, 产品文档, 原型, 交互稿, Axure, 看看需求, 帮我看需求, 需求分析
DO NOT USE for: UI设计图, 设计稿, 视觉设计, 切图 (use lanhu_get_designs instead)
Purpose: Get page list of PRD/requirement/prototype document. Must call this BEFORE lanhu_get_ai_analyze_page_result.
Returns:
Page list and document metadatalanhu_get_ai_analyze_page_result tool
[PRD/Requirement Document] Analyze Lanhu Axure prototype pages - GET VISUAL CONTENT
USE THIS WHEN user says: 需求文档, 需求, PRD, 产品文档, 原型, 交互稿, Axure, 看看需求, 帮我看需求, 分析需求, 需求分析
DO NOT USE for: UI设计图, 设计稿, 视觉设计, 切图 (use lanhu_get_ai_analyze_design_result instead)
FOUR-STAGE WORKFLOW (ZERO OMISSION):
1. STAGE 1: Call with mode="text_only" and page_names="all" for global text scan
- Purpose: Build god's view, understand structure, design grouping strategy
- Output: Text only (fast)
- ⚠\ufe0f IMPORTANT: After STAGE 1, MUST ask user to choose analysis_mode!
2. STAGE 2: Call with mode="full" for each group (output format varies by analysis_mode)
- developer: Extract ALL details (fields, rules, flows) - for coding
- tester: Extract test scenarios, validation points, field rules - for test cases
- explorer: Extract core functions only (3-5 points) - for requirement review
3. STAGE 3: Reverse validation (format varies by analysis_mode)
4. STAGE 4: Generate deliverable (format varies by analysis_mode)
- developer: Detailed requirement doc + global flowchart
- tester: Test plan + test case list + field validation table
- explorer: Review PPT-style doc + module table + dependency diagram
Returns:
- mode="text_only": Text content only (for fast global scan)
- mode="full": The established full screenshot plus readable overlapping detail tiles
for long pages, followed by text and design style info. Use tile_offset/tile_limit
to page through more than four detail tiles. Each page includes [设计样式参考] with:
- 文字颜色: exact text colors used (rgba/rgb values, sorted by frequency)
- 背景颜色: exact background colors used
- 字体规格: font-size / font-weight / color combinations
- 页面图片资源: all images used on the page with dimensions and local paths
When generating code, you MUST use these exact color/font/size values from
[设计样式参考] instead of guessing. For images, use the local file paths provided.lanhu_inspect_requirement_region tool
Return compact, readable visual evidence around one requirement reference.
Use this for phrases such as "这两个字段", "如下", "红框处", or when a full-page
screenshot is too large to read. The tool never runs OCR and never guesses field semantics.
It searches rendered Axure text coordinates, returns all ambiguous matches as previews, and
lets the vision model choose a block_id. For text baked into an image, pass a source bbox or
a tile_id from the normal requirement analysis response.lanhu_get_designs tool
[UI Design] Get Lanhu UI design image list - CALL THIS FIRST before analyzing designs
USE THIS WHEN user says: UI设计图, 设计图, 设计稿, 视觉设计, UI稿, 看看设计, 帮我看设计图, 设计评审
DO NOT USE for: 需求文档, PRD, 原型, 交互稿, Axure (use lanhu_get_pages instead)
DO NOT USE for: 切图, 图标, 素材 (use lanhu_get_design_slices instead)
Purpose: Get list of UI design images from designers. Must call this BEFORE lanhu_get_ai_analyze_design_result.
Returns:
Design image list and project metadatalanhu_get_ai_analyze_design_result tool
Legacy full-design preview and generated HTML/CSS reference.
Prefer lanhu_get_design_overview and lanhu_inspect_design_region for versioned,
ID-based visual evidence. Generated CSS is a derived layout suggestion; compare
with raw attributes and the reference image. A Sketch background-overlay fallback
is a reference rendering, not a component implementation. To download and verify
originals, use lanhu_export_design_assets with IDs from the new visual tools.lanhu_get_design_slices tool
[UI Slices/Assets] Get slice/asset info from Lanhu design for download
USE THIS WHEN user says: 切图, 下载切图, 图标, icon, 素材, 资源, 导出切图, 下载素材, 获取图标
DO NOT USE for: 需求文档, PRD, 原型 (use lanhu_get_pages instead)
DO NOT USE for: 看设计图, 设计评审 (use lanhu_get_designs instead)
WORKFLOW: First call lanhu_get_designs to get design list, then call this to get slices from specific design.
Returns:
Slice list with download URLs, AI will handle smart naming and batch downloadlanhu_say tool
Post message to team message board
USE THIS WHEN user says: 有话说, 留言, 发消息, 通知团队, 告诉xxx, @张三, @李四, 共享给xxx, 分享给xxx, 发给xxx, 写给xxx, 转发给xxx
Message type description:
- normal: Normal message/notification (default)
- task: Query task - Only for query operations (query code, query database, query TODO, etc.), NO code modification
- question: Question message - Needs answer from others
- urgent: Urgent message - Needs immediate attention
- knowledge: Knowledge base - Long-term preserved experience, pitfalls, notes, best practices
Security restrictions:
task type can only be used for query operations, including:
- Query code location, code logic
- Query database table structure, data
- Query test methods, test coverage
- Query TODO, comments
- Forbidden: Modify code, delete files, execute commands, commit code
Knowledge use cases:
- Pitfalls encountered and solutions
- Testing notes
- Development experience and best practices
- Common FAQ
- Technical decision records
Purpose: Post message to project message board, can @ specific person to send Feishu notification
Returns:
Post result, including message ID and detailslanhu_say_list tool
Get message list with filtering and search
USE THIS WHEN user says: 查看留言, 有什么消息, 谁@我了, 留言列表, 消息列表
Supports two modes:
1. Provide specific URL: Query messages in that project
2. url='all' or url=None: Query messages in all projects (global mode)
Important: To prevent AI context overflow, it is recommended:
1. Use filter_type to filter by type
2. Use search_regex for further filtering (regex, AI can generate itself)
3. Use limit to limit the number of returned messages
4. Unless user explicitly requests "view all", filters must be used
Example:
- Query all knowledge: filter_type="knowledge"
- Search containing "test" or "refund": search_regex="test|refund"
- Query tasks and containing "database": filter_type="task", search_regex="database"
- Limit to 10 latest: limit=10
Purpose: Get message board message summary list, supports type filtering, regex search and quantity limit
Returns:
Message list, including mentions_me countlanhu_say_detail tool
Get message detail (supports batch query)
USE THIS WHEN user says: 查看详情, 看看内容, 详细内容, 消息详情
Two modes:
1. Provide url: Parse project_id from url, query messages in that project
2. url='all'/None + project_id: Global mode, need to manually specify project_id
Purpose: Get full content of messages by message ID
Returns:
Message detail list with full contentlanhu_say_edit tool
Edit message
USE THIS WHEN user says: 编辑留言, 修改消息, 更新内容
Purpose: Edit published message, will record editor and edit time
Returns:
Updated message detailslanhu_say_delete tool
Delete message
USE THIS WHEN user says: 删除留言, 删除消息, 移除
Purpose: Delete published message
Returns:
Delete resultlanhu_get_members tool
Get project collaborators list
USE THIS WHEN user says: 谁参与了, 协作者, 团队成员, 有哪些人
Purpose: Get list of team members who have used Lanhu MCP tools to access this project
Returns:
Collaborator list with first and last access timelanhu_get_design_overview tool
Prepare an immutable UI design snapshot and return an image plus a paginated node index.
Use design_id from lanhu_get_designs to avoid ambiguous names. version_id defaults to
the URL version or the current version; pass 'latest' explicitly to override the URL.
Source names are labels, not semantics. Annotate adds stable N-number -> node_id labels.
Inspect a region or node IDs next, then export chosen asset IDs. No business component
classification is performed. All later calls use the returned snapshot_id.lanhu_inspect_design_region tool
Return a clear crop with stable node labels, source ancestors/styles and associated asset IDs.
Specify region={x,y,width,height} in source_canvas coordinates or explicit node_ids from
the overview. Results include the source-to-image scale, pagination and optional DDS
layout suggestions. Geometric overlap is a search filter, not a semantic component.
When annotated, the first image is clean and the second adds node labels.
Choose assets by visual evidence and IDs; names need not be meaningful.lanhu_export_design_assets tool
Download original design assets, verify pixels/hash and deliver a portable ZIP + manifest.
Prefer explicit asset_ids selected from visual context. Without IDs, kind defaults to
designer-exported assets; render_fallback/image_fill/all can be requested explicitly.
target_dpr checks source resolution; it never upscales or blindly assumes 2x is original.
format_preference: original, prefer_svg (explicit fallback when absent), or raster.
Read bundle_resource via MCP and run lanhu_design.install on the CLIENT to write assets
into its project. A server cache path is not a client path. Partial exports list failures.lanhu_design_preview resource
The exact crop generated by a visual design query.
lanhu_design_bundle resource
Verified original assets and their portable manifest; install on the client.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processes3 of 19 capabilities start processes; 16 more call code the scanner could not follow, where it may happen
- Tools that touch files17 of 19 capabilities touch files; 2 more call code the scanner could not follow, where it may happen
- Tools that call the network9 of 19 capabilities call the network; 10 more call code the scanner could not follow, where it may happen
Where the code is: 19 handlers in 1 file at commit 46df70298814
lanhu_mcp_server.pylanhu_resolve_invite_link, lanhu_list_product_documents, lanhu_get_pages, lanhu_get_ai_analyze_page_result, lanhu_inspect_requirement_region, lanhu_get_designs, lanhu_get_ai_analyze_design_result, lanhu_get_design_slices, lanhu_say, lanhu_say_list, lanhu_say_detail, lanhu_say_edit +7
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests2 manifests: pyproject.toml, requirements.txt
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 2 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; requirements.txt: 9 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionfastmcp >=3.0.2,<4
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 19 capabilities; 19 more call code the scanner could not follow, where it may happen
- Environment variables12 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (1 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp >=3.0.2,<4 |
| Servers in the code | 2 (Lanhu Axure Extractor, credential-probe) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-03 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 4 catalogs (github_search, glama, mcp_toplist, mcpservers_org) |
|---|---|
| License | MIT |
| Created | 2025-12-17 |
| Topics | ai ai-agents ai-coding ai-tools mcp mcp-service mcp-tools |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.