UIForge
MCP server that generates DESIGN.md specs, design tokens and WCAG AA contrast fixes for AI
UIForge is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- Version
- 0.6.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add ui-forge -- npx -y @lemuayala/ui-forge-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"ui-forge": {
"command": "npx",
"args": [
"-y",
"@lemuayala/ui-forge-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"ui-forge": {
"command": "npx",
"args": [
"-y",
"@lemuayala/ui-forge-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"ui-forge": {
"command": "npx",
"args": [
"-y",
"@lemuayala/ui-forge-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"ui-forge": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@lemuayala/ui-forge-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add ui-forge -- npx -y @lemuayala/ui-forge-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.ui-forge]
command = "npx"
args = ["-y", "@lemuayala/ui-forge-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"ui-forge": {
"command": "npx",
"args": [
"-y",
"@lemuayala/ui-forge-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "ui-forge": { "command": "npx", "args": [ "-y", "@lemuayala/ui-forge-mcp" ] } } }Or run: gemini mcp add -s user ui-forge npx -- -y @lemuayala/ui-forge-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "ui-forge": { "command": "npx", "args": [ "-y", "@lemuayala/ui-forge-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "ui-forge": { "command": "npx", "args": [ "-y", "@lemuayala/ui-forge-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "ui-forge": { "command": "npx", "args": [ "-y", "@lemuayala/ui-forge-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "ui-forge": { "command": "npx", "args": [ "-y", "@lemuayala/ui-forge-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "ui-forge": { "command": "npx", "args": [ "-y", "@lemuayala/ui-forge-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "ui-forge": { "command": "npx", "args": [ "-y", "@lemuayala/ui-forge-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "ui-forge": { "command": "npx", "args": [ "-y", "@lemuayala/ui-forge-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About UIForge
Adds design-system tooling to AI coding assistants over the Model Context Protocol. Once connected, a client can browse a library of 24 brand design systems, compile a structured DESIGN.md specification with a quick prompt and an accessibility audit, and export tokens as CSS variables, Tailwind v4 theme blocks or W3C Design Tokens JSON.
Contrast checking is handled by a dedicated tool that measures foreground and background HEX pairs against WCAG 2.1 AA and AAA thresholds and suggests the nearest passing color computed in OKLch. The compile step can apply the same correction automatically when requested.
It is aimed at developers and front-end teams who work inside Claude Code, Cursor, Windsurf or Antigravity and want consistent, accessible styling without leaving the editor. It runs locally through npx over stdio.
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 4 tools read data; 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- list_design_systemsName suggests: reads
- 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_tokensName suggests: reads
- Export :root CSS variables, Tailwind v4 @theme inline, or W3C Design Tokens JSON.
- 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.
What it does
- Brand design system library
- Lists 24 reference brand systems along with style presets, UI archetypes and tech stacks to start from.
- DESIGN.md compilation
- Produces a nine-section design specification plus a quick prompt and a WCAG 2.1 AA audit.
- Multi-format token export
- Outputs tokens as :root CSS variables, Tailwind v4 @theme inline or W3C Design Tokens JSON.
- OKLch contrast correction
- Finds the nearest passing color in OKLch for any foreground and background pair that fails contrast.
- Local stdio setup
- Installs with a single npx command and works with any MCP client that accepts a command config.
Good for
- Generate a consistent DESIGN.md spec before building a new interface with an AI coding assistant
- Export a brand palette as Tailwind v4 theme variables for a project
- Check and correct text contrast in a color scheme against WCAG AA
- Convert design decisions into W3C-format tokens for a design pipeline
Pricing
Open source
UIForge FAQ
How do I install UIForge?
For Claude Code, run claude mcp add ui-forge -- npx -y @lemuayala/ui-forge-mcp. Cursor, Antigravity and Claude Desktop use a JSON mcpServers entry that calls the same npx command.
Which contrast standard does UIForge check?
It verifies WCAG 2.1 AA and AAA contrast between a foreground and background HEX color and computes a passing alternative in OKLch.
Which token formats can UIForge export?
It exports :root CSS variables, Tailwind v4 @theme inline blocks and W3C Design Tokens JSON using $value and $type with oklch() colors.
Is UIForge free?
Yes. UIForge is open source, so you can use and self-host it for free.
How do I add UIForge to Claude Code?
Run this command in your terminal: claude mcp add ui-forge -- npx -y @lemuayala/ui-forge-mcp
What are the best alternatives to UIForge?
The closest alternatives to UIForge are Identity Forge, Roast My Design System, Design Token Bridge MCP, ColorwayKit and CSS Crème.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.