Skip to content

v1.10.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 08:31
· 2 commits to main since this release

Lanhu MCP v1.10.0

Two community features for finding designs without drowning in a full project dump.

Thanks to @guowenlong123 (#138, closes #137) and @flycran (#141).

Team-wide search

New tool lanhu_search_team_designs(keyword, url=None, team_id=None, limit=50, offset=0):

  • Accepts a team dashboard URL or tid. No project pid required.
  • Searches accessible design projects for design names and group paths (NFKC, case-insensitive substring).
  • Duplicate names are kept. matched_by / matched_sector_paths explain each hit.
  • Check complete and failed_projects before treating a miss as exhaustive.
  • Returns project_url + design_id for lanhu_get_design_overview.

This is a metadata scan of accessible projects (max 4 concurrent), not a native Lanhu team-search API.

Paginated design lists

lanhu_get_designs now accepts:

  • search — case-insensitive substring on design name
  • sector — substring on group name
  • offset / limit — page through the filtered list (limit omitted still returns everything)

Pagination metadata (matched, returned, next_offset, truncated) is placed before designs so client output truncation keeps the next-page hint. Global index stays stable across pages and filters.

Docker env-file quotes

MCP_TRANSPORT, SERVER_HOST, and SERVER_PORT strip wrapping quotes, so SERVER_HOST="0.0.0.0" from docker run --env-file still binds correctly.

中文摘要

  • 新工具 lanhu_search_team_designs:只给团队链接/tid 和关键词,即可跨项目找设计稿。
  • lanhu_get_designs 支持 search / sector / offset / limit,大项目不再被客户端输出预算砍掉尾部。
  • Docker --env-file 带引号的 SERVER_HOST 不再把引号带进启动参数。
  • 请下载 v1.10.0:Releases

Upgrade

Download v1.10.0, reinstall if you use a package install, and restart the MCP client so it discovers the 18th tool.