Baby Design UI MCP Server
Enables AI assistants to discover, document, and generate React code using the pastel-themed Baby Design UI component library. It provides tools for retrieving design tokens and component specifications to streamline the development of user interfaces.
README
Baby Design UI Kit
A pastel-themed React component library with an MCP server for AI-assisted development.
Design Credit: Based on the Baby Design UI Kit by Trang Tran. All visual design, color palettes, typography choices, and component specifications originate from her work.


Packages
| Package | Description |
|---|---|
@mcp-baby-design-ui/tokens |
Design tokens (colors, typography, spacing) — no React dependency |
@mcp-baby-design-ui/react |
React 18 component library (20 components) |
@mcp-baby-design-ui/mcp-server |
MCP server exposing 5 tools via stdio |
Quick Start
# Install
pnpm install
# Build all packages
pnpm build
# Run Storybook
pnpm storybook
# Run tests
pnpm test
Using the Component Library
npm install @mcp-baby-design-ui/react
import { Button, Input, Modal } from "@mcp-baby-design-ui/react";
import "@mcp-baby-design-ui/react/globals.css";
function App() {
return (
<Button variant="filled" size="md">
Click me
</Button>
);
}
Components (20)
Form Components
- Button — filled/outline/ghost/destructive, 3 sizes, loading state
- Input — text/password/email, label, helper text, char count, error
- Checkbox — default/indeterminate/checked, keyboard navigation
- RadioButton — radio group with arrow key navigation
- Toggle — switch with label, 3 sizes
- Select — single/multi, searchable, custom options
- DatePicker — calendar grid, month/year navigation
- Slider — single value, min/max/step
Feedback & Overlay
- Tooltip — 4 positions, portal-based
- Toast — info/success/warning/error, auto-dismiss queue
- Modal — focus trap, scroll lock, ESC close
- Badge — filled/outline, color variants
- Tag — removable, with icon
Navigation & Data
- Pagination — numbered, prev/next
- Table — sortable columns, compound pattern
- Tab — horizontal/vertical, keyboard navigation
- Stepper — numbered/bar, step states
- Accordion — single/multi expand mode
- Breadcrumb — separator, current page
- Avatar — image, initials fallback
Design Tokens
9 color palettes with 10 shades each (50-900):
- Primary (pink), Secondary (purple), Success (green)
- Warning (amber), Error (red), Info (blue)
- Neutral (gray), Coral, Teal
Plus typography scales, spacing, border radii, and shadows.
MCP Server
The MCP server lets AI assistants discover and generate code for components.
Configuration
Add to your Claude Code or MCP client config:
{
"mcpServers": {
"baby-design-ui": {
"command": "npx",
"args": ["-y", "@mcp-baby-design-ui/mcp-server"]
}
}
}
Tools
| Tool | Description |
|---|---|
list-components |
List all components with descriptions |
get-component-docs |
Detailed docs, props, usage for a component |
generate-component-code |
Generate TSX code with specific props |
get-theme-tokens |
Retrieve design tokens |
preview-component |
Text preview + code example |
Development
# Build tokens first (UI depends on it)
pnpm --filter @mcp-baby-design-ui/tokens build
# Build UI library
pnpm --filter @mcp-baby-design-ui/react build
# Build MCP server
pnpm --filter @mcp-baby-design-ui/mcp-server build
# Run all tests
pnpm test
# Storybook
pnpm storybook
Tech Stack
- React 18 + TypeScript
- Tailwind CSS + CSS custom properties
- class-variance-authority (cva) for variants
- Vite for library build
- @modelcontextprotocol/sdk for MCP server
- Storybook for component docs
- Vitest + React Testing Library for tests
Credits
Design by Trang Tran — Baby Design UI Kit.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.