ainative-design-system-mcp-server
v1.1.1AINative Design System MCP Server for Claude Code - Extract design tokens, analyze components, and generate themes
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
extractDesignTokens
Extract design tokens from CSS, SCSS, JSON, and YAML files
| Parameter | Type | Description |
|---|---|---|
source * | Source file path or directory, or array of paths | |
categories | array | Filter tokens by categories (colors, typography, spacing, etc.) |
formats | array | File formats to process |
includeMetadata | boolean | Include extraction metadata in the result |
output | string | Output file path for extracted tokens |
transform | string | Transform token names to specified case |
analyzeComponentLibrary
Analyze component library structure, props, styles, and patterns
| Parameter | Type | Description |
|---|---|---|
source * | string | Path to component library directory |
depth | number | Directory scanning depth |
excludePatterns | array | Patterns to exclude from analysis |
framework | string | Target framework (auto-detect if not specified) |
generateDocs | boolean | Generate component documentation |
includeStyles | boolean | Include style analysis in the results |
generateTheme
Generate comprehensive theme configuration from base colors
| Parameter | Type | Description |
|---|---|---|
baseColors * | array | Array of base colors in hex, rgb, or hsl format |
accessibility | boolean | Enable accessibility compliance checking |
contrastRatio | number | Minimum contrast ratio for accessibility (WCAG AA: 4.5, AAA: 7) |
format | string | Output format for the theme |
includeSemanticColors | boolean | Include semantic colors (success, warning, error, info) |
modes | array | Theme modes to generate |
createComponentDocs
Generate comprehensive documentation for components
| Parameter | Type | Description |
|---|---|---|
components * | string | Component file pattern |
generateExamples | boolean | Generate usage examples |
includeStorybook | boolean | Include Storybook stories |
output | string | Output directory |
validateDesignSystem
Validate design system for consistency and accessibility
| Parameter | Type | Description |
|---|---|---|
source * | string | Design system directory |
reportFormat | string | Report format |
rules | array | Validation rules |
extractColorsFromImage
Extract dominant colors from image files
| Parameter | Type | Description |
|---|---|---|
source * | string | Image file path or URL |
accessibility | boolean | Filter for accessible colors |
count | number | Number of colors to extract |
generateColorPalette
Generate complete color palette from base color
| Parameter | Type | Description |
|---|---|---|
baseColor * | string | Base color in hex format |
harmony | string | Color harmony type |
steps | number | Number of color steps |
convertTokenFormat
Convert design tokens between different formats
| Parameter | Type | Description |
|---|---|---|
targetFormat * | string | Target format |
tokens * | object | Input tokens object |
output | string | Output file path |
optimizeTokens
Optimize design tokens for performance and consistency
| Parameter | Type | Description |
|---|---|---|
tokens * | object | Input tokens object |
optimizations | array | Optimization types |
generateFrameworkConfig
Generate framework-specific configuration from tokens
| Parameter | Type | Description |
|---|---|---|
framework * | string | Target framework |
tokens * | object | Design tokens object |
includeComponents | boolean | Include component configurations |
analyzeAccessibility
Analyze design system for accessibility compliance
| Parameter | Type | Description |
|---|---|---|
source * | string | Source directory or tokens object |
checkContrast | boolean | Check color contrast ratios |
wcagLevel | string | WCAG compliance level |
detectBreakpoints
Detect responsive breakpoints from CSS files
| Parameter | Type | Description |
|---|---|---|
source * | string | CSS file or directory path |
includeCustom | boolean | Include custom media queries |
extractTypographyScale
Extract typography scale from design files
| Parameter | Type | Description |
|---|---|---|
source * | string | Source file or directory |
includeLineHeights | boolean | Include line heights |
includeWeights | boolean | Include font weights |
generateSpacingSystem
Generate consistent spacing system
| Parameter | Type | Description |
|---|---|---|
base * | number | Base spacing unit in pixels |
scale | string | Spacing scale type |
steps | number | Number of spacing steps |
createStyleGuide
Generate comprehensive style guide documentation
| Parameter | Type | Description |
|---|---|---|
tokens * | object | Design tokens object |
components | string | Components directory |
format | string | Output format |
output | string | Output directory for style guide |