design-token-bridge-mcp

v1.0.2
io.github.kenneives/design-token-bridge-mcp Checked 3 days ago Published 9 months ago

Translate design tokens between Tailwind, Figma, CSS, Material 3, and SwiftUI

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

extract_tokens_from_tailwind

Parse a Tailwind config and extract theme values into universal design tokens

ParameterTypeDescription
config *stringThe contents of a tailwind.config.js or tailwind.config.ts file

extract_tokens_from_css

Parse CSS custom properties (variables) and extract design tokens

ParameterTypeDescription
css *stringThe contents of a CSS file with custom properties

extract_tokens_from_figma_variables

Parse Figma variables export JSON and extract design tokens

ParameterTypeDescription
variables *stringFigma Variables REST API JSON export as a string

extract_tokens_from_json

Parse W3C Design Tokens Community Group (DTCG) format JSON into universal tokens

ParameterTypeDescription
json *stringW3C DTCG format JSON string

generate_material3_theme

Generate Kotlin Jetpack Compose Material 3 theme files from universal design tokens

ParameterTypeDescription
tokens *stringUniversal design tokens JSON string

generate_swiftui_theme

Generate SwiftUI theme files from universal design tokens, with optional Liquid Glass support

ParameterTypeDescription
tokens *stringUniversal design tokens JSON string
liquidGlassbooleanInclude iOS 26+ Liquid Glass modifiers

generate_tailwind_config

Generate a tailwind.config.js theme from universal design tokens

ParameterTypeDescription
tokens *stringUniversal design tokens JSON string
formatstringOutput format: ES modules or CommonJS

generate_css_variables

Generate CSS custom properties from universal design tokens with light/dark mode support

ParameterTypeDescription
tokens *stringUniversal design tokens JSON string
darkTokensstringOptional dark mode universal design tokens JSON string

validate_contrast

Check color combinations in design tokens for WCAG AA/AAA accessibility compliance

ParameterTypeDescription
tokens *stringUniversal design tokens JSON string
levelstringWCAG compliance level to check