shadcn-ui-mcp-server

Shadcn Ui MCP Server

Shadcn/ui developers can browse components and blocks, inspect their documentation, and install selections through six MCP tools. The server supports npm, pnpm, yarn, and bun, with configuration examples for Claude Desktop, Cursor, and Windsurf.

Server facts

shadcn-ui-mcp-server

Project

Author
heilgar
License
MIT

Tech

Runtime / language
node
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
26
Last commit
Data as of

Tags

  • Ide Integration
  • Shadcn Ui
  • component library
  • mcp server

Overview

Shadcn/ui component and block workflows are the focus of this developer tool. Its component tools separate discovery, reference lookup, and installation: list-components shows available options, get-component-docs retrieves documentation for a chosen component, and install-component handles installation. Blocks follow a parallel path through list-blocks, get-block-docs, and install-blocks, with block reference material covering both documentation and code. This gives developers distinct operations for finding UI elements, examining them, and adding their selections rather than treating every request as an installation task.

Package handling supports npm, pnpm, yarn, and bun, including automatic detection of the user's preferred manager. The Node.js server communicates over stdio, and the README supplies connection configurations for Claude Desktop, Cursor, and Windsurf. For local development, it describes dependency installation and a build step, then points to MCP Inspector for examining communication, tool requests and responses, server behavior, and live logs. The project uses the MCP TypeScript SDK and Cheerio and is distributed under the MIT license.

shadcn-ui-mcp-server setup notes

  • shadcn-ui-mcp-server records stdio only; confirm a network transport upstream before planning remote access.

Related MCP servers