shadcn-ui-mcp-server
A mcp server to allow LLMS gain context about shadcn ui component structure,usage and installation,compaitable with react,svelte 5,vue & React Native
What is shadcn-ui-mcp-server?
A mcp server to allow LLMS gain context about shadcn ui component structure,usage and installation,compaitable with react,svelte 5,vue & React Native
Overview of shadcn-ui-mcp-server
What it is
shadcn-ui-mcp-server is a Model Context Protocol (MCP) server that provides AI assistants with access to shadcn/ui v4 components, blocks, demos, and metadata. It supports React, Svelte, Vue, and React Native implementations.
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, plus protocol cache hints (ttlMs/cacheScope) on list and read results.
- Argument Completion: Autocomplete for prompt and resource-template arguments (component names, package managers, build tools, and more).
- Streamable HTTP Transport: Stateless /mcp endpoint for multi-client deployments (MCP spec 2026-07-28).
- Docker Ready: Production-ready containerization with Docker Compose.
Use cases
- AI-Powered Development: Let AI assistants build UIs with shadcn/ui.
- Multi-Client Deployments: Stateless HTTP transport scales horizontally without sticky sessions.
- Production Environments: Docker Compose ready with health checks and monitoring.
- Component Discovery: Explore available components and their usage.
Getting started
- Recommendednpx @jpisnice/shadcn-ui-mcp-server --github-api-key ghp_your_token_here# Switch frameworksnpx @jpisnice/shadcn-ui-mcp-server --framework sveltenpx @jpisnice/shadcn-ui-mcp-server --framework vuenpx @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```
### License and pricing
The license is MIT. The pricing type is open_source.
Based on the project's public README and repository metadata.