Untitledui Mcp

by sbilde

20 stars
302 downloads
Not rated
GitHub

About

Untitledui Mcp is an MCP server that lets AI agents fetch real UntitledUI components instead of generating UI from scratch. It provides direct access to a professionally designed component library, including base components and Pro components.

Details

Author
sbilde
GitHub stars
20
Downloads
302
Categories
Developer Tools, Other, Design

- AI agents fetch real UntitledUI components instead of generating UI.
- Provides tools: search_components, list_components, get_component_with_deps, etc.
- Base components available without authentication.
- Pro components (modals, sidebars, dashboards) require a license.
- Responses include token estimates to manage context limits.
- Starter kits include Tailwind config and design tokens.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Untitledui Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Start with a UntitledUI starter kit (Next.js or Vite) cloned from GitHub. Then add the MCP server via Claude Code CLI or by editing .cursor/mcp.json for Cursor/VS Code. Optionally authenticate for Pro components using npx untitledui@latest login or by setting UNTITLEDUI_LICENSE_KEY. Verify setup with npx untitledui-mcp --test.

list_component_types

List all available component categories (application, base, marketing, etc.)

list_components

List components in a category. Use subfolder for variants (e.g., type='application', subfolder='modals')

search_components

Search for components by name across all categories

get_component

Get a single component's code with token estimates. Returns estimatedTokens and file list. If estimatedTokens > 25000, consider using get_component_file for specific files instead.

get_component_with_deps

Get a component with all base dependencies. Returns estimatedTokens. If response is too large (>25000 tokens), use get_component_file to fetch specific files individually.

get_component_file

Get a single file from a component. Use this when get_component or get_component_with_deps returns a large response (>25000 tokens). First call get_component to see the file list, then fetch specific files as needed.

list_examples

Browse available page examples. Call without path to see categories, then drill down.

get_example

Get a single example page with all files. Requires full path including page number.

validate_license

Verify that the license key is valid

clear_cache

Clear cached data. Optionally specify a pattern to clear specific entries.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "untitledui mcp": {
            "untitledui": {
                "command": "npx",
                "args": [
                    "untitledui-mcp"
                ],
                "env": {
                    "UNTITLEDUI_LICENSE_KEY": "<your-key>"
                }
            }
        }
    }
}

McpServers

{
    "untitledui": {
        "command": "npx",
        "args": [
            "untitledui-mcp"
        ],
        "env": {
            "UNTITLEDUI_LICENSE_KEY": "<your-key>"
        }
    }
}

UntitledUI MCP

UntitledUI MCP

MCP server that lets AI agents fetch real UntitledUI components instead of generating UI from scratch.

Why

AI tools can generate functional UI, but the result often lacks the polish and consistency of professionally designed systems. UntitledUI is one of the most refined component libraries available — this MCP gives your AI direct access to it.

Instead of generating a modal from patterns it's seen, your AI fetches the actual UntitledUI modal with all its carefully crafted details intact.

Quick Start

1. Start with a UntitledUI Starter Kit

UntitledUI components require specific Tailwind configuration, design tokens, and providers. The easiest way to get started is with an official starter kit:

Next.js:

git clone https://github.com/untitleduico/untitledui-nextjs-starter-kit my-app
cd my-app && npm install

Vite:

git clone https://github.com/untitleduico/untitledui-vite-starter-kit my-app
cd my-app && npm install

These starter kits come pre-configured with:
- Tailwind CSS with all UntitledUI design tokens
- Theme provider for light/dark mode
- Toast notifications
- Routing setup
- All required dependencies

2. Add the MCP Server

Claude Code:

claude mcp add untitledui -- npx untitledui-mcp

Cursor / VS Code — add to .cursor/mcp.json:

{
"mcpServers": {
"untitledui": {
"command": "npx",
"args": ["-y", "untitledui-mcp"]
}
}
}

This gives you access to base components (button, input, select, avatar, badge, etc.) without authentication.

3. Authenticate for Pro Components (optional)

To access application components (modals, sidebars, tables, dashboards) and marketing sections, authenticate with your UntitledUI Pro license:

npx untitledui@latest login

This opens your browser to authenticate and saves your license key to ~/.untitledui/config.json. The MCP auto-detects this file.

Alternatively, set the key manually in your MCP config:

{
"mcpServers": {
"untitledui": {
"command": "npx",
"args": ["-y", "untitledui-mcp"],
"env": {
"UNTITLEDUI_LICENSE_KEY": "<your-key>"
}
}
}
}

4. Verify Setup

npx untitledui-mcp --test

Recommended Workflow

1. Start with a starter kit — Don't try to add UntitledUI components to an existing project without the proper Tailwind setup. The starter kits handle all configuration.

2. Ask your AI to fetch components — Once your project is set up, ask your AI to add specific components:
- "Add a settings modal"
- "I need a sidebar navigation"
- "Add the user profile dropdown"

3. Build complete pages from examples — For larger features, start with a page template:
- "Show me available dashboard templates"
- "Fetch the landing page example"

Available Tools

Your AI gets these tools:

| Tool | What it does |
|------|--------------|
| search_components | Find components by name or description |
| list_components | Browse a category |
| get_component_with_deps | Fetch component + all dependencies |
| get_component | Fetch component only |
| get_component_file | Fetch a single file (for large components) |
| list_examples | Browse available page templates |
| get_example | Fetch a complete page template |

What You Can Do

Recreate Any UI from a Screenshot

You: [paste screenshot] "Recreate this with UntitledUI components"

AI analyzes the design → identifies matching components
AI fetches sidebar, header, cards, tables → all with dependencies
AI assembles → production-ready page matching your screenshot

Build Complete Pages in Seconds

You: "Build me a SaaS pricing page with 3 tiers and a FAQ section"

AI fetches marketing/pricing-sections + marketing/faq-sections
AI combines components → complete pricing page with toggle for monthly/annual
Result: Professional pricing page with all interactions working

Set Up Your Entire App Shell

You: "Set up the main app layout with collapsible sidebar and header with user dropdown"

AI fetches application/sidebars + application/headers + base components
AI wires up navigation state, theme toggle, user menu
Result: Complete app shell ready for your content

Clone a Page from UntitledUI's Templates

You: "I want a dashboard like the one in dashboards-01"

AI calls get_example { path: "application/dashboards-01/01" }
→ Returns 27 files: page layout, charts, tables, cards, all base components
→ Ready to customize with your data

Mix and Match Components

You: "Create a settings page with sections for profile, notifications, billing, and team members"

AI searches → finds matching components for each section
AI fetches settings panels, forms, tables, modals
AI composes → cohesive settings page with consistent styling

Rapid Feature Development

You: "Add a command palette like Linear/Notion with keyboard shortcut"

AI fetches application/command-menus
→ Complete command palette with search, keyboard navigation, sections
→ Just wire up your actions

Response Format

{
  "primary": {
    "name": "settings-modal",
    "files": [{ "path": "settings-modal.tsx", "code": "..." }],
    "baseComponents": ["button", "input", "select"]
  },
  "baseComponents": [
    { "name": "button", "files": [...] },
    { "name": "input", "files": [...] }
  ],
  "allDependencies": ["@headlessui/react", "clsx"],
  "estimatedTokens": 12500,
  "fileList": [
    { "path": "settings-modal.tsx", "tokens": 850 },
    { "path": "button/button.tsx", "tokens": 420 }
  ]
}

Responses include token estimates to help AI agents manage context limits. For very large responses (>25K tokens), the AI can use get_component_file to fetch individual files.

Troubleshooting

Components don't look right / missing styles

UntitledUI components use custom Tailwind classes like bg-primary, text-display-md, and design tokens that aren't part of standard Tailwind.

Solution: Use a UntitledUI starter kit. The starter kits include all required Tailwind configuration and design tokens.

Import errors for base components

Pro components depend on base components (button, input, etc.). When fetching a component with get_component_with_deps, all dependencies are included automatically.

Solution: Make sure you're using get_component_with_deps instead of get_component for Pro components.

Requirements

- Node.js 18+
- UntitledUI Pro license (for Pro components only)

Credits

UntitledUI is created by Jordan Hughes.

- Twitter/X
- Dribbble
- UntitledUI on X
- Get UntitledUI Pro

License

MIT

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.