ui-forge
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Why UIForge · Get started · AI agents · Systems & screens · DESIGN.md & exports · How it works · What's new · Roadmap · Contributing
Why UIForge
Ask a coding agent to "build a clean dashboard" and you get the same purple gradients, mismatched radii, and unreadable muted text every time. Style guides live in Figma or scattered docs, so the model invents hex codes and spacing on every file it touches.
UIForge turns a visual direction into a single deterministic contract: DESIGN.md. You start from one of 24 real brand systems (Linear, Stripe, Anthropic, Apple HIG, Vercel, Supabase, Spotify, and others) or 9 style presets, tune perceptual OKLch hue, spacing, font scale, and surface opacity across iPhone, iPad, and Desktop frames, fix any WCAG 2.1 AA contrast failure in one click, and export the spec alongside :root CSS, Tailwind v4 @theme, or W3C Design Tokens JSON.
Everything runs off one zero-dependency core package (@lemuayala/ui-forge-core), so the web workbench, the CLI, and the MCP server always produce identical tokens and rules.
Related MCP server: Ensemble MCP
Get started
Pick whichever workflow fits how you build. They all compile from the same engine.
I want to… | Do this |
Tune a system visually across devices | Open the playground |
Initialize |
|
Connect my coding agent over MCP |
|
Audit and fix contrast from the terminal |
|
Browse 137 reference brand cards | Open |
CLI
The CLI inspects package.json in your working directory to detect your stack (next, tailwind, react, vue, svelte, or html-css) and writes DESIGN.md plus your chosen token file. No config file required.
# Compile Linear's system for a dashboard, export Tailwind v4 @theme, and add Cursor rules
npx @lemuayala/ui-forge-core init --brand linear --ui dashboard --tokens tailwind-v4 --auto-fix-aa --agent-rules
# Export W3C Design Tokens JSON (tokens.json) for Stripe
npx @lemuayala/ui-forge-core init --brand stripe --tokens w3c-json --force
# List all 24 brand systems, 9 presets, 8 screen archetypes, and 6 target stacks
npx @lemuayala/ui-forge-core listOther flags: --preset <id>, --stack <id>, --name <BrandName>, --dark <true|false|both>, --density <compact|normal|spacious>, --hue <0-360>, --dir <path>.
Use it with your AI agent
@lemuayala/ui-forge-mcp is an official Model Context Protocol server registered in the MCP Registry as io.github.lemuayala/ui-forge. Once connected, your agent queries real brand palettes, audits WCAG contrast in OKLch, and writes DESIGN.md directly instead of guessing colors.
Claude Code
claude mcp add ui-forge -- npx -y @lemuayala/ui-forge-mcpCursor, Windsurf, Antigravity (add to mcp.json)
{
"mcpServers": {
"ui-forge": {
"command": "npx",
"args": ["-y", "@lemuayala/ui-forge-mcp"]
}
}
}What the server exposes to your agent:
Tool / Resource | What it does |
| Search and filter the 24 brand systems, 9 presets, 8 UI archetypes, and 6 stacks |
| Compile a 9-section |
| Generate |
| Compute WCAG 2.1 contrast and return the nearest passing HEX + OKLch lightness adjustment |
| Full JSON catalog of presets, brand systems, archetypes, and defaults |
| Canonical anti-slop, state matrix, and accessibility rules sent on agent initialization |
When you choose the glassmorphism preset, UIForge also links directly to @lemuayala/glass-ui-core so agents can pair system-wide tokens with typed React and Expo glass primitives.
Systems and screens
9 style presets
glassmorphism · neobrutalism · minimalist · cyberpunk · corporate-saas · retro-80s · nature-organic · editorial · aurora-dark
24 interactive brand design systems
Category | Brand systems |
SaaS & Productivity | Linear, Notion, Slack, Atlassian, Raycast, Cal.com |
Payments & Commerce | Stripe, Shopify, Airbnb, Wise |
Devtools & Cloud | Vercel, Supabase, GitHub Primer, Tailwind UI, shadcn/ui, Cloudflare, Sentry |
AI & Research | Anthropic, OpenAI |
Design & UI | Apple HIG, Figma, Material 3, Framer |
Media & Social | Spotify, Netflix, Discord |
An extended reference folder in design-systems/ holds 137 Markdown cards with computed HEX and oklch() tables.
8 responsive page archetypes
Key | Archetype | Included layout sections |
| Landing | Navigation bar, hero, social proof, feature grid, pricing preview, CTA |
| Dashboard | Collapsible sidebar, KPI cards, revenue chart, filterable activity table |
| E-commerce | Category header, product grid, badges, ratings, cart summary |
| Auth | Split brand panel, OAuth buttons, credentials form, validation states |
| Profile | Workspace header, avatar settings, domain inputs, danger zone |
| Pricing | Billing toggle, 3-tier comparison cards, highlighted Pro plan, FAQ |
| Blog | Editorial masthead, featured story, metadata, multi-column article list |
| Components | Buttons, inputs, badges, alerts, tabs, and token specimen cards |
DESIGN.md and token exports
Every DESIGN.md compiled by UIForge follows a deterministic 9-section layout:
Meta & Brand Context — product name, target framework, voice tone, density, theme strategy.
Perceptual Color System — semantic roles in
HEXandoklch(), plus live contrast ratios.Typography Scale — heading, body, and monospace stacks with
remfluid sizing.Spacing & Layout Grid — base unit (
4px/8px/12px), section rhythm, breakpoints.Shape & Elevation — border-radius scale, backdrop blur, and shadow hierarchy.
Component Inventory — required anatomy for the selected page archetype and brand rules.
9-State Matrix — Default, Hover, Focus-visible, Active, Disabled, Loading, Empty, Error, Success.
Accessibility (WCAG 2.1 AA) — contrast floors,
44×44pxhit targets, keyboard and motion rules.Tokens — copy-paste
:rootcustom properties with companion.dark/[data-theme="light"]blocks.
From the Tokens tab (or CLI / MCP), the same resolved state exports to:
:rootCSS (tokens.css) — standard CSS custom properties with light/dark companion selectors.Tailwind CSS v4 (
tailwind-theme.css) —@import "tailwindcss"+@theme inlinetoken mapping.W3C Design Tokens (
tokens.json) —$value/$typeJSON schema withoklch()extensions for Figma and Style Dictionary.Standalone HTML, PNG & PDF — self-contained preview markup and visual snapshots from the stage toolbar.
How it works
@lemuayala/ui-forge-core is the single source of truth. It has zero runtime dependencies and no Node-only globals in its main entry, so every surface shares the exact same code:
packages/core (OKLch math, WCAG AA solver, presets, 24 brands, HTML templates, DESIGN.md & token builders)
├── CLI npx @lemuayala/ui-forge-core init | list | audit
├── packages/mcp @lemuayala/ui-forge-mcp (stdio MCP server for coding agents)
└── web app Landing (/) and 3-column Playground (/play) on Next.js 16Token priority is strictly deterministic:
User manual overrides > Selected Brand System > Base Style Preset + Live sliders (Hue, Spacing, Scale, Opacity)What's new
Full release notes live in CHANGELOG.md and GitHub Releases.
0.6: Monorepo extraction (
@lemuayala/ui-forge-core+ui-forgeCLI and@lemuayala/ui-forge-mcp), published to npm and the official MCP Registry with OIDC provenance and automated release versioning onmain.0.5: 1-click OKLch WCAG 2.1 AA contrast auto-fix (
ensureContrastOklch), Tailwind v4@themeand W3C JSON exports,localStorageproject profile persistence, Vercel Analytics + Speed Insights, dynamic OpenGraph image, and Vitest CI coverage gate.0.4: Dedicated Landing page (
/) with scroll-driven zoom and reveal scenes,/playroute split, URL state sharing, and bilingualEN/ESinterface.
Roadmap
Done:
9 style presets, 24 interactive brand systems, 8 responsive screen archetypes, and 137 reference
.mdcardsPerceptual OKLch color engine with 1-click WCAG 2.1 AA contrast auto-fix
9-section
DESIGN.md,:rootCSS, Tailwind v4@theme, and W3C Design Tokens JSON exports@lemuayala/ui-forge-corezero-config CLI published on npm@lemuayala/ui-forge-mcpserver published on npm and listed in the official MCP Registry
Next:
Custom URL / website palette extractor to bootstrap a
DESIGN.mdfrom an existing domainFigma Variables import/export plugin synced with UIForge W3C JSON tokens
Playwright visual regression suite across all 8 page archetypes and viewports
Have a brand system or workflow you'd like supported? Open an issue.
Run it locally
Requires Node 20.9+ (CI runs on Node 22) and pnpm.
git clone https://github.com/lemuayala/Ui-design-md.git
cd Ui-design-md
pnpm install
pnpm devThe landing page runs at localhost:3000 and the playground at localhost:3000/play. Optional public URL variables are documented in .env.example.
Command | What it does |
| Build workspace packages and start Next.js dev server |
| Build workspace packages and production Next.js app |
| Run ESLint 9 flat config |
| Type-check |
| Run Vitest unit and in-memory MCP protocol tests |
| Run tests enforcing |
| Dry-run npm tarballs for |
| Synchronize version across packages, MCP manifest, UI, and |
| Regenerate |
Shortcut | Action |
| Switch page archetype ( |
| Open Presets & Brand Systems menu |
| Cycle preview theme ( |
| Toggle playground shell theme |
| Switch UI language ( |
| Copy shareable |
| Open keyboard shortcuts dialog |
| Close active menu or dialog |
Tech stack
Layer | Technology |
Framework | Next.js 16 (App Router, Turbopack) |
UI | |
Styling | Tailwind CSS v4.3 + |
Language | TypeScript (strict mode across monorepo) |
Color & Accessibility | Custom zero-dependency |
AI Agent Protocol | |
Testing & Quality | Vitest ( |
Publishing & Supply Chain | npm OIDC Trusted Publishing ( |
Hosting & Telemetry | Vercel ( |
Contributing
Contributions of any size are welcome: bug fixes, new brand systems, page archetypes, token exporters, documentation improvements, or tests.
CONTRIBUTING.md covers branch workflow (
dev→main), Conventional Commits, and local setup.AGENTS.md and docs/ARCHITECTURE.md document module boundaries and step-by-step checklists.
Please read our Code of Conduct, and report security vulnerabilities privately via SECURITY.md.
Star on GitHub · Open the Playground · Install MCP Server · Report an Issue
MIT License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Give your agent a real design system: tokens, measured WCAG contrast, and rules to follow.
Run accessibility, contrast, and design token audits and file QA issues from your AI coding tool.
Give AI agents your deeepSpace design system: components, tokens, styles and code mappings.
Serves your design system and coding standards to coding agents, so they stop guessing.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to query a workspace's design system before writing UI and validate generated code against the same system afterward, using configurable token and component sources.13 npm1MIT
- AlicenseAqualityCmaintenanceEnables AI agents to generate complete, deterministic design systems from a single brand color — harmonious palettes, font pairings, type and spacing scales, elevation shadows, responsive grids, motion presets, dark-mode themes, and WCAG contrast audits — and export them as CSS, JSON, Tailwind, or SCSS through natural conversation.1060 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to query any DESIGN.md design system and receive short, targeted answers with exact design tokens, existing component classes, markup examples, and rules. It also catches drift by flagging made-up colors and pixel values and suggesting the nearest token.1Apache 2.0

WunderUI MCPofficial
AlicenseAqualityBmaintenanceEnables AI coding agents to build UI with a design system's tokens, component inventory and prop signatures, page templates, and starter snippets, while tracking free/pro availability and live-updating design data.11107 npm2MIT