newsence
來源篩選

Show HN: MCP Server Enables AI Agents to Fetch Real UntitledUI Components

Hacker News

A new MCP server allows AI agents to directly fetch and utilize pre-designed UntitledUI components, offering a more polished and consistent alternative to AI-generated UIs.

newsence

Show HN:MCP 伺服器讓 AI 代理能夠獲取真實的 UntitledUI 組件

Hacker News
大約 1 個月前

AI 生成摘要

一個新的 MCP 伺服器讓 AI 代理能夠直接獲取並使用預先設計的 UntitledUI 組件,為 AI 生成的使用者介面提供更精緻、更一致的替代方案。

GitHub - sbilde/untitledui-mcp: An MCP for Untitled UI components.

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

To see all available qualifiers, see our documentation.

An MCP for Untitled UI components.

sbilde/untitledui-mcp

Folders and files

Latest commit

History

Repository files navigation

UntitledUI MCP

Image

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:

Vite:

These starter kits come pre-configured with:

2. Add the MCP Server

Claude Code:

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

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:

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:

4. Verify Setup

Recommended Workflow

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.

Ask your AI to fetch components — Once your project is set up, ask your AI to add specific components:

Build complete pages from examples — For larger features, start with a page template:

Available Tools

Your AI gets these tools:

What You Can Do

Recreate Any UI from a Screenshot

Build Complete Pages in Seconds

Set Up Your Entire App Shell

Clone a Page from UntitledUI's Templates

Mix and Match Components

Rapid Feature Development

Response Format

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

Credits

UntitledUI is created by Jordan Hughes.

License

MIT

About

An MCP for Untitled UI components.

Resources

Uh oh!

There was an error while loading. Please reload this page.

Stars

Watchers

Forks

Releases

Packages

0

Contributors

2 Image Image

Languages

Footer

Footer navigation