design-system-mcp
Documentation
MCP Server for Design System
This project includes an MCP (Model Context Protocol) server that provides information about component props and design tokens.
MCP Server Features
The MCP server offers two main tools:
- `getComponentProps`: Retrieves information about component properties
- `getTokens`: Retrieves design token information from token files
Debugging the MCP Server
To debug the MCP server:
1. Run the in-memory debug script:
$ deno task debug-mcpThis script:
- Creates an in-memory client-server connection
- Makes sample calls to retrieve component props and tokens
- Displays the results in the console
You can modify the debug script to test different components or specific token requests.
Design Token Generation
Design tokens are stored as JSON files in the `src/design-system/tokens` directory:
- `color.json`: Color palette and theme colors
- `typography.json`: Font families, sizes, weights
- `spacing.json`: Spacing scale
- `radius.json`: Border radius values
Token Generation Process
Tokens are processed using Style Dictionary with the following workflow:
1. Define token values in JSON files in the `tokens` directory
2. Style Dictionary processes these tokens according to the configuration in `src/design-system/style-dictionary/config.json`
3. Output formats include:
To generate tokens:
$ deno task build-tokensThe generated files are placed in the `src/design-system/style-dictionary/dist` directory and can be imported into your components.
Frequently asked questions
What is design-system-mcp?
design-system-mcp is a Model Context Protocol (MCP) server listed in the TrackMCP directory.
How do I install design-system-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is design-system-mcp open source?
Yes — it is hosted on GitHub at https://github.com/yajihum/design-system-mcp and has 22 stars.
Related MCP tools
Connect an MCP Client that only supports local (stdio) servers to a Remote MCP Server, with auth support: TypeScript-based implementation.
- Discover available MCP servers from our curated registry TypeScript-based implementation.
🍒 Cherry Studio is a desktop client that supports for multiple LLM providers. Built for the Model Context Protocol to enhance AI capabilities.
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini...
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, ...
Composio equips your AI agents & LLMs with 100+ high-quality integrations via function calling for the Model Context Protocol. Enhance AI assistants with powerf
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP