Wellx Design System 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., "@Wellx Design System MCPShow me the Button component spec and its tokens."
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.
Wellx Unified Design System
One hub, four surfaces. Everything in this repo is the single source of truth for how Wellx tools and products look; every other artifact is generated from or synced to it.
Surface | Consumer | Mechanism |
Figma "Foundations" + "Wellx Unified Design System" files | designers | Figma team library (publish from Figma) |
| app builds | npm package: CSS variables + Tailwind preset |
| AI agents | MCP server: rules, recipes, tokens, search, validate |
| humans | documentation site — host via GitHub Pages / Vercel; run locally with any static server ( |
Using the MCP (agents)
Testing phase — straight from GitHub, no hosting. Add to any repo's .mcp.json (or claude mcp add):
{
"mcpServers": {
"wellx-design-system": {
"command": "npx",
"args": ["-y", "github:mbarbarydesign/Wellx-design-mcp"]
}
}
}Every new session installs and runs the latest commit of main — push an update and the next session anyone starts is current. Covers Claude Code and Claude Desktop. (Local dev inside this repo: "command": "node", "args": ["mcp/server.mjs"].)
Production phase — remote connector (live). The same tool core is deployed as a stateless Streamable HTTP endpoint at api/mcp.mjs — Vercel serves it at https://wellx-design-mcp.vercel.app/api/mcp alongside the docs site. Add that URL once in Claude → Settings → Connectors → Add custom connector; it covers claude.ai web/mobile, the desktop app, and Claude Code, and every push to main redeploys it. The npx entry remains as the offline/local fallback.
Tools: get_principles · get_rules(topic) · get_component_spec(name) · get_tokens(category, mode) · search(query) · validate(code) · get_changelog.
Each portal repo should also keep the thin pointer skill (skill/SKILL.md) in .claude/skills/wellx-design-system/ so agents know to call the server.
Related MCP server: eds-mcp-server
Using the tokens (builds)
// tailwind.config.js
module.exports = { presets: [require('@wellx/design-tokens/wellx-tailwind-preset.cjs')], darkMode: ['class'], content: [...] };/* app entry */
@import '@wellx/design-tokens/wellx-tokens.css';Updating the system
Designer edits variables in the Figma Foundations file → publishes the library.
Run the sync (
scripts/sync-from-figma.mjswithFIGMA_TOKEN, or a Claude session with the Figma MCP) → PR with the token diff + CHANGELOG entry.Merge → regenerate
tokens/*.css|cjsfromwellx-tokens.json, bump versions, publish npm packages, redeploy the MCP + docs.Portal repos pick up tokens via a dependency bump; agents are current immediately via the MCP.
Rules changes (spec/*.md) follow the same PR flow — the MCP serves them live; no agent-side update needed.
Governance
CODEOWNERS on
tokens/andspec/— design lead approves every change.Renaming/removing a token = major version + migration note in CHANGELOG.
New components enter
spec/components.mdonly with a reviewed reference implementation.
Documentation site
docs/ is a zero-build static site: What's new, Color tokens, per-component pages (spec + how to use + code), install guide, and the Design System Creator (enter primary/secondary colors, get one design-system.json — guidelines + all tokens — with generated 25-950 scales). docs/one-pager.html is the printable single-page overview.
Ship an update: edit docs/data.js (WHATS_NEW + VERSION), CHANGELOG.md, and the spec/tokens as needed - one PR updates the MCP, the site, and the changelog together.
This server cannot be deployed
Maintenance
Related MCP Connectors
Build and manage your design system with AI: tokens, themes, components, icons, Figma and code.
The Figma MCP server brings Figma design context directly into your AI workflow.
Access and maintain design system docs, tokens, components, skills, and contexts across any project.
Brand-safe MCP for AI agents to create editable, on-brand graphics and automate variants.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server that exposes your design system components and tokens to AI agents, preventing duplicate component creation and hardcoded token values.5 npm9MIT
- AlicenseBqualityBmaintenanceEnables AI agents to access design system tokens and component contracts through MCP, reducing token usage and ensuring consistency.29MIT
- AlicenseAqualityDmaintenanceAn MCP server that connects AI clients to Figma components, design tokens, and variables from the BrixUI Design System, enabling component browsing, searching, and token retrieval.44 npmMIT
- AlicenseNot gradedqualityBmaintenanceAn 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.1MIT