shadcn MCP Server
Search, inspect, and install shadcn/ui registry components directly from your agent.
Overview
The official shadcn MCP server lets coding agents browse component registries, inspect props and dependencies, and install components into a project. It supports both the default registry and custom registries configured in components.json. Installing registry code writes files into your repository, so review changes before committing.
Capabilities
- Search registries
- Inspect component source
- Install components
- Examples lookup
Connection profile
- Transports
- stdio
- Authentication
- None (optional registry auth)
- License
- MIT
- Vendor
- shadcn/ui
- Repository
- github.com/shadcn-ui/ui
Client format support is reviewed against official client documentation. It is not a claim that this specific server was tested with every client.
Configuration starting point
A documented preset is available for this server. It contains placeholders, not real credentials. Generate a client-correct file or review the raw values below.
npx -y shadcn@latest mcp
Security notes
- Installing components writes code and updates dependencies from configured registries. Review diffs before committing.
- Custom third-party registries execute the trust boundary of whoever hosts them.
The catalog records source evidence, not a security audit. Review the server's permissions, recent releases, and the data it can access before connecting it to a real account.
Sources & evidence
- ui.shadcn.com/docs/mcpOfficial documentation · checked Nov 27, 2026 · documented
The shadcn/ui documentation describes the official MCP server, tools, and npx setup for coding agents.