# UI Craft

> Deterministic UI quality checks for AI coding agents.

- **URL**: https://followmcp.com/en/servers/educlopez-mcp
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 501
- **FMRS Score**: 58/100 (Grade C)
- **Source**: https://github.com/educlopez/ui-craft/tree/main/mcp
- **Transports**: stdio (local process)
- **Runtimes**: Node.js 20+
- **Auth**: No credential needed

## Overview
UI Craft MCP is a stdio server for interface quality checks and part of the UI Craft design engineering system. Its tools provide task routing, anti-slop scanning, design-token checks, acceptance checklists, and UI scoring. The server returns reproducible rule-based results; aesthetic judgment and design guidance belong to the UI Craft skill layer.

## Best for
- Frontend teams or AI coding agents using an stdio MCP client that need deterministic UI quality checks.
- Projects that want anti-slop, token-discipline, or static quality-score checks in their workflow.

## Not for
- Users who need the MCP server to generate or edit UI code directly.
- Users who need the server to judge aesthetics, usability, or design quality; the documentation assigns those judgments to the UI Craft skill.
- Environments without stdio MCP support or Node.js 20 or newer.

## Required permissions
- Tools accept inline code or file and directory paths for checks; path-based use requires the client runtime to be able to read the relevant project files.
- The optional UI_CRAFT_MCP_SKILLS environment variable defaults to 0; set it to 1 only when the host supports Skills over MCP and native UI Craft skills are not installed.

## Risks
- Static rule checks and scoring do not replace aesthetic judgment or a complete usability review.
- The README says URL fold checks render the target URL; use them only with intended pages and account for the network access this requires.
- Results depend on the supplied code and the rules covered. No findings do not prove that a UI is defect-free.

## Client config (JSON)
```json
{"mcpServers":{"ui-craft":{"command":"npx","args":["-y","ui-craft-mcp@1.0.0"]}}}
```

## Tools (7)
- `route_task`: Maps a natural-language UI task to relevant references, commands, and MCP tools, with a suggested first move.
- `check_anti_slop`: Scans code for common AI-generated UI patterns using deterministic rules.
- `tokens_lint`: Checks code for raw hex colors, off-scale radius and spacing values, and magic z-index integers.
- `acceptance_bar`: Returns an acceptance checklist for a dashboard, landing page, auth screen, or generic UI surface.
- `score_ui`: Produces a deterministic 0–100 UICraftScore, grade, and per-dimension subscores from static analysis.
- `fold_candidates`: Draws landing-fold composition class candidates, preferring classes the project has not used.
- `check_fold`: Renders a URL and reports the page's fold class, drift, and invariants.
