Skip to main content
Glama
lnksoul1

UI Design MCP Server

by lnksoul1

UI Design MCP Server

License: MIT Node.js >= 18 TypeScript MCP Protocol

An MCP (Model Context Protocol) server that provides comprehensive UI design assistance tools for LLMs. Generate color palettes, typography pairings, spacing systems, shadow systems, design tokens, and more — all through the MCP protocol.

中文文档:请阅读 README.zh-CN.md

Features

  • 10 design tools covering the full spectrum of UI design needs

  • Color theory engine with HSL-based harmony generation (monochromatic, analogous, complementary, split-complementary, triadic, tetradic)

  • WCAG 2.1 contrast checker with AA/AAA compliance scoring

  • Curated font pairings with Google Fonts integration

  • Complete design token system generation in a single call

  • Dual transport support: stdio (local) and Streamable HTTP (remote)

  • Zero external API dependencies — all generation is algorithmic

Related MCP server: ds-pilot

Quick Start

# Install dependencies
npm install

# Build
npm run build

# Run via stdio (default)
npm start

# Run via HTTP
TRANSPORT=http PORT=3100 npm start

Tools

Tool

Description

ui_generate_color_palette

Generate harmonious color palettes from a base color using color theory

ui_suggest_typography

Get curated font pairings (display + body) with Google Fonts links

ui_generate_type_scale

Generate modular typography scales (golden ratio, perfect fourth, etc.)

ui_generate_spacing_scale

Generate spacing systems (linear, geometric, fibonacci strategies)

ui_generate_shadow_system

Generate elevation shadow systems (subtle, medium, sharp)

ui_generate_border_radius_scale

Generate border-radius scales (sharp, subtle, rounded, pill)

ui_check_color_contrast

Check WCAG 2.1 contrast ratios with AA/AAA grading

ui_generate_gradient

Generate CSS gradients with harmonious color stops

ui_suggest_breakpoints

Generate responsive breakpoint systems (Tailwind, Bootstrap, Material, custom)

ui_generate_design_tokens

Generate a complete design token system (colors, type, spacing, shadows, radii, transitions)

Configuration

stdio (local)

{
  "mcpServers": {
    "ui-design": {
      "command": "node",
      "args": ["/path/to/ui-design-mcp-server/dist/index.js"]
    }
  }
}

Streamable HTTP (remote)

TRANSPORT=http PORT=3100 npm start

Endpoint: http://localhost:3100/mcp

Style Presets

Style

Description

Shadow

Radius

Spacing Base

minimal

Clean, airy, neutral palette

subtle

subtle

8px

bold

High contrast, vibrant accents

medium

rounded

8px

playful

Warm, friendly, rounded shapes

medium

pill

8px

dark

Dark-first, luminous accents

sharp

subtle

8px

editorial

Magazine-like, elegant serif

subtle

sharp

8px

tech

Futuristic, precise, cyan/blue

sharp

sharp

4px

Example Usage

Generate a complementary color palette

Tool: ui_generate_color_palette
Arguments: { "base_color": "#3B82F6", "scheme": "complementary" }

Check WCAG contrast

Tool: ui_check_color_contrast
Arguments: { "foreground": "#333333", "background": "#FFFFFF" }

Generate complete design tokens for a dark theme

Tool: ui_generate_design_tokens
Arguments: { "style": "dark", "base_color": "#6366F1", "dark_mode": true }

Project Structure

ui-design-mcp-server/
├── package.json
├── tsconfig.json
├── src/
│   ├── index.ts              # Main entry point
│   ├── types.ts              # TypeScript interfaces
│   ├── constants.ts          # Font pairings, style presets, breakpoints
│   ├── utils/
│   │   ├── color.ts          # Color theory engine (HSL, contrast, harmony)
│   │   └── formatter.ts      # Output formatting helpers
│   └── tools/
│       ├── color-palette.ts   # Color palette generation
│       ├── typography.ts      # Font pairing + type scale
│       ├── spacing.ts         # Spacing scale generation
│       ├── shadows.ts         # Shadow system generation
│       ├── border-radius.ts   # Border radius scale
│       ├── contrast.ts        # WCAG contrast checking
│       ├── gradient.ts        # Gradient generation
│       ├── breakpoints.ts     # Responsive breakpoints
│       └── design-tokens.ts   # Complete design token system
└── dist/                      # Built JavaScript

Development

# Development with auto-reload
npm run dev

# Build
npm run build

# Clean build artifacts
npm run clean

Requirements

  • Node.js >= 18

  • npm

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables AI agents to create, modify, and manage Figma designs through natural language commands via a specialized MCP server and plugin bridge. It supports a wide range of operations including element creation, property modification, component management, and accessibility checks.
    8
    103
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    MCP server that exposes your design system components and tokens to AI agents, preventing duplicate component creation and hardcoded token values.
    14
    9
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    An MCP server that gives AI assistants structured access to a design system's tokens, components, guidelines, and patterns, enabling them to read, lint, and author design system data.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • UI design from prompts, screenshots, and URLs for AI coding agents and theme tokens.

  • AI-agent design tools: fonts, font recognition, palettes, color naming, contrast, code, SVG, CSS.

  • A design-style library for AI agents: search real styles, fetch a ready-to-apply design spec.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lnksoul1/prism-ui-design-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server