Connect shadcn/ui to Cline
Copy-in React components built on Radix and Tailwind. Its MCP server browses, searches and installs items from the default and any namespaced community registry.
MCP serverOfficialChecked 2026-11-16
Before you start
- Cline installed (see its MCP documentation (opens in a new tab)).
- shadcn/ui is available on macOS, Windows and Linux.
Step 1: Add shadcn/ui to Cline
Add it in your editor
In Cline, open the MCP Servers panel, choose Configure, click Configure MCP Servers and add this to the file that opens.
cline_mcp_settings.json { "mcpServers": { "shadcn": { "command": "npx", "args": [ "-y", "shadcn@latest", "mcp" ] } } }Or add it to the Cline CLI
Saves the server to the Cline CLI's own settings. The editor extension keeps a separate list.
Terminal cline mcp add shadcn --yes -- npx -y shadcn@latest mcpStep 2: Check it's connected
Terminal cline config mcpIn VS Code or JetBrains, open the MCP Servers panel in Cline and check the server is listed with its tools.
Step 3: Try a first request
Ask Cline something that only works with shadcn/ui connected:
Say to Cline Search the shadcn registry for a date picker and give me the command to add it to this project.
If it doesn't work
- In the editor, open the MCP Servers panel, choose Configure and click Configure MCP Servers to edit
cline_mcp_settings.json. - The Cline CLI keeps its own list in
~/.cline/data/settings/cline_mcp_settings.json, separate from the editor's. - Remote servers need
"type": "streamableHttp". Without it, Cline falls back to the older SSE transport.





