The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Design Token Bridge MCP listing page.
— signed, offline-verifiable tool-safety grade
Verified on AgentGraph — trust infrastructure for AI agents. View profile
An MCP server that translates design tokens between platforms. Extract tokens from Tailwind, CSS, Figma, or W3C DTCG format — then generate native themes for Material 3 (Kotlin), SwiftUI (with Liquid Glass), Tailwind, and CSS Variables.
Built for the v0 → Figma → Claude Code design pipeline.
Add to your Claude Code MCP settings (~/.claude/settings.json or project .mcp.json):
Or if installed from source:
| Tool | Input | Description |
|---|---|---|
extract_tokens_from_tailwind | tailwind.config.js content | Parses colors, fontSize, spacing, borderRadius, boxShadow |
extract_tokens_from_css | CSS file content | Extracts --color-*, --space-*, --radius-*, --shadow-* custom properties |
extract_tokens_from_figma_variables | Figma Variables API JSON | Parses COLOR, FLOAT types, resolves aliases, handles multi-mode |
extract_tokens_from_json | W3C DTCG format JSON | Parses $value/$type/$description, resolves {aliases}, handles groups |
| Tool | Output | Description |
|---|---|---|
generate_material3_theme | Kotlin (Jetpack Compose) | lightColorScheme(), Typography, Shapes with M3 naming |
generate_swiftui_theme | Swift (SwiftUI) | Color extensions, Font structs, optional Liquid Glass (iOS 26+) |
generate_tailwind_config | tailwind.config.js | Theme extend block with rem units, ESM or CJS |
generate_css_variables | CSS custom properties | :root block with light/dark mode via prefers-color-scheme |
| Tool | Description |
|---|---|
validate_contrast | WCAG AA/AAA contrast checking for color pairs with pass/fail + ratios |
All tools speak this common format:
See the examples/qt-games/ directory for a complete responsive landing page built entirely from MCP-generated tokens, including:
qt-games-tokens.json — extracted universal tokenstailwind.config.js — generated Tailwind configvariables.css — generated CSS custom propertiescontrast-report.json — WCAG validation (AAA pass)index.html + styles.css — responsive landing page using the generated tokensThis MCP works with free tiers of both v0 and Figma. See the setup guides:
See CONTRIBUTING.md for development setup, project structure, and PR guidelines.
MIT — see LICENSE.