Get Started
Components
- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Avatar
- Badge
- Breadcrumb
- Button
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Combobox
- Command
- Context Menu
- Data Table
- Date Picker
- Dialog
- Drawer
- Dropdown Menu
- React Hook Form
- Hover Card
- Input
- Input OTP
- Label
- Menubar
- Navigation Menu
- Pagination
- Popover
- Progress
- Radio Group
- Resizable
- Scroll-area
- Select
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Sonner
- Switch
- Table
- Tabs
- Textarea
- Toast
- Toggle
- Toggle Group
- Tooltip
- Typography
The shadcn MCP server works out of the box with any shadcn-compatible registry. You do not need to do anything special to enable MCP support for your registry.
See the MCP documentation for more information on how to use the shadcn MCP server.
Configuring MCP
Ask your registry consumers to configure your registry in their components.json
file and install the shadcn MCP server:
Configure your registry in your components.json
file:
{
"registries": {
"@acme": "https://acme.com/r/{name}.json"
}
}
Run the following command in your project:
pnpm dlx shadcn@latest mcp init --client claude
Restart Claude Code and try the following prompts:
- Show me all available components in the shadcn registry
- Add the button, dialog and card components to my project
- Create a contact form using components from the shadcn registry
Note: You can use /mcp
command in Claude Code to debug the MCP server.
Best Practices
Here are some best practices for MCP-compatible registries:
- Clear Descriptions: Add concise, informative descriptions that help AI assistants understand what a registry item is for and how to use it.
- Proper Dependencies: List all
dependencies
accurately so MCP can install them automatically. - Registry Dependencies: Use
registryDependencies
to indicate relationships between items. - Consistent Naming: Use kebab-case for component names and maintain consistency across your registry.
Deploy your shadcn/ui app on Vercel
Trusted by OpenAI, Sonos, Adobe, and more.
Vercel provides tools and infrastructure to deploy apps and features at scale.
Deploy to Vercel