Shadcn UI MCP Server
MCP server by Jpisnice Verified · npm:@jpisnice
Shadcn UI MCP Server gives AI assistants access to shadcn/ui v4 component source code, demos, blocks and metadata for React, Svelte, Vue and React Native. It is for developers who build interfaces with AI coding tools.
Install Shadcn UI MCP Server
Built from the published package, never by AI.
claude mcp add shadcn-ui-mcp-server -- npx -y @jpisnice/shadcn-ui-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"shadcn-ui-mcp-server": {
"args": [
"-y",
"@jpisnice/shadcn-ui-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Shadcn UI MCP Server in Claude Desktop
{
"mcpServers": {
"shadcn-ui-mcp-server": {
"args": [
"-y",
"@jpisnice/shadcn-ui-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"shadcn-ui-mcp-server": {
"args": [
"-y",
"@jpisnice/shadcn-ui-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add shadcn-ui-mcp-server -- npx -y @jpisnice/shadcn-ui-mcp-server{
"mcpServers": {
"shadcn-ui-mcp-server": {
"args": [
"-y",
"@jpisnice/shadcn-ui-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Shadcn UI MCP Server in Antigravity CLI
gemini mcp add shadcn-ui-mcp-server npx -y @jpisnice/shadcn-ui-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the shadcn-ui-mcp-server block.
About
Shadcn UI v4 MCP Server is a Model Context Protocol server that gives AI assistants access to shadcn/ui v4 components. It provides component source code, demos, blocks, and metadata for React, Svelte, Vue, and React Native. It also supports directory browsing and argument completion for prompt and resource-template arguments. The source includes integration guides for Claude Desktop, Claude Code, VS Code, Cursor, and Continue.dev.
The server runs over stdio by default and can also serve Streamable HTTP at a stateless /mcp endpoint, with Docker Compose support. It uses the GitHub API, and a GitHub personal access token raises the rate limit from 60 to 5000 requests per hour. It is designed for developers who want AI assistants to build interfaces with shadcn/ui, and for multi-client deployments. The project is licensed under MIT.
Written from the project's README and checked against it.
Tools it gives your assistant
Component Source CodeProvides the latest shadcn/ui v4 TypeScript source for components.Component DemosProvides example implementations and usage patterns.Blocks SupportProvides complete block implementations such as dashboards, calendars and forms.Metadata AccessProvides dependencies, descriptions and configuration details.Directory BrowsingLets the assistant explore repository structures.Argument CompletionAutocompletes component names, package managers and build tools for arguments.Smart CachingUses the GitHub API with rate limit handling and protocol cache hints.
What you need
- Node.js 20.0.0 or later (for building from source)
- GitHub personal access token (optional, for higher rate limits)
- Docker (for Docker Compose deployment)
- Claude Desktop (for the .mcpb one-click install)
Try asking
- Show me the source code for the shadcn button component in React.
- Find a dashboard block from shadcn/ui and explain its dependencies.
- List the components available in the shadcn-vue repository.
Good to know
- Without a GitHub token, the rate limit is 60 requests per hour.
- The Base UI option is available for React only.
- The legacy SSE transport was removed; --mode sse is a deprecated alias for http.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Shadcn UI MCP Server
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
Shadcn UI MCP Server: common questions
Does it work with frameworks other than React?
Yes. The source says it supports React, Svelte, Vue and React Native, selected with the --framework option.
Do I need a GitHub token?
It is optional, but the source recommends one. Without a token the limit is 60 requests per hour, and with a token it is 5000 per hour.
Can it run as a remote server for several clients?
Yes. It can serve Streamable HTTP at a stateless /mcp endpoint for multi-client deployments, and the Docker example checks a /health endpoint.
How do I install Shadcn UI MCP Server?
In Claude Code run claude mcp add shadcn-ui-mcp-server -- npx -y @jpisnice/shadcn-ui-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Shadcn UI MCP Server the official server?
Shadcn UI MCP Server is published by npm:@jpisnice from its verified domain in the official MCP Registry.
Is Shadcn UI MCP Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Shadcn UI MCP Server safe to use?
It scores 87 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Shadcn UI MCP Server?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does Shadcn UI MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
