shadcn-ui-mcp-server
by Jpisnice·★ 2,768·Score 58
MCP server providing AI assistants with comprehensive access to shadcn/ui components for React, Svelte, Vue, and React Native.
Overview
The shadcn-ui-mcp-server is a comprehensive Model Context Protocol server that provides AI assistants with direct access to shadcn/ui v4 component libraries. It supports multiple frameworks including React (with Radix UI or Base UI), Svelte 5, Vue, and React Native, allowing AI tools to retrieve component source code, demos, blocks, and metadata. The server features GitHub API integration with smart caching, support for Server-Sent Events transport, and Docker containerization for production deployments.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server when working with shadcn/ui components across multiple frameworks and need AI assistance with implementation details.
When NOT to choose this
Not ideal if you only need components for a single framework or require authentication beyond GitHub token access.
Tools this server exposes
10 tools extracted from the READMElist_componentsList all available shadcn/ui components
get_componentRetrieve detailed information about a specific shadcn/ui component
get_blockRetrieve complete implementation of shadcn/ui blocks
search_componentsSearch components by name or keywords
get_component_codeGet the source code for a specific component
get_component_demosRetrieve usage demos and examples for a component
get_dependenciesGet the dependency information for a specific component
browse_repositoryBrowse the repository structure of shadcn/ui components
get_configurationGet configuration details for the shadcn/ui setup
compare_frameworksCompare component implementations across different frameworks
Note: Tool names inferred from documentation and features described. Actual tool names and signatures not explicitly documented in README.
Comparable tools
Installation
Installation
CLI Usage
# Basic usage
npx @jpisnice/shadcn-ui-mcp-server
# With GitHub token (recommended)
npx @jpisnice/shadcn-ui-mcp-server --github-api-key ghp_your_token_here
# Framework-specific
npx @jpisnice/shadcn-ui-mcp-server --framework svelte
npx @jpisnice/shadcn-ui-mcp-server --framework vue
npx @jpisnice/shadcn-ui-mcp-server --framework react-nativeClaude Desktop
Download and double-click the .mcpb file from [Releases](https://github.com/Jpisnice/shadcn-ui-mcp-server/releases) for instant installation.
Manual Claude Desktop Configuration
{
"mcpServers": {
"shadcn-ui": {
"command": "npx",
"args": ["@jpisnice/shadcn-ui-mcp-server", "--github-api-key", "YOUR_TOKEN"]
}
}
}FAQ
- Which shadcn/ui frameworks are supported?
- The server supports React (default), Svelte 5, Vue, and React Native implementations. For React, you can choose between Radix UI (default) and Base UI.
- How do I increase the GitHub API rate limit?
- Use a GitHub personal access token with the --github-api-key flag to increase from 60 requests/hour to 5000 requests/hour.
Compare shadcn-ui-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.