shadcn CLI's built-in MCP server lets Claude Code, Cursor and VS Code install UI components
The shadcn CLI now includes an MCP server that lets AI editors such as Claude Code, Cursor and VS Code browse and install registry components. Developers set it up with a single init command per editor, followed by a restart. The server exposes seven tools for listing, searching and viewing registry items, but it does not write files itself, so the assistant runs the returned shadcn add command. The article also explains how to configure a private registry, such as mebius.design, using a token stored in environment variables. It further covers common troubleshooting steps, including clearing the npx cache when no tools appear.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in