# sherotree/uwarp-mcp [Health: Active]

**Category:** 📐 Architecture & Design  
**Repository:** https://github.com/sherotree/uwarp-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 205  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sherotree-uwarp-mcp

## Description
WCAG contrast checks, HSL palette + :root CSS generation, and search over 500+ free Uwarp UI design tools.

## Tools
Capabilities this server exposes over MCP:

- **check_contrast** — Compute WCAG 2.x contrast ratio and AA/AAA pass flags for a foreground/background hex pair. Pure local math — no network.
- **generate_palette** — Generate a color palette from a seed hex using local HSL harmonies (analogous, complementary, triadic, mono). Returns named colors and a :root CSS snippet.
- **search_tools** — Search the local Uwarp tool catalog (bundled JSON — no scraping). Filter by query and optional category; returns name, summary, url, category.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "uwarp-mcp": {
    "command": "npx",
    "args": ["-y","uwarp-mcp"]
  }
}
```

## Documentation

## What sherotree/uwarp-mcp MCP server does

sherotree/uwarp-mcp exposes three MCP tools related to Uwarp, a directory of free browser-based UI tools. `check_contrast` evaluates two hexadecimal colors against WCAG 2.x contrast thresholds. `generate_palette` creates HSL harmony colors from a seed and returns both named colors and a CSS `:root` block. `search_tools` finds matching entries in a local Uwarp catalog and returns each tool’s name, summary, URL, and category.

The package is useful for design and frontend workflows where an agent needs quick color validation, a starting palette, or references to UI utilities. It does not scrape or wrap the third-party tools listed by Uwarp.

## How it works

The server runs locally as a Node.js process and communicates with an MCP client over stdio using JSON-RPC. Calculations for contrast and palettes happen on the device. Search operates against `data/tools.json`, a bundled catalog containing roughly 28 sample entries for development, rather than fetching the live Uwarp directory at query time.

`check_contrast` accepts `#RGB` or `#RRGGBB` foreground and background values. Its result includes the contrast ratio and boolean results for normal and large text at AA and AAA levels. The thresholds are AA normal 4.5, AA large 3, AAA normal 7, and AAA large 4.5.

`generate_palette` accepts a seed hex color, a harmony mode, and a requested color count. Supported modes are analogous, complementary, triadic, and mono. The count defaults to six and accepts values from three through twelve.

`search_tools` accepts search text, an optional category, and a result limit. The default limit is eight, with values from one through twenty.

## Setup and configuration

Node.js 18 or newer is required. The package can be launched without cloning through an MCP client configuration using `npx`:

```json
{
  "mcpServers": {
    "uwarp": {
      "command": "npx",
      "args": ["-y", "uwarp-mcp"]
    }
  }
}
```

For a local checkout, install dependencies, build the TypeScript project, and start the generated entry point:

```bash
npm install
npm run build
npm start
```

The same server can be configured in Cursor’s `mcp.json` or Claude Desktop’s configuration by running `node` against the absolute path to `dist/index.js`. Restart or reload the MCP servers after changing the configuration. Development mode is available through `npm run dev`, and tests run with `npm test`.

No paid API key is needed. `UWARP_API_KEY` is reserved for a future Uwarp API and is ignored by the current implementation.

## Tools and capabilities

- **`check_contrast`**: Computes a WCAG 2.x contrast ratio and AA/AAA pass flags for two hex colors.
- **`generate_palette`**: Produces three to twelve colors using a selected HSL harmony and emits matching `:root` CSS custom properties.
- **`search_tools`**: Searches the bundled Uwarp catalog, optionally filtering by category and limiting the number of results.

The project is distributed under the MIT license. Its MCP transport is local stdio; logs are written to stderr so they do not interfere with protocol messages.

_Full upstream README: https://allmcps.com/mcp/sherotree-uwarp-mcp/readme_

