Price Per TokenPrice Per Token

Shadcn UI MCP Server

by Jpisnice

0

About

Shadcn UI MCP Server is a Model Context Protocol server that enables AI assistants to access comprehensive information about shadcn/ui v4 components, including source code, usage examples, demos, and installation instructions. Key features of Shadcn UI MCP Server: - Multi-framework support for React, Svelte 5, Vue, and React Native component implementations - Access to component source code, interactive demos, and complete block implementations (dashboards, calendars, forms) - Metadata retrieval including dependencies, descriptions, and configuration details - Directory browsing for exploring shadcn/ui repository structures - GitHub API integration with smart caching and rate limit handling - SSE (Server-Sent Events) transport support for multi-client deployments - Docker-ready containerization for production environments

README

Shadcn UI v4 MCP Server

[](https://badge.fury.io/js/@jpisnice%2Fshadcn-ui-mcp-server) [](https://opensource.org/licenses/MIT)

[](https://archestra.ai/mcp-catalog/jpisnice__shadcn-ui-mcp-server)

> 🚀 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, Vue, and React Native implementations for your AI-powered development workflow.

✨ Key Features

  • 🎯 Multi-Framework Support - React, Svelte, Vue, and React Native 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
  • 🌐 SSE Transport - Server-Sent Events support for multi-client deployments
  • 🐳 Docker Ready - Production-ready containerization with Docker Compose
  • 🚀 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 npx @jpisnice/shadcn-ui-mcp-server --framework react-native

    Use Base UI instead of Radix (React only)

    npx @jpisnice/shadcn-ui-mcp-server --ui-library base

    🎯 Get your GitHub token in 2 minutes: docs/getting-started/github-token.md

    📦 One-Click Installation (Claude Desktop)

    Download and double-click the .mcpb file for instant installation:

    1. Download shadcn-ui-mcp-server.mcpb from Releases 2. Double-click the file - Claude Desktop opens automatically 3. Enter your GitHub token (optional, for higher rate limits) 4. Click Install - tools are available immediately

    Manual install: Claude Desktop → Settings → MCP → Add Server → Browse → Select .mcpb file

    > References: Anthropic Desktop Extensions | Building MCPB

    🌐 SSE Transport & Docker Deployment

    Run the server with Server-Sent Events (SSE) transport for multi-client support and production deployments:

    Quick Start with SSE

    # SSE mode (supports multiple concurrent connections)
    node build/index.js --mode sse --port 7423

    Docker Compose (production ready)

    docker-compose up -d

    Connect with Claude Code

    claude mcp add --scope user --transport sse shadcn-mcp-server http://localhost:7423/sse

    Transport Modes

  • stdio (default) - Standard input/output for CLI usage
  • sse - Server-Sent Events for HTTP-based connections
  • dual - Both stdio and SSE simultaneously
  • Docker Examples

    # Basic container
    docker run -p 7423:7423 shadcn-ui-mcp-server

    With GitHub API token

    docker run -p 7423:7423 -e GITHUB_PERSONAL_ACCESS_TOKEN=ghp_your_token shadcn-ui-mcp-server

    Docker Compose (recommended)

    docker-compose up -d curl http://localhost:7423/health

    Environment Variables

  • MCP_TRANSPORT_MODE - Transport mode (stdio|sse|dual)
  • MCP_PORT - SSE server port (default: 7423 - SHADCN on keypad!)
  • MCP_HOST - Host binding (default: 0.0.0.0)
  • MCP_CORS_ORIGINS - CORS origins (comma-separated)
  • GITHUB_PERSONAL_ACCESS_TOKEN - GitHub API token
  • UI_LIBRARY - UI primitive library: radix (default) or base (React only)
  • 📚 Documentation

    | Section | Description | |---------|-------------| | 🚀 Getting Started | Installation, setup, and first steps | | ⚙️ Configuration | Framework selection, tokens, and options | | 🔌 Integration | Editor and tool integrations | | 📖 Usage | Examples, tutorials, and use cases | | 🎨 Frameworks | Framework-specific documentation | | 🐛 Troubleshooting | Common issues and solutions | | 🔧 API Reference | Tool reference and technical details |

    🎨 Framework Support

    This MCP server supports four popular shadcn implementations:

    | Framework | Repository | Maintainer | Description | |-----------|------------|------------|-------

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81