mcp-server
v0.5.0MCP Server for the DSAIReadable Design System
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
dsaireadable_get_design_system_overview Design system overview
Returns the versions, the install command, the brands and how to switch them, the required imports, the shadcn/ui components left out, counts and categories
dsaireadable_get_components Components
Lists the components with their category, status, code path and sizes: { total, items, next_cursor }
| Parameter | Type | Description |
|---|---|---|
category | string | Brand, Conversation, Data, Feedback, Forms, Layout, Media, Misc, Navigation, Overlay or Typography |
cursor | string | The next_cursor of the previous page |
limit | integer | Default 100 |
dsaireadable_get_component_specs Component spec
Returns one component's spec: role, MUST / MUST NOT constraints, export names, cross-references and how its API departs from shadcn/ui (each divergence, with the reason; write the shadcn/ui API everywhere else). The whole spec, with anatomy, tokens and states, is the resource ds://component/{name}/spec
| Parameter | Type | Description |
|---|---|---|
component_name * | string | e.g. Button, Card, Dialog |
response_format | string | "detailed" adds usage, export summaries and descriptions, props, accessibility (ARIA pattern, keyboard, accessible name, pitfalls), the code example, the cva variants with their defaults, the sizes an… |
dsaireadable_get_tokens Semantic tokens
Returns the semantic tokens: { total, items, next_cursor }. One token is the resource ds://token/{path}
| Parameter | Type | Description |
|---|---|---|
category | string | |
cursor | string | The next_cursor of the previous page |
limit | integer | Default 100 |
dsaireadable_get_deprecations Deprecations
Returns the deprecated tokens and component exports, each with its replacement. Check it before using a token or an export from an earlier version
| Parameter | Type | Description |
|---|---|---|
kind | string | Omit for both |
dsaireadable_get_changelog Changelog
Returns the changelog, one entry per change, newest release first: { total, items, next_cursor }. Read it for what changed since the version you know
| Parameter | Type | Description |
|---|---|---|
category | string | A changelog heading, such as Minor Changes or Fixed |
cursor | string | The next_cursor of the previous page |
limit | integer | Default 100 |
version | string | A release number |
dsaireadable_get_typography Typography
Returns the font families, type scale, text roles with their size in each brand, weights, line heights, letter spacing and usage rules
dsaireadable_get_icons Icons
Returns the icon library, its default size, its usage rules and the catalog URL
dsaireadable_get_design_rules Design rules
Returns the design rules. Without a category: the composition rules, the titles of the critical rules and the categories to pass
| Parameter | Type | Description |
|---|---|---|
category | string | A foundation (color, spacing, focus…) or a component name: its rules and the composition rules that cover it. "composition": every composition rule. "tailwind": the critical rules |
response_format | string | "detailed" adds the critical rules whole and, without a category, the other foundation rules except those for UI text |
dsaireadable_list_patterns Page patterns
Lists the page patterns with name, title, kind and role: tasks (create, edit, delete, filter, search, sign-in, settings), the UI patterns they share (empty-state, form, loading, navigation, saving) and the project's own
| Parameter | Type | Description |
|---|---|---|
kind | string |
dsaireadable_get_pattern Page pattern
Returns one page pattern by name or title: role, usage rules and the components it takes
| Parameter | Type | Description |
|---|---|---|
name * | string | e.g. "create", "sign-in", "Empty state" |
response_format | string | "detailed" adds the structure (regions and their components), the component variants, the spacing and content rules, the code example and the cross-references |
dsaireadable_get_dataviz_recommendation Chart recommendation
Returns the chart types recommended for an objective, each with its spec
| Parameter | Type | Description |
|---|---|---|
objective * | string |
dsaireadable_get_dataviz_specs Chart spec
Returns one chart type's spec: library, component, tokens, anatomy, do/don't, variants
| Parameter | Type | Description |
|---|---|---|
chart_type * | string | e.g. bar, line, pie, data_card |
dsaireadable_get_ux_writing_rules UX writing rules
Returns the rules for UI text: voice and tone (sentence case, verb-first buttons, errors that say what happened and how to fix it, word list) and content (UI_STRINGS defaults, one override prop per string, the defaults' language). Other rules: dsaireadable_get_design_rules
dsaireadable_get_glossary Glossary
Returns the glossary, or one term's definition
| Parameter | Type | Description |
|---|---|---|
term | string |
dsaireadable_get_content_library Content library
Returns example UI strings: labels, placeholders and messages
| Parameter | Type | Description |
|---|---|---|
category | string |
dsaireadable_get_stats Design system stats
Returns component counts by status and category, token counts per tier, and spec coverage
dsaireadable_validate_screen Validate a screen
Checks TSX as text, even before it parses: raw values, inline styles, the default palette, primitive tokens, prefers-color-scheme, native elements, import origins, a Tooltip with no provider
| Parameter | Type | Description |
|---|---|---|
code * | string | The screen's TSX |
dsaireadable_validate_code Validate code with the ESLint rules
Lints TSX with @dsaireadable/eslint-plugin, the rules a project runs (native elements, other UI or icon libraries, raw colors, default-palette and arbitrary Tailwind values, primitive tokens, deprecated imports), and type-checks it: syntax, undefined names. Run it on the final code. It does not check that a Tailwind class exists
| Parameter | Type | Description |
|---|---|---|
code * | string | The whole .tsx file, imports included |