shadcn MCP Server
The shadcn MCP server lets the AI browse and add shadcn/ui components and blocks directly into a project. It is an official, vendor-maintained server. Works in Claude, Cursor and Claude Code.
What shadcn can do
Tools shadcn exposes
5 tools · from docsThe exact tools this MCP server gives your AI.
| list_components | List registry components | read |
| get_component | Read a component | read |
| add_component | Add a component to the project | write |
| list_blocks | List blocks | read |
| get_block | Read a block | read |
Try asking Claude
Example prompts once shadcn is connected.
Set up shadcn
Pick your client. Every snippet is copy-ready.
Claude Desktop → Settings → Developer → Edit Config (claude_desktop_config.json).
{
"mcpServers": {
"shadcn": {
"command": "npx",
"args": [
"-y",
"shadcn@latest"
]
}
}
}Permissions & safety
Can change data via: add_component
Runs locally, so your data stays on your machine and only what the AI needs is sent to the model.
To stay safe, connect with least-privilege scopes and use a read-only credential where the service supports one.
Troubleshooting
FAQ
shadcn is a local server, so you add it with a command: run "claude mcp add shadcn -- npx -y shadcn@latest", then restart Claude. See the config snippet above for Cursor and VS Code.
More Design MCP servers
Figma
Design
Figma's MCP server pulls design context, variables, components and layouts from frames and nodes so the AI can generate code, and turns prompts into FigJam diagrams.
Canva
Design
Canva's official MCP server creates and edits designs, resizes and exports from the AI.
Miro
Design
Reads, summarizes and searches Miro boards, creates boards with layouts, diagrams, docs, tables, images, code widgets and prototypes, updates docs, layouts and table rows, and reads, replies to and resolves comments.
Running a digital business since 2019 and a local SEO agency, Ari built and shipped GBPAudit.AI as a Claude connector. Every server here is connected and its tools read before it's listed.
Something wrong with this listing? Report it.