shadcn/ui MCP
MCP + UI library · Free
The official MCP server for finding, viewing, and installing components from shadcn registries. Components are copied into the project so they can be modified.
Also known as: shadcn/ui mcp

What you can use for free
MCP and shadcn/ui are free.
Access and limitations
MCP and shadcn/ui are free. Third-party registries may have their own pricing.
Use cases
- Asking Codex to find a sign-in form or build a screen from ready-made components
- Connecting public and internal registries
Example workflow
A possible workflow; this is not a report of hands-on testing.
Example workflow with shadcn/ui MCP: Asking Codex to find a sign-in form or build a screen from ready-made components.
Before you start
- A brief for one screen or component, and your own text.
- A compatible MCP client and access to the chosen service or registry.
Steps
- For the task “Asking Codex to find a sign-in form or build a screen from ready-made components”: connect MCP and search by the element's purpose, style, and the project's tech stack.
- Compare the results and choose one; retain the source link and dependency requirements.
- Adapt the example to your own content and test it within the page.
Check your result
- The selected asset solves the task, and its code and dependencies suit the project.
- Check the selected component's rights and account terms; an AI-generated example needs interface testing.
Choosing shadcn/ui MCP
Asking Codex to find a sign-in form or build a screen from ready-made components
Choose this when
- Asking Codex to find a sign-in form or build a screen from ready-made components
- Connecting public and internal registries
Consider alternatives when
- When choosing for this topic, compare shadcn/ui MCP with 21st MCP / Magic MCP. A candidate to compare under the topic: UI components, Design tools. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
Requirements
- The project needs components.json to install components.
- Configure registries in the project's components.json and connect the shadcn@latest mcp command in the MCP client.
Things to consider
- Access terms: MCP and shadcn/ui are free. Third-party registries may have their own pricing.
- Terms of use: MIT
- The server works with shadcn-compatible registries; access to private and third-party registries depends on their own terms and settings.
Frequently asked questions
What can you use for free in shadcn/ui MCP?
MCP and shadcn/ui are free.
What are the access terms for shadcn/ui MCP?
MCP and shadcn/ui are free. Third-party registries may have their own pricing.
What do you need to use shadcn/ui MCP?
The project needs components.json to install components.
How do you get started with shadcn/ui MCP?
For the task “Asking Codex to find a sign-in form or build a screen from ready-made components”: connect MCP and search by the element's purpose, style, and the project's tech stack. Compare the results and choose one; retain the source link and dependency requirements. Adapt the example to your own content and test it within the page.
What should you consider when choosing shadcn/ui MCP?
MCP works with compatible registries; third-party authors may have their own licenses and pricing.
What does MCP do between the agent and components?
The server connects the assistant, registry, and shadcn CLI: the assistant can list, search, and install components. Resources from configured registries are downloaded into the project.
Can you use your own internal registry?
Yes. Set a namespace and URL in components.json, such as @acme with the {name} template. The documentation permits compatible public, third-party, and private registries.
Related tasks and approaches
- 21st MCP / Magic MCP
A candidate to compare under the topic: UI components, Design tools. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
License
MIT
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsUsage details
The project needs components.json to install components. MCP works with compatible registries; third-party authors may have their own licenses and pricing.
Technologies and topics
- shadcn/ui
- MCP