@dsk/mcp
An MCP server that gives AI assistants structured access to a design system's tokens, components, guidelines, and patterns, enabling them to read, lint, and author design system data.
README
dsk — design-system memory toolkit
A single self-contained toolkit that gives one product's design system a memory — tokens, components, usage rules, patterns, flows, and screens — readable by humans and by AI coding assistants. One folder = one design system. It builds the design system, shows it, and lets an agent use it over MCP.
Website: https://rabindranath1311.github.io/dsk-website/ · How it works: HOW-IT-WORKS.md

Why
Design systems usually live as tribal knowledge, scattered Figma files, and stale wikis. Agents (and new teammates) can't use any of that. dsk stores the system as structured, versionable data beside your code — with explicit "use when / don't use when" rules per component — so an AI assistant can pick the right component, obey the guidelines, and even author new entries.
The three faces (over one core)
@dsk/core— the kernel: the store (human-readable file repo or SQLite), the node model, DTCG design tokens, exporters. The source of truth.@dsk/cli— thedskcommand: the builder (init,token,component,pattern,guideline,import,export,feature,recommend,lint).@dsk/server+@dsk/web—dsk serve: the viewer — a React visualizer + JSON API + the MCP endpoint, in one process.@dsk/mcp— the agent surface: the MCP server Claude Code (or any MCP client) plugs into to read, lint, and author the design system.

Quickstart
Requires Node.js 20+.
git clone https://github.com/rabindranath1311/dsk
cd dsk
npm install
# create a design system in this folder and load the example seed
npm run dsk -- init --name "Acme"
npm run dsk -- import examples/seed.acme.json
# build the visualizer once, then serve it
npm run build:web
npm run serve # → http://localhost:4321
Then edit from the command line and watch the projections regenerate:
npm run dsk -- token set color.brand.primary "#1F6FEB"
npm run dsk -- component new IconButton --level atom --when "space-constrained toolbars"
npm run dsk -- export # → design-system/tokens.css + design.md + AGENTS.md + SKILL.md
Prefer a fully human-readable store? dsk init --files keeps everything as
markdown files instead of SQLite — diffable and reviewable in PRs.
Use it from Claude Code (MCP)
npm run dsk -- mcp-config # writes .mcp.json (HTTP → http://localhost:4321/mcp)
npm run serve # keep the server running
Open the folder in Claude Code and it connects automatically. The agent can then search components by intent, check usage rules, lint proposed UI against the guidelines, and author tokens/components/patterns — all against the same store the visualizer shows.
What's in the memory
| Kind | What it captures |
|---|---|
| Tokens | DTCG-format design tokens (color, space, radius, type…) with aliases |
| Components | Atomic-design level, intents, variants, use-when / don't-use-when, do/don't, a11y notes, tokens used |
| Patterns & guidelines | Recurring solutions and the cross-cutting rules that govern components |
| IA & flows | App maps and user flows as draggable node graphs |
| Screens | Purpose, states, and the components each screen uses |
| Docs & assets | PRDs, brand refs, research, icons/images — the grounding agents read |
Develop
npm install
npm test # vitest
npm run typecheck # tsc across all packages
The store is the source of truth; everything else is a projection. Editing a
token and re-exporting regenerates tokens.css + design.md. Builder (CLI),
viewer (dsk serve), and the agent surface (MCP) are three faces over the same
@dsk/core.
License
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。