Skip to main content
Glama

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

  1. Clone this repository:

cd ~/KenKaiBuildMCP/design-ui-mcps/ui-ux-mcp-server
  1. Install dependencies:

npm install
  1. Create a .env file from the example:

cp .env.example .env
  1. Configure your environment variables:

STORYBOOK_URL=http://localhost:6006
# ... other configurations
  1. Build the server:

npm run build

Configuration

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 stories

  • storybook_test_component - Run visual and accessibility tests

Tailwind Tools

  • tailwind_generate_config - Generate Tailwind config from design tokens

  • tailwind_optimize_classes - Optimize and deduplicate Tailwind classes

Animation Tools

  • animation_create_timeline - Create animation timeline with Framer Motion or GSAP

  • animation_preview - Generate preview of animation sequence

Playwright Tools

  • playwright_test_ui - Run UI tests with Playwright

  • playwright_capture_screenshots - Capture screenshots across browsers

Component Tools

  • component_create - Create a new UI component with best practices

  • component_analyze - Analyze component for performance and accessibility

Workflow Tools

  • workflow_optimize_ux - Run comprehensive UX optimization analysis

  • workflow_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 dev

Run tests:

npm test

Lint code:

npm run lint

Architecture

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.md

Requirements

  • Node.js 18+

  • npm or yarn

  • Running Storybook instance (for Storybook features)

Contributing

  1. Fork the repository

  2. Create your feature branch

  3. Commit your changes

  4. Push to the branch

  5. Create a Pull Request

License

MIT

Support

For issues and questions, please open an issue in the repository.

Available Tools

12 tools
animation_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

    B3.1/5.0

    Scored across 12 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Automates 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.
      5
      21 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides 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.
      6
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to architect and build Awwwards-level websites with spring physics, design systems, React 19 templates, and HD visual inspection.
      10
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables 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.
      -