Repository navigation
v1.10.0
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 projectpidrequired. - Searches accessible design projects for design names and group paths (NFKC, case-insensitive substring).
- Duplicate names are kept.
matched_by/matched_sector_pathsexplain each hit. - Check
completeandfailed_projectsbefore treating a miss as exhaustive. - Returns
project_url+design_idforlanhu_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 namesector— substring on group nameoffset/limit— page through the filtered list (limitomitted 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.