
Uwarp
io.github.sherotree由 GitHub 账号 sherotree 发布v1.0.0更新于 Oct 24, 2026
WCAG contrast checks, HSL palettes with :root CSS, and search of 500+ free Uwarp UI tools.
概览
Uwarp 的本地 MCP 服务器,可检查 WCAG 对比度、生成带 :root CSS 的 HSL 调色板,并检索内置的 UI 工具目录。
- 可以做什么
- 检查两种十六进制颜色之间的 WCAG 2.x 对比度,并给出普通文字与大号文字的 AA/AAA 判定
- 生成 HSL 和谐配色(类似色、互补色、三角色、单色),输出颜色名称与可直接粘贴的 :root CSS
- 按关键词检索内置的 Uwarp UI 工具目录,可按分类筛选并限制返回数量
- 适用场景
- 适合在 Cursor 或 Claude Desktop 等编辑器中做界面开发或评审时,快速做无障碍对比度检查、生成配色方案,或在不离开对话的情况下查找 Uwarp 工具条目。
- 运行要求
- 需要 Node.js 18 或更高版本;以 stdio 方式在本机运行,通常通过 npx 或构建后的 dist 入口启动。无需 API 密钥或账号;UWARP_API_KEY 变量为预留项,目前被忽略。
安装
在 SourceWeft 中
- 打开 控制台中的 Uwarp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
uwarp-mcp
[sherotree/uwarp-mcp MCP server]
MCP server for Uwarp — a directory of 500+ free browser UI tools.
This package exposes three local tools you can use from Cursor or Claude Desktop. No paid API key is required. Most Uwarp listings are third-party embeds; this server does not scrape or wrap them. Contrast and palette math run entirely on-device; search_tools reads a bundled local catalog (data/tools.json).
Author / context: Sherotree · https://uwarp.design · MIT
Install via npx
No clone needed. Add to your MCP client config (Cursor mcp.json, Claude Desktop, etc.):
Requirements
- Node.js 18+
Install & build
Test
Includes a check that black-on-white contrast ≈ 21.
Run locally (stdio)
The process speaks MCP over stdio (JSON-RPC on stdin/stdout). Log noise goes to stderr.
Optional env stub
Cursor (mcp.json)
Add to your Cursor MCP config (e.g. ~/.cursor/mcp.json or project .cursor/mcp.json). Point args at the built entry after npm run build:
Example if the project lives at ~/code/uwarp-mcp (use the absolute path):
Restart Cursor (or reload MCP servers) after saving.
Claude Desktop
Edit the Claude Desktop config:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop after saving.
Tool reference
check_contrast
Input
Output
Uses WCAG 2.x relative luminance and contrast ratio thresholds (AA normal ≥ 4.5, AA large ≥ 3, AAA normal ≥ 7, AAA large ≥ 4.5).
generate_palette
Input
Output
search_tools
Input
Output
Note:
search_toolsuses the local catalog indata/tools.json(sample entries for development). It does not scrape uwarp.design at runtime.
Project layout
License
MIT © Sherotree / Uwarp
来源:README.md,提交 2788dee
工具
0版本历史
1- v1.0.0最新Oct 15, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分