1. Conduid
  2. AI
  3. shadcn-ui-server
MCP server · AI

shadcn-ui-server

MCP server for shadcn/ui component references

Unclaimed ai
39Low

Scored 7 days ago · breakdown

About shadcn-ui-server

shadcn-ui-server is an MCP server published by git+heilgar in the AI category: mCP server for shadcn/ui component references.

Install

Install
npx @heilgar/shadcn-ui-mcp-server
Claude Code
claude mcp add shadcn-ui-mcp-server-githeilg -- npx -y @heilgar/shadcn-ui-mcp-server
npx
npx -y @heilgar/shadcn-ui-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (6)

get-block-docsGet documentation for a specific block

Parameters not published.

get-component-docsGet documentation for a specific component

Parameters not published.

install-blocksInstall a shadcn/ui block

Parameters not published.

install-componentInstall a shadcn/ui component

Parameters not published.

list-blocksGet the list of available shadcn/ui blocks

Parameters not published.

list-componentsGet the list of available shadcn/ui components

Parameters not published.

Ask AI

✦

Ask AI about shadcn-ui-server

Powered by Claude · Grounded in docs

I know everything about shadcn-ui-server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

README

Shadcn UI MCP Server

A powerful and flexible MCP (Model Control Protocol) server designed to enhance the development experience with Shadcn UI components. This server provides a robust foundation for building and managing UI components with advanced tooling and functionality.

Features

Tools

The MCP server provides a set of tools that can be used through the Model Control Protocol:

  • list-components: Get the list of available shadcn/ui components
  • get-component-docs: Get documentation for a specific component
  • install-component: Install a shadcn/ui component
  • list-blocks: Get the list of available shadcn/ui blocks
  • get-block-docs: Get documentation for a specific block
  • install-blocks: Install a shadcn/ui block

Functionality

  • Component Management

    • List available shadcn/ui components
    • Get detailed documentation for specific components
    • Install components with support for multiple package managers (npm, pnpm, yarn, bun)
  • Block Management

    • List available shadcn/ui blocks
    • Get documentation and code for specific blocks
    • Install blocks with support for multiple package managers
  • Package Manager Support

    • Flexible runtime support for npm, pnpm, yarn, and bun
    • Automatic detection of user's preferred package manager

Installation

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn package manager

Claude Desktop Configuration

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

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

Windsurf Configuration

Add this to your ./codeium/windsurf/model_config.json:

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

Cursor Configuration

Add this to your .cursor/mcp.json:

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

Development and Debugging

Local Development

  1. Install dependencies:
npm install
  1. Build the server:
npm run build

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector for debugging:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser, allowing you to:

  • Monitor MCP communication
  • Inspect tool calls and responses
  • Debug server behavior
  • View real-time logs

Related Projects and Dependencies

This project is built using the following tools and libraries:

License

MIT License - feel free to use this project for your own purposes.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About shadcn-ui-server

How do I install shadcn-ui-server?

Run npx @heilgar/shadcn-ui-mcp-server, then add the server to your MCP client's configuration.

Is shadcn-ui-server safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is shadcn-ui-server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.