Does shadcn/ui have an MCP server?
shadcn/ui maintains an official MCP server.
The star count is for the whole shadcn/ui monorepo — the MCP server ships inside the CLI, not as a separate repo.
- Access
- Built into the product
- Endpoint
- shadcn CLI (npx shadcn mcp) — in-product
- Repository
- shadcn-ui/ui
- Maintainer
- shadcn-ui
- License
- MIT
- Language
- TypeScript
- Stars
- 125k
- Last commit
- today
- Category
- Developer Tools
Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own.
Project site: ui.shadcn.com
Ships inside shadcn/ui's own product rather than as a standalone server. Documented at ui.shadcn.com.
Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own.
Ships inside the vendor's own app or CLI rather than as a standalone download.
Add it from the terminal, then restart your session:
claude mcp add shadcn -- npx -y <package-from-readme>Swap in the exact package and flags from the repo README — most servers need an API key passed as an environment variable.
Add --scope user to make it available in every project.
Open Settings → Developer → Edit Config and add the server to claude_desktop_config.json:
{
"mcpServers": {
"shadcn": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}Restart Claude Desktop after saving.
Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for
every project:
{
"mcpServers": {
"shadcn": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}A green dot in Settings → MCP means it connected.
Add to .vscode/mcp.json:
{
"servers": {
"shadcn": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
]
}
}
}Then pick the server from the tools menu in Copilot's agent mode.
Does shadcn/ui have an official MCP server?
Yes. shadcn/ui maintains an official MCP server. The source lives at shadcn-ui/ui on GitHub.
How do I connect shadcn/ui to Claude?
Run the server locally and register it in Claude's MCP config. In Claude Code that's a single "claude mcp add" command; in Claude Desktop you add it to claude_desktop_config.json.
How is this verdict verified?
Official MCP server built into the shadcn CLI (npx shadcn@latest mcp), documented at ui.shadcn.com/docs/mcp — agents browse, search and install registry components. GitHub metadata is refreshed every six hours.
Official MCP server built into the shadcn CLI (npx shadcn@latest mcp), documented at ui.shadcn.com/docs/mcp — agents browse, search and install registry components.
- github data refreshed 2026-09-29, then every 6 hours
- vendor docs verified on 2026-08-10
Spotted something out of date? Tell us — corrections ship same-day.