Integration

MCP Server

Connect any MCP-compatible AI assistant to Stareezy UI — query tokens, scaffold components, validate configs, and search docs through a standard tool interface.

The Stareezy UI MCP server works with Claude Desktop, Claude Code, Cursor, Windsurf, and any other editor or assistant that supports the Model Context Protocol.

What it does

The MCP server exposes Stareezy UI as a set of structured tools that AI assistants can call directly. Instead of relying on training data or skill files, the assistant queries live token values, component APIs, and your project config — giving it accurate, always-up-to-date knowledge of the design system.

Available tools

get_tokens

List all design tokens by category. Accepts an optional category filter (colors, spacing, radius, typography, shadows).

get_token

Get the value and metadata for a single token by its dot-path, e.g. colors.celurenBlue.500.

list_components

Return a summary of all 31+ components with their prop signatures and import paths.

get_component

Get full props, usage examples, and platform notes for a specific component by name.

list_themes

List all built-in themes (quasar, aurora, steins-gate, dark, light) with their brand color values.

validate_config

Validate a stareezy.config.ts contents — check that themes, breakpoints, and shorthands are well-formed.

scaffold_component

Generate a production-ready component scaffold using the correct token accessor pattern for a given component type.

search_docs

Full-text search across all Stareezy UI documentation pages. Returns ranked results with relevant excerpts.

Installation

1
Install the MCP server

The server ships as a standalone npm package and runs via npx — no global install needed.

# Run directly (recommended) npx @stareezy-ui/mcp-server # Or install globally npm install -g @stareezy-ui/mcp-server stareezy-mcp
2
Add to your editor config

Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{ "mcpServers": { "stareezy-ui": { "command": "npx", "args": ["@stareezy-ui/mcp-server@latest"], "env": {} } } }

Kiro / Cursor / Windsurf — add to .kiro/settings/mcp.json or your editor's equivalent MCP config:

{ "mcpServers": { "stareezy-ui": { "command": "npx", "args": ["@stareezy-ui/mcp-server@latest"], "disabled": false, "autoApprove": ["get_tokens", "list_components", "list_themes", "search_docs"] } } }
Add get_tokens, list_components, and search_docs to autoApprove — they are read-only and safe to run without confirmation prompts.
3
Verify the connection

Once configured, ask your assistant to use the server:

"Use the Stareezy UI MCP server to list all spacing tokens" "Get the full props for the Button component from Stareezy UI" "Scaffold a hero section using Stareezy UI tokens"

The assistant will call the appropriate tools and return live, accurate results from the design system.

Usage examples

get_tokens
"What spacing tokens are available in Stareezy UI?"

Returns all spacing.[n] values with their pixel equivalents

scaffold_component
"Scaffold a dashboard card component using Stareezy UI"

Generates Card.tsx, Card.style.ts, Card.types.ts with correct token imports

get_component
"Show me the full API for the Drawer component"

Returns all props, types, platform notes, and a usage example

validate_config
"Is my stareezy.config.ts valid?"

Checks themes, breakpoints, shorthands and returns any issues

Configuration options

Pass environment variables or CLI flags to customize server behavior:

# Point at a custom stareezy.config.ts location STAREEZY_CONFIG=./config/stareezy.config.ts npx @stareezy-ui/mcp-server # Enable verbose tool call logging STAREEZY_MCP_LOG=verbose npx @stareezy-ui/mcp-server # Pin to a specific package version for reproducibility npx @stareezy-ui/mcp-server@1.0.0
VariableDefaultDescription
STAREEZY_CONFIG./stareezy.config.tsPath to your project config file
STAREEZY_MCP_LOGerrorLog level: error | info | verbose
STAREEZY_MCP_PORTstdioTransport: stdio (default) or http:<port>
The MCP server is open source. Source code and issue tracker are at github.com/stareezy-1/stareezy-ui. For Claude skill files (no server required), see Skills for Claude.