Design System Analyzer
БесплатноНе проверенAnalyzes React component files and design tokens to provide accurate component properties and styling information for precise UI code generation and design reco
Описание
Analyzes React component files and design tokens to provide accurate component properties and styling information for precise UI code generation and design recommendations.
README
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 propertiesgetTokens: Retrieves design token information from token files
Debugging the MCP Server
To debug the MCP server:
- Run the in-memory debug script:
$ deno task debug-mcp
This 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 colorstypography.json: Font families, sizes, weightsspacing.json: Spacing scaleradius.json: Border radius values
Token Generation Process
Tokens are processed using Style Dictionary with the following workflow:
- Define token values in JSON files in the
tokensdirectory - Style Dictionary processes these tokens according to the configuration in
src/design-system/style-dictionary/config.json - Output formats include:
- CSS variables (tokens.css)
- JavaScript module (tokens.js)
- TypeScript declarations (tokens.d.ts)
To generate tokens:
$ deno task build-tokens
The generated files are placed in the src/design-system/style-dictionary/dist directory and can be imported into your components.
Установка Design System Analyzer
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/yajihum/design-system-mcpFAQ
Design System Analyzer MCP бесплатный?
Да, Design System Analyzer MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Design System Analyzer?
Нет, Design System Analyzer работает без API-ключей и переменных окружения.
Design System Analyzer — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Design System Analyzer в Claude Desktop, Claude Code или Cursor?
Открой Design System Analyzer на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Design System Analyzer with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
