UI/UX MCP Server
Allows creation of complex animation timelines and code generation using Framer Motion, with animation preview capabilities and multiple easing options
Enables generation of React components with best practices, performance analysis, and accessibility compliance checking
Enables management and testing of Storybook stories, including visual regression testing, accessibility testing, and component documentation
Supports creation and management of Svelte components with automated testing and documentation generation
Provides tools for generating Tailwind CSS configurations from design tokens, optimizing and deduplicating classes, and creating custom design systems
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@UI/UX MCP Server run visual regression tests on our button components"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
UI/UX MCP Server
A comprehensive Model Context Protocol (MCP) server that integrates 5 powerful tools for complete UI/UX development workflows.
Features
π Component Development (Storybook)
Get and manage stories
Run visual regression tests
Accessibility testing
Component documentation
π Styling System (Tailwind CSS)
Generate configurations from design tokens
Optimize and deduplicate classes
Create custom design systems
CSS variable generation
π¬ Animation (Framer Motion + GSAP)
Create complex animation timelines
Generate animation code
Preview animations
Multiple easing options
π§ͺ Testing & Automation (Playwright)
Cross-browser UI testing
Visual regression testing
Screenshot capture across viewports
Automated user flow testing
π§© Component Library Management
Generate components in React/Vue/Svelte
Analyze component performance
Accessibility compliance checking
Auto-generate tests and documentation
π Workflow Automation
UX optimization analysis
Design system generation from Storybook or code
End-to-end workflow automation
Related MCP server: MCP Frontend Tools Server
Installation
Clone this repository:
cd ~/KenKaiBuildMCP/design-ui-mcps/ui-ux-mcp-serverInstall dependencies:
npm installCreate a
.envfile from the example:
cp .env.example .envConfigure your environment variables:
STORYBOOK_URL=http://localhost:6006
# ... other configurationsBuild the server:
npm run buildConfiguration
Add to your Claude Desktop MCP settings (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"ui-ux-mcp": {
"command": "node",
"args": ["/Users/YOUR_USERNAME/KenKaiBuildMCP/design-ui-mcps/ui-ux-mcp-server/dist/index.js"]
}
}
}Available Tools
Storybook Tools
storybook_get_stories- Get list of all Storybook storiesstorybook_test_component- Run visual and accessibility tests
Tailwind Tools
tailwind_generate_config- Generate Tailwind config from design tokenstailwind_optimize_classes- Optimize and deduplicate Tailwind classes
Animation Tools
animation_create_timeline- Create animation timeline with Framer Motion or GSAPanimation_preview- Generate preview of animation sequence
Playwright Tools
playwright_test_ui- Run UI tests with Playwrightplaywright_capture_screenshots- Capture screenshots across browsers
Component Tools
component_create- Create a new UI component with best practicescomponent_analyze- Analyze component for performance and accessibility
Workflow Tools
workflow_optimize_ux- Run comprehensive UX optimization analysisworkflow_build_design_system- Generate complete design system from Storybook or code
Usage Examples
Run UX Optimization Analysis
await workflow_optimize_ux({
url: "https://your-website.com",
analyses: ["performance", "accessibility", "mobile", "seo"]
})Create Animation Timeline
await animation_create_timeline({
library: "framer-motion",
animations: [
{
target: ".hero-title",
properties: { opacity: 1, y: 0 },
duration: 0.6,
delay: 0.2
}
]
})Generate Design System
await workflow_build_design_system({
source: "storybook",
sourceId: "http://localhost:6006",
includeTokens: true,
includeComponents: true,
includeDocumentation: true
})Development
Run in development mode:
npm run devRun tests:
npm testLint code:
npm run lintArchitecture
ui-ux-mcp-server/
βββ src/
β βββ index.ts # Main server entry point
β βββ tools/
β βββ storybook.ts # Storybook automation
β βββ tailwind.ts # Tailwind CSS management
β βββ animation.ts # Animation tools
β βββ playwright.ts # Browser automation
β βββ components.ts # Component management
β βββ workflows.ts # Workflow automation
βββ dist/ # Compiled JavaScript
βββ package.json
βββ tsconfig.json
βββ README.mdRequirements
Node.js 18+
npm or yarn
Running Storybook instance (for Storybook features)
Contributing
Fork the repository
Create your feature branch
Commit your changes
Push to the branch
Create a Pull Request
License
MIT
Support
For issues and questions, please open an issue in the repository.
Available Tools
12 toolsanimation_create_timelineC
Create animation timeline with Framer Motion or GSAP
Inputs: animations (required), library.
animation_previewC
Generate preview of animation sequence
Inputs: timeline (required), format.
component_analyzeC
Analyze component for performance and accessibility
Inputs: code (required), checks.
component_createC
Create a new UI component with best practices
Inputs: name (required), type (required), props, styles, +1 more.
playwright_capture_screenshotsC
Capture screenshots across browsers and viewports
Inputs: url (required), viewports, fullPage.
playwright_test_uiC
Run UI tests with Playwright
Inputs: url (required), tests (required), browsers.
storybook_get_storiesC
Get list of all Storybook stories
Inputs: url.
storybook_test_componentC
Run visual and accessibility tests on a component
Inputs: componentName (required), storyName, testTypes.
tailwind_generate_configC
Generate Tailwind configuration from design tokens
Inputs: colors, spacing, typography, breakpoints.
tailwind_optimize_classesC
Optimize and deduplicate Tailwind classes
Inputs: html (required), purge.
workflow_build_design_systemC
Generate complete design system from components
Inputs: source (required), sourceId (required), includeTokens, includeComponents, +1 more.
workflow_optimize_uxC
Run comprehensive UX optimization analysis
Inputs: url (required), analyses.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 12 tools
Most tools have clearly distinct purposes targeting different aspects of UI/UX development (animation, component work, testing, styling, workflows). However, there is some potential overlap between 'component_analyze' and 'workflow_optimize_ux' as both involve analysis/optimization, and 'playwright_test_ui' and 'storybook_test_component' both involve testing, though their specific scopes (UI vs component) help differentiate them.
The naming follows a consistent pattern of 'domain_action' or 'domain_verb_noun' (e.g., animation_create_timeline, component_analyze, storybook_get_stories). All tools use snake_case consistently. Minor deviations exist, such as 'playwright_capture_screenshots' using a verb_noun structure while others like 'tailwind_generate_config' use verb_noun, but overall it's highly readable and predictable.
With 12 tools, the count is well-scoped for a UI/UX server covering animation, component development, testing, styling, and workflows. Each tool appears to serve a distinct function within this domain, and the number is neither too sparse nor overwhelming, fitting typical expectations for a specialized server.
The tool set covers key areas of UI/UX development comprehensively, including creation, analysis, testing, and optimization. Minor gaps exist, such as no explicit tools for updating or deleting components or animations, and limited coverage of collaboration features (e.g., version control or team workflows), but agents can likely work around these with the provided tools.
Maintenance
Related MCP Connectors
Automated 20-rule UX craft, 5-posture Playwright/Axe & billing-safety CI gate + MCP server.
Live React design-system APIs, patterns, and code validation so AI agents build real UI, not slop.
Build and manage your design system with AI: tokens, themes, components, icons, Figma and code.
Deploy AI user personas to validate user journeys at scale. Find UX friction before real users do.
Related MCP Servers
- AlicenseBqualityDmaintenanceAutomates the conversion of Figma designs into TypeScript React components and integrates with GitHub to create pull requests for the generated code. It includes visual regression testing with Playwright and accessibility validation to ensure implementations match the original designs.521 npmMIT
- AlicenseAqualityDmaintenanceProvides AI assistants with frontend development tools including component scaffolding, bundle analysis, accessibility checks, and responsive design guidance. Enables automated generation of React components with tests and stories, bundle optimization recommendations, and WCAG compliance fixes.6MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to architect and build Awwwards-level websites with spring physics, design systems, React 19 templates, and HD visual inspection.10MIT
- FlicenseNot 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.-