MCP 3.0.0
给编程助手的 UI 设计工具
审查 UI 代码、修正对比度,或用设计 Token 生成页面区块。
- 12 个只读 MCP 工具
- 84 套可浏览的设计规范
- 5 条快捷提示词
Claude CodeStreamable HTTP
claude mcp add --transport http uidesignmd https://uidesignmd.com/api/mcp无需 API 密钥
连接你的编辑器
运行命令,或将配置添加到编辑器的 MCP 设置中。
终端
claude mcp add --transport http uidesignmd https://uidesignmd.com/api/mcp终端
codex mcp add uidesignmd --url https://uidesignmd.com/api/mcp.cursor/mcp.json
{
"mcpServers": {
"uidesignmd": {
"url": "https://uidesignmd.com/api/mcp"
}
}
}~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"uidesignmd": {
"serverUrl": "https://uidesignmd.com/api/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"uidesignmd": {
"type": "http",
"url": "https://uidesignmd.com/api/mcp"
}
}
}终端
curl -sS https://uidesignmd.com/api/mcp
curl -sS https://uidesignmd.com/api/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
--data '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl","version":"1.0.0"}}}'工具检查器
运行工具,查看返回结果。
search_design_systems
按品牌、类别、色板或字体搜索 84 个 MIT 设计参考。
输入架构
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 200
},
"category": {
"type": "string",
"maxLength": 200
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 84
}
},
"additionalProperties": false
}请求
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_design_systems",
"arguments": {
"query": "Vercel",
"limit": 1
}
}
}示例响应
Loading sample…原始 JSON-RPC 响应
get_design_md
读取简明设计规则与令牌,或获取完整的 MIT DESIGN.md。
输入架构
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"mode": {
"type": "string",
"enum": [
"compact",
"full"
]
}
},
"required": [
"slug"
],
"additionalProperties": false
}请求
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_design_md",
"arguments": {
"slug": "vercel"
}
}
}示例响应
Loading sample…原始 JSON-RPC 响应
get_interaction_snippet
查找可运行的 Motion、Scroll 和 VFX 模式,含提示词和 shadcn 安装命令。
输入架构
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 200
},
"lab": {
"type": "string",
"enum": [
"motion",
"scroll",
"vfx"
]
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 42
}
},
"additionalProperties": false
}请求
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_interaction_snippet",
"arguments": {
"lab": "motion",
"id": "press"
}
}
}示例响应
Loading sample…原始 JSON-RPC 响应
search_ui_guides
搜索 156 个 UI/UX 模式并获取其实现简报。
输入架构
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 200
},
"category": {
"type": "string",
"maxLength": 200
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 156
}
},
"additionalProperties": false
}请求
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_ui_guides",
"arguments": {
"query": "masonry",
"limit": 1
}
}
}示例响应
Loading sample…原始 JSON-RPC 响应
audit_anti_ai_slop
获取具体的 UI 审计规则和前后工程差异。
输入架构
{
"type": "object",
"properties": {
"focus": {
"type": "string",
"enum": [
"all",
"hero",
"cards",
"pricing",
"buttons",
"dashboard",
"motion",
"typography",
"forms"
]
}
},
"additionalProperties": false
}请求
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "audit_anti_ai_slop",
"arguments": {
"focus": "hero"
}
}
}示例响应
Loading sample…原始 JSON-RPC 响应
search_icons
按名称在六个自托管图标库中查找带许可证的内联 SVG。
输入架构
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"set": {
"type": "string",
"enum": [
"lucide",
"tabler",
"ph",
"heroicons",
"simple-icons",
"mdi"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"query"
],
"additionalProperties": false
}请求
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_icons",
"arguments": {
"query": "arrow",
"set": "lucide",
"limit": 3
}
}
}示例响应
Loading sample…原始 JSON-RPC 响应
compose_ui_blueprint
把设计令牌、交互代码、指南规则与审查要点组合成精简的 UI 实施简报。
输入架构
{
"type": "object",
"properties": {
"designSystem": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"goal": {
"type": "string",
"minLength": 1,
"maxLength": 400
},
"interactions": {
"anyOf": [
{
"type": "string",
"maxLength": 400
},
{
"type": "array",
"maxItems": 8,
"items": {
"type": "string",
"maxLength": 100
}
}
]
},
"guides": {
"anyOf": [
{
"type": "string",
"maxLength": 400
},
{
"type": "array",
"maxItems": 8,
"items": {
"type": "string",
"maxLength": 100
}
}
]
},
"stack": {
"type": "string",
"enum": [
"vanilla",
"tailwind",
"react-tailwind"
]
}
},
"required": [
"goal"
],
"additionalProperties": false
}请求
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "compose_ui_blueprint",
"arguments": {
"goal": "Dark developer SaaS landing page with bento grid and border beam",
"designSystem": "linear"
}
}
}示例响应
Loading sample…原始 JSON-RPC 响应
export_theme_tokens
导出满足对比度要求的 Tailwind v4、shadcn/ui 或原生 CSS 令牌。
输入架构
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"format": {
"type": "string",
"enum": [
"tailwind-v4",
"shadcn",
"css-vars",
"all"
]
}
},
"required": [
"slug"
],
"additionalProperties": false
}请求
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "export_theme_tokens",
"arguments": {
"slug": "linear",
"format": "tailwind-v4"
}
}
}示例响应
Loading sample…原始 JSON-RPC 响应
audit_ui_code
粘贴 HTML、JSX 或 CSS,发现视觉细节、无障碍和布局问题。
输入架构
{
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1,
"maxLength": 25000
},
"framework": {
"type": "string",
"enum": [
"auto",
"html",
"react-tailwind",
"css"
]
}
},
"required": [
"code"
],
"additionalProperties": false
}请求
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "audit_ui_code",
"arguments": {
"code": "<button class=\"animate-bounce outline-none\">🚀 Supercharge your workflow</button>\n<img src=\"preview.png\" class=\"w-[640px]\">",
"framework": "auto"
}
}
}示例响应
Loading sample…原始 JSON-RPC 响应
check_color_contrast
检查一组颜色或 CSS Token,获取符合 WCAG 的修正色值。
输入架构
{
"type": "object",
"properties": {
"foreground": {
"type": "string",
"maxLength": 200
},
"background": {
"type": "string",
"maxLength": 200
},
"css": {
"type": "string",
"maxLength": 10000
},
"largeText": {
"type": "boolean"
}
},
"additionalProperties": false
}请求
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "check_color_contrast",
"arguments": {
"foreground": "#777777",
"background": "#FFFFFF"
}
}
}示例响应
Loading sample…原始 JSON-RPC 响应
generate_section_layout
用参考设计规范的 Token 生成响应式区块。
输入架构
{
"type": "object",
"properties": {
"section": {
"type": "string",
"enum": [
"hero",
"bento",
"pricing",
"dashboard",
"auth",
"docs"
]
},
"designSystem": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"stack": {
"type": "string",
"enum": [
"tailwind-react",
"html-css"
]
},
"appearance": {
"type": "string",
"enum": [
"original",
"light",
"dark"
]
}
},
"required": [
"section"
],
"additionalProperties": false
}请求
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "generate_section_layout",
"arguments": {
"section": "hero",
"designSystem": "Linear",
"stack": "tailwind-react",
"appearance": "original"
}
}
}示例响应
Loading sample…原始 JSON-RPC 响应
generate_design_md
生成品牌设计规范和配套的 Tailwind v4、shadcn/ui Token。
输入架构
{
"type": "object",
"properties": {
"brandName": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"primaryColor": {
"type": "string",
"minLength": 4,
"maxLength": 7
},
"mood": {
"type": "string",
"enum": [
"minimal",
"editorial",
"developer",
"warm",
"fintech"
]
},
"surface": {
"type": "string",
"enum": [
"light",
"dark"
]
},
"fontStyle": {
"type": "string",
"enum": [
"sans",
"serif",
"mono"
]
}
},
"required": [
"brandName",
"primaryColor"
],
"additionalProperties": false
}请求
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "generate_design_md",
"arguments": {
"brandName": "Release Studio",
"primaryColor": "#2563EB",
"mood": "minimal",
"surface": "light",
"fontStyle": "sans"
}
}
}示例响应
Loading sample…原始 JSON-RPC 响应
MCP 资源与快捷提示词
直接在 MCP 客户端中打开设计规范。
designmd://systems/linear/apply-design-md/audit-ui-code/redesign-anti-slop/scaffold-saas-page/create-custom-design-md