Skip to content

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

  1. 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 mcp
  2. Step 2: Check it's connected

    Terminal
    cline config mcp

    In VS Code or JetBrains, open the MCP Servers panel in Cline and check the server is listed with its tools.

  3. 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.