uwarp-mcp
uwarp-mcp
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).
Tool | Purpose |
| WCAG 2.x contrast ratio + AA/AAA flags |
| HSL harmony palettes + |
| Search the local Uwarp tool catalog |
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.):
{
"mcpServers": {
"uwarp": {
"command": "npx",
"args": ["-y", "uwarp-mcp"]
}
}
}Related MCP server: Color Palette Generator MCP App
Requirements
Node.js 18+
Install & build
cd /path/to/uwarp-mcp
npm install
npm run buildTest
npm testIncludes a check that black-on-white contrast ≈ 21.
Run locally (stdio)
npm start
# or during development:
npm run devThe process speaks MCP over stdio (JSON-RPC on stdin/stdout). Log noise goes to stderr.
Optional env stub
Variable | Notes |
| Reserved for a future Uwarp API. Ignored today — no paid key needed. |
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:
{
"mcpServers": {
"uwarp": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/uwarp-mcp/dist/index.js"]
}
}
}Example if the project lives at ~/code/uwarp-mcp (use the absolute path):
{
"mcpServers": {
"uwarp": {
"command": "node",
"args": ["/Users/you/code/uwarp-mcp/dist/index.js"]
}
}
}Restart Cursor (or reload MCP servers) after saving.
Claude Desktop
Edit the Claude Desktop config:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"uwarp": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/uwarp-mcp/dist/index.js"]
}
}
}Restart Claude Desktop after saving.
Tool reference
check_contrast
Input
Field | Type | Description |
| string | Hex |
| string | Hex |
Output
{
"ratio": 21,
"aa_normal": true,
"aa_large": true,
"aaa_normal": true,
"aaa_large": true
}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
Field | Type | Default | Description |
| string | — | Seed hex |
|
|
| Harmony mode |
| number |
| Colors, 3–12 |
Output
{
"colors": [{ "name": "Mid Blue", "hex": "#3b82f6" }],
"css": ":root {\n --color-1: #3b82f6; /* Mid Blue */\n}"
}search_tools
Input
Field | Type | Default | Description |
| string | — | Search text |
| string | — | Optional filter (e.g. |
| number |
| Max results, 1–20 |
Output
{
"tools": [
{
"name": "Contrast Checker",
"summary": "…",
"url": "https://uwarp.design/tools/contrast-checker",
"category": "color"
}
]
}Note:
search_toolsuses the local catalog indata/tools.json(sample entries for development). It does not scrape uwarp.design at runtime.
Project layout
uwarp-mcp/
├── data/tools.json # Local Uwarp catalog (~28 samples)
├── src/
│ ├── index.ts # MCP stdio entry
│ └── tools/
│ ├── check_contrast.ts
│ ├── generate_palette.ts
│ └── search_tools.ts
├── tests/
├── dist/ # After npm run build
├── package.json
├── tsconfig.json
├── LICENSE
└── README.mdLicense
MIT © Sherotree / Uwarp
Available Tools
3 toolscheck_contrastA
Compute WCAG 2.x contrast ratio and AA/AAA pass flags for a foreground/background hex pair. Pure local math — no network.
Inputs: background (required), foreground (required).
generate_paletteA
Generate a color palette from a seed hex using local HSL harmonies (analogous, complementary, triadic, mono). Returns named colors and a :root CSS snippet.
Inputs: seed (required), count, harmony.
search_toolsA
Search the local Uwarp tool catalog (bundled JSON — no scraping). Filter by query and optional category; returns name, summary, url, category.
Inputs: query (required), limit, category.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: palette generation, catalog search, and contrast checking. There is no overlap between generating colors, searching tools, and evaluating contrast.
All three tools follow a consistent verb_noun snake_case pattern: generate_palette, search_tools, check_contrast. No deviations or mixed conventions.
Three tools is reasonable for a small utility server, but the surface spans two unrelated areas (color utilities and tool catalog search), leaving each sub-domain a bit thin. It is slightly under-scoped rather than excessive.
Color workflows cover palette generation and contrast checking but lack color format conversion or palette validation. The tool catalog only supports search with no operation to retrieve full tool details, leaving a notable gap.
Related MCP Connectors
AI-agent design tools: fonts, font recognition, palettes, color naming, contrast, code, SVG, CSS.
Checks, prompts and skills for designers working with AI: contrast, a11y, heuristics, critique.
18 color tools: OKLCH, WCAG and APCA contrast fixes, palettes, gradients, color blindness, tokens.
WCAG contrast & palettes
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA comprehensive toolkit for color conversion, manipulation, and accessibility analysis supporting formats like OkLCH and WCAG compliance. It enables AI agents to manage design systems by generating harmonious palettes, transforming color spaces, and performing contrast checks.2MIT
- FlicenseNot gradedqualityDmaintenanceEnables users to generate color palettes (complementary, analogous, triadic, etc.) and check WCAG contrast ratios within AI chat applications using interactive UI.-
- AlicenseAqualityDmaintenanceProvides WCAG 2.1 color contrast checking tools, including contrast ratio computation, compliance evaluation, and accessible color suggestions for AI assistants.342 npmApache 2.0
- AlicenseAqualityCmaintenanceEnables AI assistants to work with color: converting between formats like HEX, OKLCH and Display P3, checking and fixing WCAG 2 and APCA contrast, auditing palettes for accessibility and color blindness, and generating palettes, gradients, scales and design tokens.18MIT