Archestra Apps HackathonJoin now
Back to Catalog

shadcn-ui-mcp-server

Jpisnice/shadcn-ui-mcp-server
๐Ÿ”— Latest commit:83bbe4a
๐Ÿ•’ Updated:Sep 9, 2025, 01:05 PM
TypeScript
AI Tools

A mcp server to allow LLMS gain context about shadcn ui component structure,usage and installation,compaitable with react,svelte 5,and vue

MCP Trust Score
Based on our comprehensive evaluation criteria
๐Ÿค– Evaluated by gemini-2.5-flashFix
Trust Score82/100
GitHub Metrics
Repository statistics and activity
โญ GitHub Stars:2156
๐Ÿ‘ฅ Contributors:6
๐Ÿ“‹ Total Issues:0
๐Ÿ“ฆ Has Releases:Yes
๐Ÿ”ง Has CI/CD Pipeline:Yes
Configuration
Configuration example extracted from README.md for Claude Desktop and other clients.
๐Ÿค– Evaluated by gemini-2.5-flashFix
{
  "jpisnice-shadcn-ui-mcp-server": {
    "command": "npx",
    "args": [
      "@jpisnice/shadcn-ui-mcp-server"
    ],
    "env": {}
  },
  "jpisnice-shadcn-ui-mcp-server-github-token": {
    "command": "npx",
    "args": [
      "@jpisnice/shadcn-ui-mcp-server",
      "--github-api-key",
      "ghp_your_token_here"
    ],
    "env": {}
  },
  "jpisnice-shadcn-ui-mcp-server-env-github-token": {
    "command": "npx",
    "args": [
      "@jpisnice/shadcn-ui-mcp-server"
    ],
    "env": {
      "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
    }
  },
  "jpisnice-shadcn-ui-mcp-server-svelte": {
    "command": "npx",
    "args": [
      "@jpisnice/shadcn-ui-mcp-server",
      "--framework",
      "svelte"
    ],
    "env": {}
  },
  "jpisnice-shadcn-ui-mcp-server-svelte-github-token": {
    "command": "npx",
    "args": [
      "@jpisnice/shadcn-ui-mcp-server",
      "--framework",
      "svelte",
      "--github-api-key",
      "ghp_your_token_here"
    ],
    "env": {}
  },
  "jpisnice-shadcn-ui-mcp-server-env-svelte": {
    "command": "npx",
    "args": [
      "@jpisnice/shadcn-ui-mcp-server"
    ],
    "env": {
      "FRAMEWORK": "svelte"
    }
  },
  "jpisnice-shadcn-ui-mcp-server-react": {
    "command": "npx",
    "args": [
      "@jpisnice/shadcn-ui-mcp-server",
      "--framework",
      "react"
    ],
    "env": {}
  },
  "jpisnice-shadcn-ui-mcp-server-env-react": {
    "command": "npx",
    "args": [
      "@jpisnice/shadcn-ui-mcp-server"
    ],
    "env": {
      "FRAMEWORK": "react"
    }
  }
}
MCP Protocol Support
Implemented MCP protocol features
๐Ÿค– Evaluated by gemini-2.5-flashFix
Tools:โœ“
Prompts:โœ—
Resources:โœ“
Sampling:โœ—
Roots:โœ“
Logging:โœ“
STDIO Transport:โœ“
HTTP Transport:โœ—
OAuth2 Auth:โœ—
Dependencies
7 dependencies
Libraries and frameworks used by this MCP server
๐Ÿค– Evaluated by gemini-2.5-flashFix
Add Quality Badge
Show your MCP trust score in your README
Trust Score Badge
[![Trust Score](https://archestra.ai/mcp-catalog/api/badge/quality/Jpisnice/shadcn-ui-mcp-server)](https://archestra.ai/mcp-catalog/jpisnice__shadcn-ui-mcp-server)
README.md

Shadcn UI v4 MCP Server

npm version
License: MIT

Trust Score

๐Ÿš€ The fastest way to integrate shadcn/ui components into your AI workflow

A Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to shadcn/ui v4 components, blocks, demos, and metadata. Seamlessly retrieve React, Svelte, and Vue implementations for your AI-powered development workflow.

โœจ Key Features

  • ๐ŸŽฏ Multi-Framework Support - React, Svelte, and Vue implementations
  • ๐Ÿ“ฆ Component Source Code - Latest shadcn/ui v4 TypeScript source
  • ๐ŸŽจ Component Demos - Example implementations and usage patterns
  • ๐Ÿ—๏ธ Blocks Support - Complete block implementations (dashboards, calendars, forms)
  • ๐Ÿ“‹ Metadata Access - Dependencies, descriptions, and configuration details
  • ๐Ÿ” Directory Browsing - Explore repository structures
  • โšก Smart Caching - Efficient GitHub API integration with rate limit handling

๐Ÿš€ Quick Start

# Basic usage (60 requests/hour)
npx @jpisnice/shadcn-ui-mcp-server

# With GitHub token (5000 requests/hour) - Recommended
npx @jpisnice/shadcn-ui-mcp-server --github-api-key ghp_your_token_here

# Switch frameworks
npx @jpisnice/shadcn-ui-mcp-server --framework svelte
npx @jpisnice/shadcn-ui-mcp-server --framework vue

๐ŸŽฏ Get your GitHub token in 2 minutes: docs/getting-started/github-token.md

๐Ÿ“š Documentation

SectionDescription
๐Ÿš€ Getting StartedInstallation, setup, and first steps
โš™๏ธ ConfigurationFramework selection, tokens, and options
๐Ÿ”Œ IntegrationEditor and tool integrations
๐Ÿ“– UsageExamples, tutorials, and use cases
๐ŸŽจ FrameworksFramework-specific documentation
๐Ÿ› TroubleshootingCommon issues and solutions
๐Ÿ”ง API ReferenceTool reference and technical details

๐ŸŽจ Framework Support

This MCP server supports three popular shadcn implementations:

FrameworkRepositoryMaintainerDescription
React (default)shadcn/uishadcnReact components from shadcn/ui v4
Svelteshadcn-sveltehuntabyteSvelte components from shadcn-svelte
Vueshadcn-vueunovueVue components from shadcn-vue

๐Ÿ› ๏ธ Essential Setup

1. Get GitHub Token (Recommended)

# Visit: https://github.com/settings/tokens
# Generate token with no scopes needed
export GITHUB_PERSONAL_ACCESS_TOKEN=ghp_your_token_here

2. Run Server

# React (default)
npx @jpisnice/shadcn-ui-mcp-server

# Svelte
npx @jpisnice/shadcn-ui-mcp-server --framework svelte

# Vue  
npx @jpisnice/shadcn-ui-mcp-server --framework vue

3. Integrate with Your Editor

๐ŸŽฏ Use Cases

  • AI-Powered Development - Let AI assistants build UIs with shadcn/ui
  • Component Discovery - Explore available components and their usage
  • Multi-Framework Learning - Compare React, Svelte, and Vue implementations
  • Rapid Prototyping - Get complete block implementations for dashboards, forms, etc.
  • Code Generation - Generate component code with proper dependencies

๐Ÿ“ฆ Installation

# Global installation (optional)
npm install -g @jpisnice/shadcn-ui-mcp-server

# Or use npx (recommended)
npx @jpisnice/shadcn-ui-mcp-server

๐Ÿ”— Quick Links

๐Ÿ“„ License

MIT License - see LICENSE for details.

๐Ÿ™ Acknowledgments

  • shadcn - For the amazing React UI component library
  • huntabyte - For the excellent Svelte implementation
  • unovue - For the comprehensive Vue implementation
  • Anthropic - For the Model Context Protocol specification

Made with โค๏ธ by Janardhan Polle

Star โญ this repo if you find it helpful!