ui2vibe-mcp
Parses CSS rulesets, inline styles, transitions, @keyframes, and cubic-bezier curves, and emits CSS Custom Properties, :root/.dark themes, and responsive layout styles.
Accepts HTML markup and DOM snapshots and emits semantic HTML5 landmarks and vanilla HTML5 components with design-token CSS.
Generates React/Next.js TSX output with Tailwind v3/v4 theme extensions and tokenized CSS variables.
Parses React JSX/TSX UI references and synthesizes zero-dependency React components using Tailwind or CSS variables.
Generates Svelte components with CSS/token themes from absorbed UI references.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@kr-pro-labs/ui2vibe-mcp
UI Design Token, Responsive Layout Skeleton, Motion Physics & Interactive Component Absorption MCP Server for Vibe Coding
ui2vibe-mcp is a flagship Model Context Protocol (MCP) server developed by KR-PRO-Labs (@sjdhfjdj30-hash). While clonevibe-mcp extracts and transplants backend/core algorithms from reference codebases, ui2vibe-mcp is its frontend counterpart: it absorbs any UI reference (HTML/CSS/Tailwind snippets, React JSX/TSX, Vue SFCs, or computed DOM snapshots) and distills it into:
Perceptual Design Tokens: sRGB/Hex/HSL to OKLCH conversion, automatic Dark/Light mode token pairing, modular typography scales, 8pt grid spacing quantization, multi-layered box shadows, and glassmorphism blur tokens.
Semantic Responsive Layout Skeletons: Prunes redundant wrapper
divchains ("div-soup") into semantic HTML5 landmarks (header,nav,main,section,article,aside,footer) and solves Flexbox/CSS Grid axes and responsive breakpoints (sm,md,lg,xl).Motion Physics Equations: Parses CSS
transition,@keyframes,cubic-bezier(x1, y1, x2, y2), and Tailwind transition utilities, solving equivalent physical harmonic oscillator spring parameters (stiffness,damping,mass,settlingTimeMs) with zero external animation library dependencies.Chameleon Multi-Framework Synthesis: Emits production-ready, zero-dependency components for
react-tailwind,react-css-vars,vanilla-css,vue-tailwind, orsvelte-csscomplete with:root/.darkCSS Custom Properties andtailwind.configtheme extensions.Automated WCAG & Fidelity Auditing: Verifies WCAG 2.1 AA (
>= 4.5:1) and AAA (>= 7.0:1) contrast ratios, minimum44x44pxinteractive touch targets,@media (prefers-reduced-motion: reduce)accessibility guardrails, and CLS layout stability.
Architecture Pipeline
flowchart TB
subgraph Input["1. UI Reference Inputs"]
R1["HTML / CSS / Tailwind Snippet"]
R2["React JSX/TSX or Vue SFC"]
R3["Computed Style / DOM Tree Snapshot"]
end
subgraph Engine["2. ui2vibe-mcp Core Pipeline (Node.js 22 Strict ESM)"]
U1["capture_ui_reference\n(DOM & Style AST Normalizer)"]
U2["extract_design_tokens\n(OKLCH Color / Type / 8pt Grid / Elevation)"]
U3["decompose_layout_skeleton\n(Semantic Flex/Grid & Breakpoint Solver)"]
U4["extract_motion_physics\n(Cubic-Bezier / Spring Physics / Keyframes)"]
U5["synthesize_vibe_component\n(Chameleon Multi-Framework Synthesizer)"]
U6["audit_ui_fidelity\n(WCAG Contrast / Touch Target / CLS Auditor)"]
end
subgraph Target["3. Host Project UI Assimilation"]
T1["React / Next.js TSX + Tailwind v3/v4"]
T2["Vanilla HTML5 + CSS Custom Properties"]
T3["Vue 3 / Svelte Component + Token Theme"]
end
Input --> U1
U1 --> U2 & U3 & U4
U2 & U3 & U4 --> U5 --> U6 --> TargetRelated MCP server: Atelier-MCP
MCP Tools & Resources
6 Core Tools
Tool Name | Description |
| Parses HTML/JSX/Vue markup, inline styles, CSS rulesets, and Tailwind utilities into a normalized |
| Converts colors into perceptual OKLCH space, synthesizes dark-mode counterparts, classifies semantic roles ( |
| Collapses redundant single-child wrapper |
| Extracts CSS transitions, |
| Generates a self-contained, zero-dependency UI component for |
| Audits WCAG 2.1 contrast ratios, 44x44px touch targets, |
2 Built-in MCP Resources
ui2vibe://presets/motion-curves— Reference catalog of physical spring & cubic-bezier presets (snappy micro-interaction, fluid sheet transition, elastic bounce, decelerated enter).ui2vibe://guide/ui-absorption-workflow— Step-by-step playbook for absorbing reference UI designs into host projects without external UI bloat.
Quick Start
git clone https://github.com/KR-PRO-Labs/ui2vibe-mcp.git
cd ui2vibe-mcp
npm install
npm run typecheck
npm test
npm run buildMCP Client Configuration
{
"mcpServers": {
"ui2vibe": {
"command": "node",
"args": ["/path/to/ui2vibe-mcp/dist/index.js"]
}
}
}License
MIT © KR-PRO-Labs & @sjdhfjdj30-hash
This server cannot be deployed
Maintenance
Related MCP Connectors
Live React design-system APIs, patterns, and code validation so AI agents build real UI, not slop.
Give your agent a real design system: tokens, measured WCAG contrast, and rules to follow.
UI design from prompts, screenshots, and URLs for AI coding agents and theme tokens.
Run accessibility, contrast, and design token audits and file QA issues from your AI coding tool.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents to design and critique websites using 2026 trend reports, motion code recipes, design principles, palettes, type systems, section skeletons, references, and DESIGN.md tokens, with performance and reduced-motion handling built in.92MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI coding assistants to inspect frontend projects, search a curated design and motion recipe catalog, prepare and preview structured design plans, apply changes with backups and rollback, capture previews, audit UI accessibility and performance, and monitor activity via a web dashboard.13 npmMIT
- AlicenseAqualityBmaintenanceA design harness for AI coding agents. Better Design gives an agent design systems, UI and UX principles, icons and UI review: it finds or creates a design system that fits the product and installs its components, explains how sign-up, forms and onboarding should work, and reviews finished screens for readability, accessibility and unclear copy.48554MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI coding assistants to generate bespoke design systems by synthesizing OKLCH color palettes, chamfer highlights and spring physics, teaching layout composition grammar, and returning micro-interaction primitives and component blueprints. Also audits JSX/TSX/HTML through a senior design director's lens to score and critique UI quality.13 npm1MIT