Skip to main content
Glama

dsk — design-system memory toolkit

CI License: MIT

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

The dsk visualizer — design tokens view

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.

Related MCP server: ds-pilot

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 — the dsk command: the builder (init, token, component, pattern, guideline, import, export, feature, recommend, lint).

  • @dsk/server + @dsk/webdsk serve: the viewer — a React visualizer + JSON API + the MCP endpoint, in one process.

  • @dsk/mcpthe agent surface: the MCP server Claude Code (or any MCP client) plugs into to read, lint, and author the design system.

Component usage rules in the visualizer

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

MIT

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    An MCP server that enables AI to interact with the private 'my-design' React component library and design tokens for UI generation and technical support. It provides tools for component searching, API documentation retrieval, and migration guidance based on specific internal design specifications.
    Last updated
    6
  • A
    license
    -
    quality
    B
    maintenance
    MCP server that exposes your design system components and tokens to AI agents, preventing duplicate component creation and hardcoded token values.
    Last updated
    18
    9
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    A read-only MCP server that provides AI coding agents with a queryable contract for design system tokens, components, patterns, and anti-patterns.
    Last updated
    207
    1
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • An MCP server that integrates with Discord to provide AI-powered features.

  • Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.

  • MCP server connecting AI agents to non-custodial staking data across 130+ networks.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rabindranath1311/dsk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server