mcp
v12.8.0MCP server for Nexub Design System: gives Claude, Cursor and any MCP client the components, patterns, tokens and design rules of the installed release.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_guidelines Nexub DS guidelines
Setup steps, how to build a screen, Calm Depth principles, Liquid Glass rules, UI copy rules and the review checklist. Call this first before building any UI with Nexub DS.
list_components List Nexub components and patterns
Lists components (@nexub/react) and patterns (@nexub/patterns) with one-line descriptions. Optional query filters by name, category or description.
| Parameter | Type | Description |
|---|---|---|
query | string | e.g. "table", "pricing", "Overlays" |
get_component Get a Nexub component reference
Props, import, examples, when to use and accessibility notes for one component or pattern. Accepts a slug ("date-picker") or name ("DatePicker").
| Parameter | Type | Description |
|---|---|---|
name * | string | Component slug or name |
get_tokens Get Nexub design tokens
Color roles, chart colors, typography roles, spacing, sizes, shape, elevation, motion, z-index and breakpoints, with Tailwind utilities and CSS variables. Optional section narrows the output.
| Parameter | Type | Description |
|---|---|---|
section | string | e.g. "Color roles", "Spacing", "Motion", "Typography roles" |
get_react_native Nexub for React Native
Mobile apps (Expo / React Native): install, NexubNativeProvider, every @nexub/react-native component and @nexub/react-native/patterns screen, and the mobile rules. Call this instead of the web references when building a mobile app.
get_genui_schema Nexub generative UI schema
The JSON Schema (2020-12) for UI answers that Nexub renders with <GenUI> from @nexub/genui, plus the rules. Call this before returning UI instead of text. Optional components narrows the schema to the ones the host renders.
| Parameter | Type | Description |
|---|---|---|
components | array | Catalog names to keep, e.g. ["Card", "Table"]. Catalog: Card, DescriptionList, Table, Badge, Alert, StreamingText, Button |
get_genui_component Get a Nexub generative UI component
One component of the generative UI catalog: its props, their types and defaults, and an example node.
| Parameter | Type | Description |
|---|---|---|
name * | string | Catalog name: Card, DescriptionList, Table, Badge, Alert, StreamingText, Button |
validate_genui Validate a Nexub generative UI document
Checks a generative UI document (JSON text) the way <GenUI> will before rendering it, and lists each issue with its JSON Pointer path. Pass the host's action names to check buttons too.
| Parameter | Type | Description |
|---|---|---|
document * | string | The document, as JSON text |
actions | array | Action names the host accepts |