Skip to content
don’t make it ugly
All resources

MCP serverAgent Resources, Components

shadcn MCP server

Let your agent browse, search and install components from any shadcn registry.

Open sourceFree
Preview of shadcn MCP server

What it is

The shadcn CLI includes an MCP server that gives coding agents direct access to component registries: the official shadcn/ui components plus third-party registries like Magic UI, Origin UI and others. The agent can search for a component, read its source and install it into your project.

Why it’s here

This turns "add a nice pricing section" into something the agent can actually do end-to-end. Set it up once and every registry in this directory becomes reachable.

Best for

  • installing components via agent
  • browsing registries
  • shadcn projects

Can my agent use this?

Agent excellent agent friendliness

Yes, this is built for agents. Run the init command for your client, then ask your agent things like "find a testimonial component in the registries and add it".

Excellent: Public docs, public source or an installable package. An agent can read, install and implement this directly.

Access methods

  • MCP
  • CLI
  • Docs
  • GitHub

Install

npx shadcn@latest mcp init --client claude

  • Magic UI
    Preview of Magic UI

    Magic UI

    Animated React components and effects for landing pages, built to sit alongside shadcn/ui.

    excellent agent friendlinessComponent libraryOpen source
  • Origin UI
    Preview of Origin UI

    Origin UI

    Hundreds of polished, practical components built on shadcn/ui conventions.

    excellent agent friendlinessComponent libraryFreeOpen sourceStaff pick
  • 21st.dev Magic MCP
    Preview of 21st.dev Magic MCP

    21st.dev Magic MCP

    Describe a component in your agent and get a polished one generated from a large library.

    excellent agent friendlinessMCP serverOpen source
  • TypeUI
    Preview of TypeUI

    TypeUI

    Design skills, UI prompts and a shared design system, handed to your agent over MCP.

    excellent agent friendlinessMCP server