Logo The Designer MCP

The Designer MCP

Cộng đồng
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.

Nhà phát hành1999AZZAR
Kho mãdesigner-mcp
Ngôn ngữTypeScript
Bản fork
0
Sao
14
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    The Designer MCP cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    14 sao và 0 bản fork từ kho mã được liên kết.

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

Cài đặt

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

Dùng MCP The Designer MCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối The Designer MCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm The Designer MCP làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của The Designer MCP.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "designer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "the-designer-mcp"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của The Designer MCP, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của The Designer MCP.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng The Designer MCP giúp tôi làm việc này không?
The Designer MCP
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng The Designer MCP.

Câu hỏi thường gặp

Máy chủ MCP The Designer MCP dùng để làm gì?

The Designer MCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP The Designer MCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng The Designer MCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP The Designer MCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối The Designer MCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP The Designer MCP với TypingMind?

The Designer MCP hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP The Designer MCP cung cấp những công cụ nào trong TypingMind?

The Designer MCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP The Designer MCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu The Designer MCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇