mcp

v12.8.0
@nexub/mcp Checked just now Published 2 days ago

MCP server for Nexub Design System: gives Claude, Cursor and any MCP client the components, patterns, tokens and design rules of the installed release.

MCP server for the Nexub Design System. It gives your AI coding tool the components, patterns, tokens and design rules of the release you install, so it builds UI with Nexub instead of generic Tailwind. Cursor, Windsurf, VS Code or any client that takes an mcpServers config: Using Claude Code? The nexub-ds plugin ships the same content as a skill:

Summary extracted from the README.

@nexub/mcp

MCP server for the Nexub Design System. It gives your AI coding tool the components, patterns, tokens and design rules of the release you install, so it builds UI with Nexub instead of generic Tailwind.

Setup

Claude Code:

claude mcp add nexub-ds -- npx -y @nexub/mcp

Cursor, Windsurf, VS Code or any client that takes an mcpServers config:

{
  "mcpServers": {
    "nexub-ds": { "command": "npx", "args": ["-y", "@nexub/mcp"] }
  }
}

Using Claude Code? The nexub-ds plugin ships the same content as a skill:

claude plugin marketplace add Nexub-AI/nexub-ds
claude plugin install nexub-ds@nexub

Tools

Tool Returns
get_guidelines Setup, how to build a screen, Calm Depth principles, Liquid Glass and copy rules, review checklist
list_components Every component and pattern, optionally filtered (query: "table")
get_component Props, import, examples, when to use and accessibility for one component (name: "DatePicker")
get_tokens Color roles, typography, spacing, shape, elevation, motion, with Tailwind utilities (section: "Motion")
get_react_native Mobile apps: @nexub/react-native setup, components, screen patterns and mobile rules
get_genui_schema 12.8: the JSON Schema and rules for UI answers rendered by <GenUI> from @nexub/genui (alpha); components narrows it
get_genui_component One generative UI catalog component: props, types, defaults and an example node
validate_genui Checks a generative UI document the way <GenUI> will, and lists each issue with its JSON Pointer path

Prompts

Ready-made starting points, listed by your client (in Claude Code: /mcp__nexub-ds__build_screen). Each carries the guidelines, so the model has the rules without a separate call.

Prompt Arguments
build_screen screen: what to build; platform: web (default) or mobile
review_screen code: the UI to review against the checklist (optional)

Staying current

The server reports the reference of the version it was published with, and it is versioned with @nexub/react. npx -y @nexub/mcp always fetches the latest release. Pin @nexub/mcp@<version> to match an older install.