ainative-design-system-mcp-server

v1.1.1
ainative-design-system-mcp-server Checked 2 days ago Published 13 days ago

AINative 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

ParameterTypeDescription
source *Source file path or directory, or array of paths
categoriesarrayFilter tokens by categories (colors, typography, spacing, etc.)
formatsarrayFile formats to process
includeMetadatabooleanInclude extraction metadata in the result
outputstringOutput file path for extracted tokens
transformstringTransform token names to specified case

analyzeComponentLibrary

Analyze component library structure, props, styles, and patterns

ParameterTypeDescription
source *stringPath to component library directory
depthnumberDirectory scanning depth
excludePatternsarrayPatterns to exclude from analysis
frameworkstringTarget framework (auto-detect if not specified)
generateDocsbooleanGenerate component documentation
includeStylesbooleanInclude style analysis in the results

generateTheme

Generate comprehensive theme configuration from base colors

ParameterTypeDescription
baseColors *arrayArray of base colors in hex, rgb, or hsl format
accessibilitybooleanEnable accessibility compliance checking
contrastRationumberMinimum contrast ratio for accessibility (WCAG AA: 4.5, AAA: 7)
formatstringOutput format for the theme
includeSemanticColorsbooleanInclude semantic colors (success, warning, error, info)
modesarrayTheme modes to generate

createComponentDocs

Generate comprehensive documentation for components

ParameterTypeDescription
components *stringComponent file pattern
generateExamplesbooleanGenerate usage examples
includeStorybookbooleanInclude Storybook stories
outputstringOutput directory

validateDesignSystem

Validate design system for consistency and accessibility

ParameterTypeDescription
source *stringDesign system directory
reportFormatstringReport format
rulesarrayValidation rules

extractColorsFromImage

Extract dominant colors from image files

ParameterTypeDescription
source *stringImage file path or URL
accessibilitybooleanFilter for accessible colors
countnumberNumber of colors to extract

generateColorPalette

Generate complete color palette from base color

ParameterTypeDescription
baseColor *stringBase color in hex format
harmonystringColor harmony type
stepsnumberNumber of color steps

convertTokenFormat

Convert design tokens between different formats

ParameterTypeDescription
targetFormat *stringTarget format
tokens *objectInput tokens object
outputstringOutput file path

optimizeTokens

Optimize design tokens for performance and consistency

ParameterTypeDescription
tokens *objectInput tokens object
optimizationsarrayOptimization types

generateFrameworkConfig

Generate framework-specific configuration from tokens

ParameterTypeDescription
framework *stringTarget framework
tokens *objectDesign tokens object
includeComponentsbooleanInclude component configurations

analyzeAccessibility

Analyze design system for accessibility compliance

ParameterTypeDescription
source *stringSource directory or tokens object
checkContrastbooleanCheck color contrast ratios
wcagLevelstringWCAG compliance level

detectBreakpoints

Detect responsive breakpoints from CSS files

ParameterTypeDescription
source *stringCSS file or directory path
includeCustombooleanInclude custom media queries

extractTypographyScale

Extract typography scale from design files

ParameterTypeDescription
source *stringSource file or directory
includeLineHeightsbooleanInclude line heights
includeWeightsbooleanInclude font weights

generateSpacingSystem

Generate consistent spacing system

ParameterTypeDescription
base *numberBase spacing unit in pixels
scalestringSpacing scale type
stepsnumberNumber of spacing steps

createStyleGuide

Generate comprehensive style guide documentation

ParameterTypeDescription
tokens *objectDesign tokens object
componentsstringComponents directory
formatstringOutput format
outputstringOutput directory for style guide