mcpField
U
Untitledui Mcp

Untitledui Mcp

Local
github.com/sbildeDeveloper Tools19Updated 35w ago

About Untitledui Mcp

UntitledUI MCP is an MCP server that lets AI agents retrieve UntitledUI components and page templates for frontend projects. Base components need no authentication; application components and marketing sections require an UntitledUI Pro license.

Key features

  1. 01Search components by name or description
  2. 02Browse components by category
  3. 03Fetch components with dependencies
  4. 04Retrieve large components file by file
  5. 05Browse and fetch page templates

Use cases

  1. 01Add UntitledUI components to an application
  2. 02Build complete pages from templates
  3. 03Match and assemble components from a screenshot

MCP support

Provides MCP clients with tools to search, browse, and retrieve UntitledUI components and page templates; component retrieval can include dependencies.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"untitledui": {
"command": "npx",
"args": [
"-y",
"untitledui-mcp"
],
"env": {
"UNTITLEDUI_LICENSE_KEY": "<UNTITLEDUI_LICENSE_KEY>"
}
}
}
}
Run commandnpx -y untitledui-mcp
Environment variables to set
UNTITLEDUI_LICENSE_KEYSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmuntitledui-mcp

Tools

10

Saved tool list · updated 3w ago

This tool takes no parameters.

Details

From the project README

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:

ToolWhat it does
search_componentsFind components by name or description
list_componentsBrowse a category
get_component_with_depsFetch component + all dependencies
get_componentFetch component only
get_component_fileFetch a single file (for large components)
list_examplesBrowse available page templates
get_exampleFetch 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.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.