For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
0
Sponsor

MCP Server

Install components from this registry with your AI coding agent via the shadcn MCP server.

The shadcn MCP server lets AI coding agents browse and install registry items for you. Point it at this registry and you can say "add the button and dialog components" and the agent runs the install.

Configure the registry

Add this registry to your project's components.json under registries:

components.json
{
  "registries": {
    "@shadcn-cssinjs": "https://shadcn-cssinjs.vercel.app/r/{name}.json"
  }
}

Add the MCP server

Run the shadcn MCP init command, or add the server manually:

$ pnpm dlx shadcn@latest mcp init --client claude

Use it

Once configured, prompt your agent naturally:

Show me the components available in the @shadcn-cssinjs registry.
Add the dialog and dropdown-menu components to my project.

The agent reads each item's JSON, installs npm dependencies, and writes the source into components/ui/ — the same result as running the CLI yourself.