Your AI editor just learned shadcn/ui.
One MCP gives your agent every component and 6,231 blocks, for React, Vue, Svelte and Solid, and 294k icons: live search, docs and installs, with every Pro plan.
The shadcn MCP server for every AI agent
Claude Code, Cursor, VS Code and 35 more. Connect once, then ask your agent for any component: it arrives in your framework, typed, accessible and in your theme. Included with Pro.
Setup
Set up in a minute
The same URL in Claude Code, Cursor, VS Code and every MCP client. Guides for all 38 clients.
Frameworks
shadcn/ui for React, Vue, Svelte and Solid
Your agent gets each component for the framework you use. React runs on Base UI, Radix, React Aria or Ark UI; the others on Ark UI.
Before and after
No more AI guesswork
What changes when your agent plugs into the shadcn.io MCP.
- Tokens per lookup
- With MCP: ~200Without MCP: 30k+
- Tries per install
- With MCP: 1Without MCP: 3–4
- Icons it can search
- With MCP: 294k
Hallucinated output
Without MCP: Fake props, invented APIs, wrong deps
With MCP: Real metadata, verified dependencies
Installing components
Without MCP: Copy URL, paste token, every time
With MCP: One command with your token, or every file for Vue, Svelte and Solid
Starting a project
Without MCP: Tailwind, aliases and theme, set up by hand
With MCP: One call: the preset, the theme and the aliases
Finding an example
Without MCP: Written from scratch, or guessed from docs
With MCP: Search every demo for the pattern you need
Data freshness
Without MCP: Months-stale training data
With MCP: Live registry, always current
See it before installing
Without MCP: Install first, then see what you got
With MCP: Live demos and an anatomy of every component
Stop paying for guesses. Real components, first try, with every Pro plan.
Get Pro22 tools
Ask once, get the real component
Your agent searches, reads and installs from the live registry: every component and block for React, Vue, Svelte and Solid, 294k icons and 500 brands' design systems. Switch the MCP off to see the same prompt without it.
- shadcn.io MCP connected · 22 tools
Agent step: Read package.jsonReturns: Next.js, React 19, @base-ui/react, pnpmMCP call: search_components({ query: "date picker" })Returns: date-picker, the closest matchMCP call: get_component({ name: "date-picker", include: ["install", "usage"], packageManager: "pnpm" })Returns: Its install command and its usageAgent step: Ran the install (you approved)Returns: date-picker, calendar and popover, in components/ui
In your project
Date Picker
- Its real props, from its docs
- Installed with your package manager
1 prompt → 2 MCP calls
22 tools, one connection. Discover, inspect, blocks, install, icons, design and account, with every Pro plan.
Get all 22 toolsCharts
331 animated charts
Line, area, bar, pie, ring, gauge, heatmap, funnel, sankey and more: bklit's charts on TanStack Charts, for React, Vue, Svelte and Solid. Every one is in Pro, in your theme.
ROI calculator
What Pro saves you
Plug in your own numbers. Hand-coding is blocks × hours × rate over a year, against the Pro license your work needs.
- Blocks you build per month
- Hours per block, by hand
- Your hourly rate
You keep
You keep $23,211 a year. Hand-coding: $24,000 a year. Pro Team, billed yearly: $789 a year. About 240 hours back each year, paid off in 12 days.
- Building it by hand, a year
- $24,000
- Pro Team, billed yearly
- −$789
- Time back
- 240h≈ 6 work weeks
- Pays for itself
- 12 daysof hand-coding
- Return
- 30×what it costs
Pricing
Get MCP with Pro
MCP comes with every Pro plan. Pick the seats you need.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
Included in Pro
14 premium templates
Complete multi-page sites to start from, in every Pro plan.
- Solarisshadcn.io/demos/solaris
Pro - Reframe Labsshadcn.io/demos/reframe
Pro - Spheruleshadcn.io/demos/spherule
Pro - Maxshadcn.io/demos/max
Pro - Zel Designsshadcn.io/demos/zel
Pro - Areteshadcn.io/demos/arete
Pro - Lightboxshadcn.io/demos/lightbox
Pro - Chatlyshadcn.io/demos/chatly
Pro
Every template, every block. Included in every Pro plan.
Get ProReviews
Devs love shadcn.io
Rated 4.9 out of 5 from 150+ reviews. 100k+ developers build with shadcn.io; here's what they say.
“Beautiful landing page design with perfect balance and flow. The color palette combined with the animations creates an exceptional user experience.”
AOAlan Obeng-PeprahSenior Designer @ NativeXAI “The templates are not just visually stunning but also incredibly well-structured. Saved us weeks of development time.”
ABAbiola BraimahDeveloper @ Studio IX “shadcn.io templates have completely transformed how we approach new client projects. The code quality is exceptional and the designs are truly world-class.”
DGDanny G.Founder of DevStack “I've used many template libraries before, but shadcn.io stands out for its attention to performance optimization and clean code architecture.”
IDIan D.CTO at Wavelength “I appreciate how modular and well-documented these components are. We've been able to mix and match pieces from different templates seamlessly.”
GPGarrett P.Frontend Lead at TechFusion “The ROI on shadcn.io templates is incredible. We've dramatically reduced our development time while delivering higher quality sites to our clients.”
XCXavier C.Agency Owner
Ship like they do. MCP is in every Pro plan.
Get ProUsed by 100k devs and across top universities
- Harvard UniversityCambridge, MA
- University of California, BerkeleyBerkeley, CA
- Carnegie Mellon UniversityPittsburgh, PA
- Cornell UniversityIthaca, NY
- University of California, Los AngelesLos Angeles, CA
- University of WashingtonSeattle, WA
- University of Illinois Urbana-ChampaignChampaign, IL
- Dartmouth CollegeHanover, NH
Campus photos from Wikimedia Commons: credits
- Harvard: Wgreaves (CC BY-SA 4.0), Daderot (CC BY-SA 3.0), chensiyuan (CC BY-SA 4.0)
- Berkeley: Falcorian (CC BY-SA 4.0), Bob Collowan (CC BY-SA 3.0), Carol M. Highsmith, Library of Congress (Public domain)
- CMU: Dllu (CC BY-SA 4.0), Jared Luxenberg (CC BY-SA 3.0), Dllu (CC BY-SA 4.0)
- Cornell: Russian Elmo (CC BY-SA 4.0), Eustress (CC BY-SA 4.0), sach1tb (CC BY-SA 2.0)
- UCLA: Coolcaesar (CC BY-SA 3.0), Logan Ward (CC BY 2.0), Alton (CC BY-SA 3.0)
- UW: Ken Lund (CC BY-SA 2.0), Keng Susumpow (CC BY 2.0), Punctured Bicycle (Public domain)
- UIUC: Dori (CC BY-SA 3.0 us), HalloweenHJB (CC BY 3.0), Kevin Dooley (CC BY 2.0)
- Dartmouth: Kane5187 (Public domain), Kane5187 (Public domain), Daderot (Public domain)
FAQ
Frequently asked questions
What the MCP gives your agent, how to set it up, its tools, and how Pro access works.
22 live MCP tools for every shadcn.io component and block (6,231 sections and app screens): for React on Base UI, Ark UI, Radix or React Aria, and for Vue, Svelte and Solid on Ark UI, plus 294k icons across 222 libraries. Your agent sets up the project, finds the component (or the demo of the pattern it needs, or the block for a whole section), plans a page as a stack of blocks, gets its install, usage and a working demo in one call, and reads the exact props of any part. Install commands run as-is: no hallucinated props, no broken imports.
Docs go stale and burn context. MCP is live, and your agent asks for just what it needs: the catalog by category is a few hundred tokens, one part's props are a few hundred, against tens of thousands to paste the docs. You stop paying to re-teach your agent shadcn every conversation.
Claude Code, Cursor, VS Code, Windsurf, Zed, JetBrains, Codex and 31 more each have a setup guide in the docs, and any client that speaks MCP over HTTP works. Setup takes about a minute per editor.
Yes. The MCP serves the same registry the site shows, for React, Vue, Svelte and Solid. Your agent passes the framework (and for React, the base) to each tool, reading both from your package.json, so a Vue project gets Vue components and a Radix project gets Radix ones.
Copy your personal MCP URL from /dashboard/mcp and paste it into your editor's MCP config. For Claude Code, it is one command: claude mcp add --transport http --scope user shadcnio https://www.shadcn.io/api/mcp --header "Authorization: Bearer YOUR_TOKEN". The setup guide for each client shows its own config.
The server takes the token either way: as ?token=… in the URL, or as an Authorization: Bearer header on the plain endpoint. Use the header where your client lets you set headers, because a token in a URL's query can end up in logs along the way.
Name the server in your prompt: use shadcnio to add a date picker. Some clients also let you switch each server's tools on or off, and some cap how many tools they load across all servers, so turn off the ones you aren't using.
Call whoami: it returns your email, your plan and how many calls you have left this minute. An answer means the URL works. If your client only runs local servers, bridge it with npx -y mcp-remote followed by your URL, which needs Node.js.
22 tools in seven groups: discover (list_components, search_components, search_demos), inspect (get_component, get_component_api and others), blocks, install, icons, design and account. Each has its own page under /mcp/tools with a sample call and what it returns.
search_components ranks by what a component does, so a modal finds the dialog. get_component then returns its install, usage and a demo in one call, with include choosing which. get_component_api reads one part's props, and get_demo fetches another demo of the same component.
The block tools cover all 6,231 blocks: search_blocks finds one by what it does, list_blocks is the catalog by category, get_block returns it with its install, FAQ, preview links or source, and plan_page turns a brief (a landing page, an app shell) into a stack of blocks. Blocks are part of Pro like the rest of the MCP.
search_icons finds an icon by name or meaning across 294k icons in 222 libraries, and get_icon returns it: the import from the set's package when it has one, otherwise a component (for React, one CLI command). list_icon_libraries shows which sets exist.
search_designs and get_design return a brand's design system as a DESIGN.md (colors, type, spacing, components), and search_templates finds a starting template. get_guide covers forms, theming, colors and RTL, and get_project_setup sets a new project up once.
Yes. MCP is included with every Pro plan (monthly, yearly, or lifetime). Your MCP URL carries a personal token tied to your account. Without an active Pro, the server returns 403 with a link to the plans.
The server answers 403 once your Pro ends, with an upgrade link. Your token stays valid, so when Pro is active again the same URL works, within a few minutes and with no reinstall. What you already put in your projects stays yours, as the license says.
No. MCP is one-way: shadcn.io registry data flows to your agent, and your project files never leave your machine. The server only sees the tool calls themselves, like a component's name or a search.
Treat it like an API key: anyone with it can use your Pro access. Keep it out of git, screenshots and public logs. If it leaks, regenerate your token on your account page: the old URL stops working within a few minutes, and you put the new one in each client.
600 calls a minute per token: plenty for sustained agent use, since a prompt takes a handful of calls. Past it, the server returns 429 with a Retry-After header. whoami shows how many calls you have left this minute.
Yes, on the Team and Organization plans: a member of a workspace whose owner has Pro has Pro too, and gets their own personal MCP URL on their own dashboard. Nobody shares a token. Individual licenses cannot be shared.
Team covers up to 5 seats within one company, and Organization covers unlimited seats within the purchasing organization. Workspace owners and admins invite members, and each member needs to belong to the same company or legal entity.
Commit the version of the client's config that reads the token from an environment variable (SHADCNIO_TOKEN), and let each person set their own. The setup guide of each client that supports a project file shows it, such as .mcp.json for Claude Code.
Call whoami with curl, outside your editor. An email in the answer means your URL works and the client's config is the problem. An error tells you which of the cases below applies.
The token is missing or not valid. Copy your whole URL again from /dashboard/mcp, ?token= included, and replace it in every config. After you regenerate a token, the old URL stops working everywhere.
The token is valid but the account has no Pro, so the MCP is refused with an upgrade link. Pro covers it on any plan, and the same URL works again within a few minutes of Pro starting.
You passed 600 calls a minute on your token, usually an agent stuck in a loop. Wait the number of seconds in the Retry-After header. The same 429 also comes from too many refused calls (no token or a wrong one) from one network: fix the token, then wait a minute.
Copy the whole URL, restart the client or reload its servers (most read the config once at startup), and check the transport: the server speaks MCP over HTTP, so a local-only client needs npx -y mcp-remote. Behind a proxy, the client needs HTTPS access to the site.
4.9 out of 5 from 150+ developers
Give your agent the whole registry
22 tools, every component and block for React, Vue, Svelte and Solid, and 294k icons, in every Pro plan: monthly, yearly or lifetime.
Get Pro






























