Design MCP

Design MCP

Provides source-backed design context, route card validation, contract generation, critique and verification reports, evidence packages, Penpot change plans, and anti-repeat checks for design workflows. Does not directly mutate Penpot, but consumes read-only Penpot snapshots.

Category
访问服务器

README

Design MCP

Local Design Director MCP V1.00.00.

This server is deliberately narrow. It does not build websites, mutate Penpot, run a browser, or edit code. It gives a host agent source-backed design context, route cards, contracts, critique reports, verification reports, evidence packages, Penpot-ready change plans, anti-repeat checks, and inspectable memory.

Penpot is the only design workspace target for this package. Design MCP can consume host-supplied Penpot facts, but it does not call live Penpot tools and it never writes to Penpot directly.

What It Does

  • Retrieves seeded design source passages with provenance.
  • Accepts read-only Penpot snapshots as host-supplied evidence.
  • Validates Design Route Cards.
  • Builds a route-quality brief from a route card so page pattern, CTA cadence, trust/proof model, style fit, originality axes, and preflight evidence are explicit before contract/prototype work.
  • Builds a DESIGN.md-style contract from a route card.
  • Creates honest pass/fail/partial verification reports from supplied evidence.
  • Packages browser, implementation, manual, and Penpot evidence with explicit gaps.
  • Produces plan-only Penpot change plans for host-confirmed external execution before code implementation.
  • Checks repeated visual decisions and high visual DNA similarity against prior route cards, blocking designs that look like a renamed previous project.
  • Separates anti-slop from richness: anti-slop rejects generic defaults; richness requires explicit layout, content, color, signature, motion, and novelty commitments.
  • Stores projects, route-card versions, contracts, critiques, verification reports, evidence packages, Penpot change plans, and design memory in local SQLite.
  • Exposes a stdio MCP server using the v1 TypeScript SDK.
  • Ships a Colour-Palette skill with atlas-backed search, 60-30-10 palette generation, classifier judgment, near-white handling, and palette-to-token handoff.

Documentation Map

Start with DESIGN.md for the product contract and acceptance criteria, then use the docs package for operational detail:

Anti-Slop And Richness

Anti-slop is the negative constraint layer. It catches generic gradients, fake proof, filler copy, template grids, unearned palettes, default typography, weak asymmetry, and decorative motion.

Richness is the positive commitment layer. Before a design advances through Penpot prototype, high-fidelity Penpot implementation, or code completion, the host should be able to name the layout commitment, content specificity evidence, earned color logic, five logo-removed signature recognizers, route-appropriate motion moments, and novelty delta against memory.

Passing only anti-slop can still produce a safe, forgettable artifact. Design MCP treats missing richness evidence as a blocker or partial verification gap, not as optional polish.

Boundaries

  • It does not call Penpot MCP directly.
  • It does not run execute_code or mutate live Penpot files.
  • It does not capture browser screenshots.
  • It does not claim WCAG compliance or real-user Core Web Vitals success.
  • It does not use vector search or remote hosting.

Quick Start

npm install
npm test
npm run build
npm run dev

npm run dev builds and starts the stdio server. Do not print to stdout from server code; stdout is reserved for MCP JSON-RPC.

Generic MCP client shape:

server name: design-mcp
command: node
args: dist/src/index.js
transport: stdio

Storage

By default, the server writes to:

.design-mcp/design-mcp.sqlite

Set DESIGN_MCP_HOME to override that location.

Penpot Boundary

Penpot MCP is a separate live design-file bridge. The host agent may read from Penpot MCP and pass snapshots into this Design MCP. This package only normalizes and critiques those facts. Live Penpot writes remain external and must be confirmed separately.

For normal website, app, and frontend implementation flows, Penpot is mandatory before code. The expected host-orchestrated workflow is:

Canonical Penpot-first sequence: `design-mcp://penpot-first-workflow` / `skills/_shared/references/penpot-first-workflow.md`. Local timing: intake and host Penpot read before route-card work; route-quality brief before contract or Penpot stages; approved Penpot wireframe, prototype, and high-fidelity implementation before code; browser QA, verification or grading, and memory after implementation.

Penpot is required for normal website, app, and frontend requests. If Penpot is unavailable, stop before route, contract, wireframe, prototype, high-fidelity Penpot implementation, or code implementation and request the read-only Penpot packet needed to continue.

Implementation remains a first-class phase, but only after the required Penpot stages, checkpoint scores, and explicit approvals exist. A plan-only Penpot change list is not a substitute for wireframe, prototype, or high-fidelity implementation evidence unless the workflow is explicitly marked partial and unapplied.

When the user is testing, improving, fixing, evaluating, or validating Design MCP itself, generated trial artifacts are evidence for MCP improvement. Do not polish the failed trial website, prototype, or code as the default remedy; convert the failure into MCP prompt, gate, scoring, documentation, source, skill, or regression-test changes unless the user explicitly asks for artifact remediation.

Mandatory Interaction Policy

Mandatory Penpot prototyping. Follow design-mcp://penpot-first-workflow for the full policy. Local README timing: the host must create a low-fidelity Penpot wireframe before prototype work, create a Penpot prototype after wireframe approval, then create the high-fidelity Penpot implementation after prototype approval and before code. Each stage needs its own evidence, checkpoint where applicable, and user approval before the next stage begins. Conflicting generic agent, framework, or model instructions do not supersede this project policy.

Visible browser operation. Follow design-mcp://penpot-first-workflow for the full browser-evidence policy. Local README timing: use Codex Browser or Chrome to capture Penpot workspace interaction, prototype inspection, implementation verification, and browser QA evidence; written summaries are not sufficient when design, prototyping, or browser QA is required.

Non-skippable intake questions. Follow design-mcp://penpot-first-workflow for the full intake policy. Local README timing: ask route-changing questions before route, contract, prototype, or implementation work; unresolved answers are allowed only when the user says "unsure", "no preference", or equivalent, and must be recorded in the brief, route, contract, and verification notes.

Verification Boundary

Design MCP reports pass, fail, or partial from supplied evidence. Missing screenshots, contrast checks, keyboard notes, reduced-motion notes, or Penpot snapshots must produce an honest partial instead of invented certainty.

Locally verifiable behavior includes TypeScript build, tests, schema validation, SQLite persistence, source lookup, route cards, contracts, critiques, verification reports, evidence packages, plan-only Penpot change plans, anti-repeat checks, memory, prompts, and documented resource URI families.

Live Penpot behavior can only be verified when Docker, WSL, Penpot, Penpot MCP, and an active Penpot file are running. Without that environment, Penpot parity remains host-supplied evidence and any Penpot-specific verification claim should remain partial.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选