Feedback

Shadcn UI MCP Server

@heilgar Claim

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
heilgar
Submitted by
Community
Quality
25
Stars
24

About Shadcn UI MCP Server

# Shadcn UI MCP Server

Shadcn UI MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by heilgar. It exposes 6 tools, including list-components, get-component-docs, install-component, list-blocks and more. Supported transport: stdio. Runtime: node. License: MIT. The repository has 24 GitHub stars. Source code is hosted on github.com. Related topics: component-library, ide-integration, mcp-server, shadcn-ui.

Setup

{
    "mcpServers": {
        "shadcn-ui-server": {
            "command": "npx",
            "args": [
                "@heilgar/shadcn-ui-mcp-server"
            ]
        }
    }
}

Shadcn UI MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "shadcn-ui-server": {
            "command": "npx",
            "args": [
                "@heilgar/shadcn-ui-mcp-server"
            ]
        }
    }
}

Shadcn UI MCP Server tools

  • list-components
    (no parameters)
  • get-component-docs
    component:string*
  • install-component
    component:string*, runtime:string
  • list-blocks
    (no parameters)
  • get-block-docs
    block:string*
  • install-blocks
    block:string*, runtime:string

Overview

What is Shadcn UI MCP Server?

An MCP (Model Control Protocol) server that enhances the development experience with Shadcn UI components. It provides tooling for listing, documenting, and installing shadcn/ui components and blocks, supporting multiple package managers. Designed for developers using shadcn/ui in their projects.

How to use Shadcn UI MCP Server?

Install and configure the server by adding a JSON entry to your AI client’s config (Claude Desktop, Windsurf, or Cursor). Use tools like list-components, get-component-docs, install-component, list-blocks, get-block-docs, and install-blocks through the MCP interface.

Key features of Shadcn UI MCP Server

  • List available shadcn/ui components and blocks
  • Get detailed documentation for specific components and blocks
  • Install components and blocks with one command
  • Supports npm, pnpm, yarn, and bun package managers
  • Automatic detection of the user’s preferred package manager
  • Debugging via the MCP Inspector tool

Use cases of Shadcn UI MCP Server

  • Quickly search and install a shadcn/ui component without leaving your editor
  • Browse block documentation and code before adding it to a project
  • Automate component installation across different package managers
  • Integrate shadcn/ui management into an AI-assisted workflow

Frequently asked questions

1 What tools does the Shadcn UI MCP Server provide?

It provides six tools: list-components, get-component-docs, install-component, list-blocks, get-block-docs, and install-blocks.

2 How do I install the Shadcn UI MCP Server?

Run npx @heilgar/shadcn-ui-mcp-server and add the appropriate JSON configuration to your client (Claude Desktop, Windsurf, or Cursor). Configuration examples are provided for each.

3 What are the prerequisites?

Node.js version 18 or higher and a package manager (npm or yarn) are required.

4 What package managers are supported?

npm, pnpm, yarn, and bun are supported, with automatic detection of the user’s preferred manager.

5 How do I debug the server?

Use the MCP Inspector by running npm run inspector. It provides a URL to monitor communication, inspect tool calls, and view real‑time logs.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬