design-md-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@design-md-mcpBuild a proposal voting screen in the Tidepool style, light and dark. Start with get_screen_kit."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
design-md-mcp
Give your AI agent your design system.
An MCP server that reads any DESIGN.md and answers your agent in a few lines:
the exact token, the component class to reuse, the rule not to break.

Why
When an agent builds UI, it either guesses your colours or reads your whole design system on every prompt. design-md-mcp sits in between: the agent asks a small question and gets a short answer, a couple of lines for a colour or about a page of text to set up a whole screen, with the light and dark values, the CSS variable to use and the component class that already exists.
On-system output. Exact tokens, not "close enough" hex codes.
Reuse over rebuild. It points the agent at your existing component classes, with a markup example.
Catches drift.
check_valueflags made-up colours and pixel sizes and suggests the nearest token.Works with any DESIGN.md. Bring your own, or try the bundled Tidepool demo.
Related MCP server: Designesy
Quick start
Needs Node 18+. Works with any MCP client: Claude Code, Cursor, Windsurf, Claude Desktop, VS Code.
Try the Tidepool style
# 1. Copy the demo design system into ./tidepool
npx -y github:tingowiggle/design-md-mcp init tidepool
# 2. Connect it (Claude Code)
claude mcp add tidepool -- npx -y github:tingowiggle/design-md-mcp --file ./tidepool/DESIGN.mdThen ask your agent: "Build a proposal voting screen in the Tidepool style, light and dark. Start with get_screen_kit."
Just exploring? Skip the copy step: --example tidepool uses the bundled files directly.
Use your own DESIGN.md
claude mcp add my-design -- npx -y github:tingowiggle/design-md-mcp --file ./DESIGN.md{
"mcpServers": {
"my-design": {
"command": "npx",
"args": ["-y", "github:tingowiggle/design-md-mcp",
"--file", "./DESIGN.md",
"--css", "./src/styles/tokens.css"]
}
}
}Add it to your client's MCP config (e.g. .cursor/mcp.json) and restart the client.
Options
Flag | What it does |
| Your |
| Stylesheet(s) with your CSS variables and component classes. |
| HTML that uses your components, for markup examples. |
| Extra markdown files with rules |
| Where your tokens live if not |
| Use the bundled demo |
| Copy the demo into your project |
Tools
Tool | Ask it | Answer size |
| "approve payment sheet". Start here: setup, every reusable class, the most relevant components with markup, and the must-follow rules | about a page (~650 tokens) |
| "bottom-sheet" → use | a short paragraph (~170 tokens) |
| "primary" → | 2–3 lines (~80 tokens) |
| "rejected status" → the right tokens or components | 2–3 lines (~90 tokens) |
| "#0F7B6D" → not a token, use | 2–3 lines (~55 tokens) |
| "colour rules" → that section of your DESIGN.md | a short paragraph (~120 tokens) |
| every token and component name, no values | half a page (~420 tokens) |
Loading the tools adds ~800 tokens to your agent's context. For comparison, reading Tidepool's full
DESIGN.md and stylesheet is ~6,300 tokens.
What goes in a DESIGN.md
YAML tokens between --- fences, then markdown sections with your rules:
---
name: My Product
colors:
primary: "#0F7B6C"
ink: "#10221F"
rounded:
md: 10px
components:
button-primary:
backgroundColor: "{colors.primary}"
rounded: "{rounded.md}"
---
## Colors
| Token | Light | Dark | Use |
|---|---|---|---|
| `--primary` | `#0F7B6C` | `#3FBFA8` | The confirm action |
## Components
### Primary button
`.btn .btn-primary`. One per view.
## Do's and Don'ts
| Do | Don't |
|---|---|
| One primary button per view | Two primary buttons side by side |The server links YAML names to CSS variables that share a value, maps component names to your
stylesheet's classes (button-primary → .btn-primary, bottom-sheet → .sheet), and indexes every
section so get_rules can answer by topic. A ## Setup section travels with get_screen_kit.
Tidepool, the demo design system
A fictional community wallet with an AI copilot, Tide, bundled as a complete example in
examples/tidepool. Teal means a person confirmed it; violet means the copilot
suggested it.

File | What it is |
| Tokens, components and rules |
| CSS variables (light + dark) and component classes |
| 14-icon line set as an inline sprite |
| Tide in 3D (three.js): |
Open index.html for the full showcase page.
Develop
npm install
node src/smoke.js # calls every tool against Tidepool
node src/cli.js get_token '{"name":"primary"}' -- --example tidepoolLicense
Apache-2.0 · made by Web3 Story Lab. Tidepool and all its names and data are fictional.
This server cannot be deployed
Maintenance
Related MCP Connectors
Serves your design system and coding standards to coding agents, so they stop guessing.
Give your agent a real design system: tokens, measured WCAG contrast, and rules to follow.
Live React design-system APIs, patterns, and code validation so AI agents build real UI, not slop.
Build and manage your design system with AI: tokens, themes, components, icons, Figma and code.
Related MCP Servers
- AlicenseAqualityAmaintenanceDesign contract layer for AI agents. Scans Figma, code, Storybook, and token files, reconciles conflicts, and serves a single machine-readable source of truth so every agent gets the same authoritative design rules before it builds. Local-first.670 npm19Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to score live URLs against a 40-check design contract, validate DTCG tokens and Lottie animations, audit accessibility, and retrieve design-system contracts, catalogs, and review rubrics.253 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to query a workspace's design system before writing UI and validate generated code against the same system afterward, using configurable token and component sources.17 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to retrieve accurate design system information, component APIs, design tokens, and coding standards, so they build with real specs rather than guessing.2MIT