UIForge

v0.6.0
io.github.lemuayala/ui-forge Checked 2 days ago Published 4 days ago

Compile DESIGN.md specs, OKLch/Tailwind v4/W3C tokens, and WCAG AA fixes across 24 brands.

Official Model Context Protocol (MCP) server for UIForge — gives Claude Code, Cursor, Windsurf, and Antigravity deterministic DESIGN.md specifications, 24 canonical brand design systems (*Linear, Stripe, Vercel, Anthropic, Apple HIG, Supabase, Spotify*, etc.), multi-format tokens (:root CSS, Tailwind v4 @theme, W3C Design Tokens JSON), and zero-dependency OKLch WCAG 2.1 AA contrast auto-fixing.

Summary extracted from the README.

@lemuayala/ui-forge-mcp

Official Model Context Protocol (MCP) server for UIForge — gives Claude Code, Cursor, Windsurf, and Antigravity deterministic DESIGN.md specifications, 24 canonical brand design systems (Linear, Stripe, Vercel, Anthropic, Apple HIG, Supabase, Spotify, etc.), multi-format tokens (:root CSS, Tailwind v4 @theme, W3C Design Tokens JSON), and zero-dependency OKLch WCAG 2.1 AA contrast auto-fixing.

Quick Setup

Claude Code

claude mcp add ui-forge -- npx -y @lemuayala/ui-forge-mcp

Cursor / Antigravity / Claude Desktop (mcp.json)

{
  "mcpServers": {
    "ui-forge": {
      "command": "npx",
      "args": ["-y", "@lemuayala/ui-forge-mcp"]
    }
  }
}

Available MCP Tools

  • list_design_systems — Browse all 24 canonical Brand Design Systems, 9 Style Presets, 8 UI Archetypes, and 6 Tech Stacks.
  • compile_design_md — Compile a deterministic 9-section DESIGN.md + Quick Prompt + WCAG 2.1 AA audit (with optional autoFixContrast).
  • export_design_tokens — Export :root CSS variables, Tailwind v4 @theme inline, or W3C Design Tokens JSON ($value / $type + oklch()).
  • audit_and_fix_contrast — Verify WCAG 2.1 AA/AAA contrast between any foreground and background HEX and compute the nearest passing color in OKLch.