Is shadcn/ui MCP Server the official shadcn MCP?
No. It is a community project by Jpisnice. The official shadcn MCP server is part of the shadcn CLI and is documented at ui.shadcn.com/docs/mcp.
@Jpisnice
Basic information
A mcp server to allow LLMS gain context about shadcn ui component structure,usage and installation,compaitable with react,svelte 5,vue & React Native
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"shadcn-ui-mcp-unofficial": {
"command": "npx",
"args": [
"@jpisnice/shadcn-ui-mcp-server"
]
}
}
}Get the source code for a specific shadcn/ui v4 component
Get demo code illustrating how a shadcn/ui v4 component should be used
Get all available shadcn/ui v4 components
Get metadata for a specific shadcn/ui v4 component
Get the directory structure of the shadcn-ui v4 repository
Get source code for a specific shadcn/ui v4 block (e.g., dashboard-01, login-02, sidebar-01)
Get all available shadcn/ui v4 blocks with categorization
Apply a TweakCN theme preset to the project
List available tweakcn themes
Get details of a specific tweakcn theme
shadcn/ui MCP Server is a community shadcn MCP server that gives AI assistants the source code, demos, blocks and metadata of shadcn/ui v4 components, plus the Svelte, Vue and React Native ports. It is an unofficial open-source project by Janardhan Polle (Jpisnice), MIT licensed.
The server reads component code from the upstream GitHub repositories, so your assistant writes UI against the real, current shadcn ui MCP sources instead of guessing from training data. It runs locally over stdio by default and can also serve Streamable HTTP for multi-client setups.
You need Node.js 20 or newer. A GitHub personal access token is optional but recommended: without it the server is limited to 60 GitHub API requests per hour, with it 5,000. The token needs no scopes; create one at https://github.com/settings/tokens and pass it with --github-api-key or the GITHUB_PERSONAL_ACCESS_TOKEN environment variable.
Run it directly with npx:
npx @jpisnice/shadcn-ui-mcp-server --github-api-key ghp_your_token_here
# Other 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
# Base UI instead of Radix (React only)
npx @jpisnice/shadcn-ui-mcp-server --ui-library base
claude mcp add shadcn -- bunx -y @jpisnice/shadcn-ui-mcp-server --github-api-key YOUR_TOKEN
For a server running in HTTP mode:
node build/index.js --mode http --port 7423
claude mcp add --scope user --transport http shadcn-mcp-server http://localhost:7423/mcp
Download shadcn-ui-mcp-server.mcpb from the project's GitHub Releases and double-click it, or add this to claude_desktop_config.json:
{
"mcpServers": {
"shadcn-ui": {
"command": "npx",
"args": ["@jpisnice/shadcn-ui-mcp-server"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
}
}
}
}
Open Cursor Settings, search for MCP, and add:
{
"mcpServers": {
"shadcn-ui": {
"command": "npx",
"args": [
"@jpisnice/shadcn-ui-mcp-server",
"--github-api-key",
"ghp_your_token_here"
]
}
}
}
Run "MCP: Add Server...", choose "NPM Package" and enter @jpisnice/shadcn-ui-mcp-server. The resulting mcp.json entry looks like this (works with Copilot Chat):
{
"servers": {
"shadcn-ui-mcp-server": {
"command": "npx",
"args": ["@jpisnice/shadcn-ui-mcp-server", "--framework", "react", "--ui-library", "radix"],
"env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}" },
"type": "stdio"
}
},
"inputs": [
{ "id": "github_token", "type": "promptString", "description": "GitHub Personal Access Token" }
]
}
--framework.--ui-library or UI_LIBRARY.dashboard-01 and calendar-01.stdio (default), http (stateless Streamable HTTP at /mcp, default port 7423) and dual; Docker and Docker Compose files included..mcpb install for Claude Desktop.list_components returns every available component, get_component returns a component's source, get_component_demo returns example usage, and get_component_metadata returns dependencies and descriptions.list_blocks lists blocks by category and get_block returns the full code of a block such as dashboard-01.get_directory_structure browses the upstream repository tree.list_themes and get_theme read tweakcn themes; apply_theme writes a theme preset's CSS into your project and supports a dryRun option.apply_theme in dry-run mode before writing CSS./mcp.shadcn now ships an official shadcn MCP server as part of its CLI (docs). It focuses on registries: browsing, searching and installing items from the registries in your components.json, set up with npx shadcn@latest mcp init --client claude (also cursor, vscode, codex, opencode). Choose the official server if you mainly want to install registry components into a project. Choose this community shadcn mcp server if you want raw component and block source, demos, tweakcn themes, or the Svelte, Vue and React Native ports. The two can run side by side.
--github-api-key or GITHUB_PERSONAL_ACCESS_TOKEN to raise the limit from 60 to 5,000 requests per hour.node --version (20+ is required since 3.0.0) and npx --version.INFO: MCP Server configured for SVELTE framework. Logs go to stderr, so check your client's MCP logs.404 on /sse: the legacy SSE transport was removed; connect to http://<host>:7423/mcp with the http transport.-32022 Unsupported protocol version: the client uses the 2025-era protocol while the server runs with --protocol modern; use --protocol any (the default).No. It is a community project by Jpisnice. The official shadcn MCP server is part of the shadcn CLI and is documented at ui.shadcn.com/docs/mcp.
Yes. It is open source under the MIT license and runs locally via npx. The only external service it uses is the GitHub API.
No key is required. A GitHub personal access token with no scopes is recommended to raise the GitHub rate limit from 60 to 5,000 requests per hour.
Yes. The project documents setup for Claude Code, Claude Desktop, Cursor, VS Code (including Copilot Chat) and Continue.dev.
React (default), Svelte, Vue and React Native. Switch with `--framework`. For React you can choose Radix UI (default) or Base UI with `--ui-library`.
Yes. Start it with `--mode http` to serve Streamable HTTP at `/mcp` on port 7423, or use the included Docker Compose file and check `http://localhost:7423/health`.
Most tools only read from GitHub. `apply_theme` writes theme CSS into your project; use its `dryRun` option to preview first.
`@jpisnice/shadcn-ui-mcp-server`. The GitHub repository is now named Jpisnice/shadcn-ui-mcp-server.

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.
Hindsight: Agent Memory That Learns

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
Senso MCP turns a Joomla 5 or 6 site into a remote MCP server. It runs inside Joomla itself (no extra server, no Node.js bridge) and is secured with OAuth 2.1 and Joomla's own ACL. The free pack lets an AI assistant crea
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Comments