The Designer MCP 标志

The Designer MCP

社区
1999AZZAR

MCP server for production-grade UI design — 27 tools covering design rules, OKLCH tokens with auto dark mode, WCAG 2.1 accessibility audit, React/Vue/HTML component output, vanilla CSS/SCSS/CSS Modules generation, anime.js v4 motion, anti-slop quality gates, and 328+ brand references.

发布者1999AZZAR
代码仓库designer-mcp
语言TypeScript
复刻数
0
星标数
14
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    The Designer MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 14 个星标和 0 个复刻。

The Designer MCP

Part of the HeLa MCP Ecosystem — This server is HeLa Phenotype (hela-phenotype) — the Design component of the HeLa cellular architecture. See the ecosystem docs for profiles, workflows, and multi-client setup.

MIT License TypeScript

A Design-Theory-as-a-Service Model Context Protocol (MCP) server for production-grade UI design. Unlike standard code-retrieval MCPs, designer-mcp codifies subjective design principles—perceptual color math (OKLCH), motion physics, typographic scaling, and accessibility—into executable algorithms with strict anti-slop quality gates.

Featuring 17 design systems, 328+ brand references, motion.dev & anime.js motion integration, WCAG 2.1 accessibility auditing, React/Vue component output, and framework-agnostic CSS generation.

Blotcat at the design pipeline: scan → evaluate → rules → tokens, 17 systems

Table of Contents

Features

  • Anti-Slop Quality Gates — 31-gate slop test + 6-axis self-critique (P-H-E-S-R-V). Rejects anything < 3.
  • OKLCH Token System — 16 curated themes with auto dark-mode derivation (full_css field ships both :root and @media (prefers-color-scheme: dark) + [data-theme="dark"] overrides).
  • Design Rules Generator — 17 design systems + 4 palettes + 5 archetypes + hybrid combos.
  • Pre-Flight Scan — Detect existing project context: framework, font stack, palette tokens, motion libraries.
  • Framework-Native Components — Every component (button, card, navbar, hero, etc.) outputs HTML/Tailwind, React TSX (typed FC with prop interface), or Vue 3 SFC (script setup) via the framework param.
  • CSS Output Engine — Generate vanilla CSS, CSS Modules (Button/Card/Input with all 8 states), SCSS (variables + mixins + BEM), or a single tokens.css with auto dark-mode overrides.
  • WCAG 2.1 Accessibility Audit — 25-check static auditor: alt text, unlabeled inputs, empty buttons/links, heading order, focus-visible removal, skip links, landmark regions, viewport scale lock, and more. Returns 0-100 score + A–F grade + actionable fixes.
  • SOTA Motion System (motion.dev & anime.js) — Style-aware animation presets baked into components. generate_motion_snippet for on-demand snippets with React <motion.div> and vanilla physics support (8 categories, all reduced-motion guarded).
  • Color Palette Hunter — Live palettes from Color Hunt with format conversion.
  • Brand Design References — 328+ real-world brands (Stripe, Vercel, Notion, Claude, Tesla, etc.).

Tools

Blotcat balancing the full output stack — tokens.css, components, anime.js, WCAG audit — one prompt in, OKLCH out

Core Design Flow

ToolDescription
evaluate_styleScore 17 design systems against product context
detect_genreClassify brief into editorial / modern-minimal / atmospheric / playful
pre_flight_scanScan existing project for framework, fonts, palette, motion libs
generate_rulesGenerate design rules for style + palette + archetype/hybrid
generate_tailwind_configGenerate ready-to-use tailwind.config.js
get_cross_cutting_rulesGet standalone rules (a11y, motion, icons, tokens, responsive)

Theme & Token System

ToolDescription
generate_tokensGenerate complete OKLCH token system. Returns css (light :root), full_css (light + dark @media + [data-theme="dark"] overrides), dark_css, dark_tokens
list_themesList all 16 themes with OKLCH values, fonts, axis metadata
build_custom_tokensBuild custom OKLCH token system from paper/accent/font values — also emits dark mode derivation

Quality Gates

ToolDescription
anti_pattern_checkRun 31-gate slop test on HTML/CSS
self_critiqueScore output on 6 quality axes (P-H-E-S-R-V) — anything < 3 triggers revision
audit_accessibility25-check WCAG 2.1 static auditor — alt text, unlabeled inputs/selects/textareas, empty buttons/links, heading order, focus-visible removal, skip links, landmark regions, viewport scale lock, and more. Returns 0–100 score, A–F grade, per-severity counts, fix instructions, and passed-check list

Component & Template

ToolDescription
generate_templateFull HTML starter page — ships with anime.js v3 animations
get_componentProduction-ready component. framework param: html (default) | react (TypeScript FC with motion/react physics) | vue (SFC with script setup)
generate_8state_componentStandalone HTML preview with all 8 interactive states — animated via anime.js spring physics
generate_palette_variantsLight/dark/high-contrast variants from hex colors
export_projectFull project scaffold (config + HTML + components)

CSS Output

ToolDescription
generate_css_outputFramework-agnostic CSS generation from style + palette. Formats: vanilla (tokens.css + base.css + components.css) | css-modules (Button/Card/Input .module.css with all 8 states) | scss (_tokens + _mixins + _components + main.scss) | css-variables-only (tokens.css with auto dark mode). Returns named files array ready to save.

Motion (motion.dev & anime.js)

ToolDescription
generate_motion_snippetGenerate a ready-to-paste motion.dev or anime.js snippet matched to the current design style's physics and easing. Supports 8 categories: entrance, micro, stagger, scroll, loader, transition, counter, typewriter. Every snippet includes a prefers-reduced-motion guard.

Color & Palette

ToolDescription
palette_fetchFetch live palettes from Color Hunt
palette_convertConvert palette JSON to CSS / Tailwind / SCSS / Figma / Android / Swift

Brand References

ToolDescription
brand_fetch_design_mdDownload DESIGN.md for a real brand
brand_listList all 328+ brands by category

Utility

ToolDescription
list_optionsList all available systems, palettes, archetypes, hybrids
validate_comboValidate style + palette + hybrid combo
get_referencePull full content of any reference doc
list_installed_skillsDetect installed skill submodules

Motion Design

The MCP provides a dual-engine motion system: motion.dev (modern, physics-based, React-native) and anime.js v3 (lightweight vanilla JS).

When calling generate_motion_snippet or get_component (for React), the output is automatically calibrated to the design system's character:

SystemEasing / PhysicsDuration
glasseaseOutQuart / [0.16, 1, 0.3, 1]700ms
claymorphismspring(1, 80, 10, 0) / bounce: 0.4600ms
neo-brutalismeaseInOutExpo / [0.87, 0, 0.13, 1]400ms
materialcubicBezier(0.4, 0, 0.2, 1)300ms
apple-higspring(1, 100, 18, 0) / bounce: 0.2550ms
swisslinear200ms
m3-pastelspring(1, 80, 12, 0) / bounce: 0.3450ms

Use generate_motion_snippet for standalone snippets targeting specific use cases across React, Vue, and HTML:

json
{
  "tool": "generate_motion_snippet",
  "arguments": {
    "category": "entrance",
    "style": "glass",
    "engine": "motion.dev",
    "framework": "react"
  }
}

Returns { cdn, snippet, easing, duration, usage_hint, reduced_motion_note }.

All snippets respect prefers-reduced-motion — animations are skipped entirely when the user has enabled reduced motion.

Examples

🔥 Live Demo: Ellis UI Collection

Ellis UI (examples/ellis-ui)
A comprehensive, anti-slop component library demonstrating the extreme versatility of designer-mcp's ruleset. The project takes a single romantic letter and renders it across 24 radically different, strictly enforced aesthetic systems (e.g., Swiss Archival, Vintage Airmail, Brutalist, UNIX Phosphor, 8-Bit Game Boy).

Each design acts as a fully standalone, reusable UI kit utilizing zero JS dependencies—relying entirely on strict structural typography, CSS geometry, and advanced CSS rendering techniques (clip-paths, custom filters, OKLCH gradients). Each of the 24 folders includes a design.md detailing the tokens and layout strategy, acting as an advanced template reference for designer-mcp.

Installation

bash
git clone https://github.com/1999AZZAR/designer-mcp.git
cd designer-mcp
npm install
npm run build

Requirements: Node.js >= 18

Usage

bash
npm start
bash
npx @modelcontextprotocol/inspector node dist/index.js

Architecture

designer-mcp operates on a multi-tier architecture. An MCP server on its own is just an API; by pairing the MCP with three companion AI skills, the AI gets both the tools (the MCP) and the instruction manual (the skills).

  • ui-designer skill: Provides the design intelligence, heuristics, and brand context so the AI knows what to ask the MCP to generate.
  • color-palette-hunter skill: Handles external palette sourcing and feeds them into the OKLCH token engine.
  • motion-designer skill: Defines SOTA animation heuristics, spring physics logic, and motion.dev best practices.
text
src/
  index.ts              # MCP server entry, tool routing (27 tools)
  rules.ts              # 17 design systems, palettes, archetypes, hybrids
  anti-patterns.ts      # 31-gate slop test + 6-axis self-critique
  a11y-audit.ts         # 25-check WCAG 2.1 accessibility auditor (no deps, regex-only)
  tokens.ts             # 16 curated themes, OKLCH token generation, dark mode derivation
  css-output.ts         # vanilla CSS / CSS Modules / SCSS / css-variables-only generator
  anime-motion.ts       # anime.js v3 integration — style-aware presets, CDN helper, snippet generator
  components.ts         # Component library — HTML/React TSX/Vue 3 SFC output
  components-8state.ts  # 8-state component demo generator (anime.js micro-interactions)
  preflight.ts          # Project context scanner (framework, fonts, palette, motion)
  evaluate.ts           # Style scoring engine
  palette.ts            # Color Hunt palette fetcher
  palette-convert.ts    # Format converter
  palette-variants.ts   # Light/dark/high-contrast variant generator
  templates.ts          # HTML template generator (anime.js baked in)
  tailwind-config.ts    # Tailwind config generator
  export.ts             # Project scaffold exporter
skills/
  ui-designer/          # Reference docs + genre files (git submodule)
  color-palette-hunter/ # Palette CLI scripts (git submodule)

Anti-Slop Design Philosophy

Blotcat stamping the 31-gate checklist — HTML/CSS queued left, rejected crumpled right, score < 3 → revise

  • Locked tokens — every color/font references a named CSS variable, never inline values
  • No fabricated content — real metrics or labeled placeholders only
  • No re-drawn chrome — no fake browser bars, phone frames, or code window chrome
  • Typography purity — headings always roman, no italic display faces
  • Structural variety — different briefs produce structurally different pages
  • Mobile-responsiveness hard floor — 320/375/414/768px, overflow-x: clip, minmax(0, 1fr), no two-line clickable text
  • OKLCH-first — all new tokens defined in OKLCH for perceptual uniformity
  • Motion with restraint — animations are style-calibrated, spring-physics-grounded, and always gated on prefers-reduced-motion

Configuration

VariableDefaultDescription
UI_DESIGNER_SKILL_PATHskills/ui-designerPath to the ui-designer skill references
COLOR_PALETTE_HUNTER_PATHskills/color-palette-hunterPath to the color palette hunter skill
HELA_ENVELOPEunset = offSet to true to wrap tool results in the canonical HeLaResult envelope (ok/summary/data/artifacts/provenance/warnings/sideEffects/execution; all tools are pure reads so sideEffects is always empty). Off = byte-identical legacy output. Run/step ids propagate from HELA_RUN_ID/HELA_STEP_ID.

Configuring with AI Assistants

json
{
  "mcpServers": {
    "designer-mcp": {
      "command": "node",
      "args": ["/path/to/designer-mcp/dist/index.js"],
      "env": {}
    }
  }
}

License

MIT

安装

TypingMind
{
  "mcpServers": {
    "designer-mcp": {
      "command": "npx",
      "args": [
        "the-designer-mcp"
      ]
    }
  }
}

将 The Designer MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 The Designer MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 The Designer MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 The Designer MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "designer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "the-designer-mcp"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 The Designer MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 The Designer MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 The Designer MCP 帮我完成这项任务吗?
The Designer MCP
当然,我看过了。
以下是我使用 The Designer MCP 得到的结果。

常见问题

The Designer MCP MCP 服务器有什么用途?

The Designer MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 The Designer MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 The Designer MCP。

为什么在 TypingMind 中使用 The Designer MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 The Designer MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 The Designer MCP MCP 连接到 TypingMind?

The Designer MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

The Designer MCP MCP 在 TypingMind 中提供哪些工具?

The Designer MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 The Designer MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 The Designer MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇