shadcn components as AnythingLLM agent skills
One entry in anythingllm_mcp_servers.json, and AnythingLLM's agent searches every shadcn component and block, reads their real props and hands back the install, on a cloud model or a local one. Every Pro plan includes it, whether AnythingLLM runs on your desktop or in Docker.
- Kind
- App
- Goes in
Agent Skills → MCP Servers- Connects
- Over HTTP
- Team config
- No
- Its docs
- None
Add it to the MCP config
AnythingLLM reads its MCP servers from one JSON file in its storage folder. Paste the entry beside these steps into it, then reload from Agent Skills.
Copy the server entry
With Pro, the JSON beside these steps holds your URL, token included, and
"type": "streamable", the transport this server speaks. No token yet? Create one on your account.Open the plugins folder
On Desktop, click the version number at the top right, choose Open storage, and go into
plugins. On Docker, it'spluginsin the folder you mounted asSTORAGE_LOCATION. AnythingLLM creates the file the first time you open Agent Skills.Add shadcnio under mcpServers
Merge the entry into the
mcpServersobject ofanythingllm_mcp_servers.json, beside any servers already there, and save. Keep it strict JSON: a comment or a trailing comma makes AnythingLLM read the whole file as empty.Refresh the MCP servers
In Settings → Agent Skills, click Refresh beside MCP Servers and confirm. AnythingLLM reboots its servers from the file, and Shadcnio shows On.
Call it from a chat
In a workspace, begin the message with
@agent, or set the workspace's chat mode to Agent so tools are always within reach.
How it reads, with YOUR_TOKEN where your token goes:
{ "mcpServers": { "shadcnio": { "type": "streamable", "url": "https://www.shadcn.io/api/mcp?token=YOUR_TOKEN" } } }
The URL carries your token, so keep the file to yourself: if it ever gets shared, regenerate the token. Refresh reboots every MCP server in the file without restarting AnythingLLM.
| Install | The file's folder |
|---|---|
| Desktop on macOS | ~/Library/Application Support/anythingllm-desktop/storage/plugins/ |
| Desktop on Windows | C:\Users\<you>\AppData\Roaming\anythingllm-desktop\storage\plugins\ |
| Desktop on Linux | ~/.config/anythingllm-desktop/storage/plugins/ |
| Docker, self-hosted | plugins/ in your STORAGE_LOCATION (/app/server/storage/plugins inside the container) |
| AnythingLLM Cloud | Not available: MCP is for self-hosted installs |
Check that Shadcnio is on
Settings → Agent Skills lists each MCP server as On or Stopped, and opens one to show its tools or the error that stopped it.
- Open Settings → Agent Skills and find Shadcnio under MCP Servers, marked On.
- Click it: the panel reads
22/22 tools enabledand lists every tool with its arguments. - In a workspace chat, send the prompt below. The agent's thoughts show
Executing MCP server: shadcnio, andwhoamianswers with your account and the calls left this minute.
What @agent does with it
Three jobs AnythingLLM users hand the agent: the calls it makes and what comes back. Toggle shadcnio off on a tab and the same @agent prompt gets the model's best guess instead.
- shadcn.io MCP connected · 22 tools
Agent step: Searched this workspace's documents (RAG & long-term memory)Returns: support-handbook.pdf: billing, accounts and dataMCP call: search_blocks({ query: "faq grouped by topic", category: "faq" })Returns: faq-categorized first, faq-tabbed-vertical nextMCP call: get_block({ name: "faq-categorized", include: ["install", "source"] })Returns: Its npx shadcn add, and the block's codeAgent step: Replaced the sample questions with the handbook'sReturns: Your wording, the block's markup
In your project
Categorized FAQ
- The handbook's answers, grouped by topic
- One command left to run in your repo
1 prompt → 2 MCP calls
Prompts for the agent
Start with @agent unless the workspace's chat mode is Agent. Naming the server keeps a smaller model on the right tools.
Good to know in AnythingLLM
What makes shadcnio work well in AnythingLLM: its chat modes, the workspace's prompt and model, and how many tools sit in context.
Keep the streamable type
Leave
typeout and AnythingLLM opens an SSE connection, which this server doesn't answer, so shadcnio never starts. Keep"streamable"(or"http", which AnythingLLM treats the same)."shadcnio": { "type": "streamable", "url": "YOUR_MCP_URL" }
Agent mode, or @agent first
Set a workspace's chat mode to Agent and, with a provider that calls tools natively, any message can reach shadcnio. In Chat or Query mode, open with
@agent, and/exitends the agent session.The System Prompt as your rules
An agent session starts from the workspace's System Prompt, in its Chat Settings. One line there names the server and your stack for every chat in that workspace.
For UI work, call the shadcnio tools first. Our app is React on Base UI with pnpm: pass framework, base and packageManager on every call.
A stronger model for the agent
Each workspace can give its agent its own provider and model under Workspace Agent LLM Provider. Keep everyday chat on a local model and send tool calls to one that picks tools reliably.
Trim the tools you skip
Past ten enabled tools, AnythingLLM marks a server in yellow, since tools take context. Switch off the shadcnio tools you never use in its panel or from Tools in the chat box: the choice is saved in the file as
suppressedTools."anythingllm": { "suppressedTools": ["search_templates", "list_icon_libraries"] }
One slash command for UI work
Under Tools → Slash Commands, Add New Preset. AnythingLLM swaps the command for its prompt before reading the message, so a prompt that opens with
@agentstarts an agent session.Command: /ui Prompt: @agent use shadcnio. Our stack is Svelte with pnpm.
When shadcnio won't connect
What AnythingLLM shows on the Agent Skills page or in the chat, and the fix. The troubleshooting guide covers every client.
- Agent Skills says no MCP servers were found after you saved.
- AnythingLLM reads a file that isn't valid JSON as empty: look for a trailing comma, a comment, or the entry outside
mcpServers. Check you edited the storage folder this install uses, then click Refresh. - Shadcnio is Stopped, and its error mentions 401.
- AnythingLLM sent no token, or one you have since replaced: each new token on your account cancels the last. Copy the entry again, paste its
urlover the old one inanythingllm_mcp_servers.json, and click Refresh. - The server's error mentions 403 or Pro required.
- AnythingLLM reached shadcnio and the token checked out, but the shadcn.io account behind it has no Pro plan running. Renew it on pricing, then click Refresh on the Agent Skills page: the entry in the plugins folder works again.
- Shadcnio won't start, though the URL is right.
- Check the entry has
"type": "streamable". Without it, AnythingLLM tries SSE, and the start fails after its 30-second connection timeout. - The reply shows no tool call in the agent's thoughts.
- A plain chat doesn't use tools: open with
@agent, or set the workspace's chat mode to Agent. If it still answers from memory, run/resetand ask again withuse shadcnio, or give the agent a model that calls tools well. - The agent stops partway through building a page.
- It reached Max Tool Calls Per Response, 10 unless you change it. Raise it in Agent Skill Settings (the settings icon on the Agent Skills page), or ask for one section per message.
Get the MCP for AnythingLLM with Pro
The MCP comes with every Pro plan, with every block and premium template, for you or your whole team. Monthly, yearly or lifetime.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
Billing
Billed once a year in USD. Cancel anytime.
- How many people can use the license.
- Client work, SaaS products and anything you charge for.
- Page sections in 56 categories, from heroes and pricing tables to dashboards and settings, on every framework and UI library, in your theme.
- Complete Next.js sites for startups, SaaS, agencies and portfolios, every page designed, ready to ship.
- Your AI agent searches, previews and installs any component, block, icon or DESIGN.md from a prompt: 22 tools in Claude Code, Cursor, VS Code and 35 more clients.
- Buttons with motion and states of their own, from an arrow that slides in to a burst of confetti.
- Typewriters, scrambles, counters and more, for headlines, labels and numbers.
- Animated backgrounds for heroes, sections and cards, from a soft aurora to a flock that flees the cursor. Most are pure CSS.
- WebGPU shaders, from a slow aurora to a black hole, each drawing only while it's on screen.
- One design and one theme on all four: the components, blocks and effects are built for each framework.
- React on Base UI, Radix UI, React Aria or Ark UI: install the version for the library your project already uses. Vue, Svelte and Solid run on Ark UI.
- From a button to a date picker, a color picker or a guided tour: accessible, typed in TypeScript, each with live demos.
- Real-world patterns built from the components, in 53 galleries: forms, tables, menus, dialogs and more.
- Area, bar, line, pie, radar and radial charts on TanStack Charts, on every framework. React also gets the Recharts originals.
- Debounce, local storage, media queries and more: each hook is one typed file you own.
- From 222 libraries, Lucide, Heroicons, Tabler and Material Symbols among them, as SVG or a React component in one command.
- Stripe, Linear, Apple and 497 more: a brand's colors, typography and components in one file your AI agent builds from.
- Restyle every component and block at once: 8 styles, 8 grays, 18 colors and 5 radii, shared as a shadcn preset code.
- Priority requests are answered first.
Individual
For personal projects & open source
$32instead of $49/mo
$389 billed yearly
- Seats: 1 seat
- Commercial use: Personal & open source only
- Blocks: All 6,181 blocks
- Templates: All 14 templates
- MCP server: 38 AI clients
- Animated buttons: All 35 buttons
- Text effects: All 97 effects
- Backgrounds: All 100 backgrounds
- Shaders: All 100 shaders
- Frameworks: React, Vue, Svelte, Solid
- UI libraries: Base UI, Radix, Aria, Ark
- Components: All 174 components
- Examples: All 1,103 examples
- Charts: All 70 charts
- React hooks: All 35 hooks
- Icons: 294k+ icons
- DESIGN.md files: All 500 brands
- Theme builder: 8 styles × 18 colors
- Support: Standard
Team
Most popularFor freelancers, agencies & startups
$66instead of $99/mo
$789 billed yearly · ≈ $13/dev/mo
- Seats: Up to 5 seats
- Commercial use: Included
- Blocks: All 6,181 blocks
- Templates: All 14 templates
- MCP server: 38 AI clients
- Animated buttons: All 35 buttons
- Text effects: All 97 effects
- Backgrounds: All 100 backgrounds
- Shaders: All 100 shaders
- Frameworks: React, Vue, Svelte, Solid
- UI libraries: Base UI, Radix, Aria, Ark
- Components: All 174 components
- Examples: All 1,103 examples
- Charts: All 70 charts
- React hooks: All 35 hooks
- Icons: 294k+ icons
- DESIGN.md files: All 500 brands
- Theme builder: 8 styles × 18 colors
- Support: Priority
Organization
For companies with larger teams
$132instead of $199/mo
$1,589 billed yearly
- Seats: Unlimited seats
- Commercial use: Included
- Blocks: All 6,181 blocks
- Templates: All 14 templates
- MCP server: 38 AI clients
- Animated buttons: All 35 buttons
- Text effects: All 97 effects
- Backgrounds: All 100 backgrounds
- Shaders: All 100 shaders
- Frameworks: React, Vue, Svelte, Solid
- UI libraries: Base UI, Radix, Aria, Ark
- Components: All 174 components
- Examples: All 1,103 examples
- Charts: All 70 charts
- React hooks: All 35 hooks
- Icons: 294k+ icons
- DESIGN.md files: All 500 brands
- Theme builder: 8 styles × 18 colors
- Support: Priority
Billed once a year in USD. Cancel anytime.
Individual
For personal projects & open source
$32instead of $49/mo
$389 billed yearly
- How many people can use the license.Seats: 1 seat
- Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
- Page sections in 56 categories, from heroes and pricing tables to dashboards and settings, on every framework and UI library, in your theme.Blocks: All 6,181 blocks
- Complete Next.js sites for startups, SaaS, agencies and portfolios, every page designed, ready to ship.Templates: All 14 templates
- Your AI agent searches, previews and installs any component, block, icon or DESIGN.md from a prompt: 22 tools in Claude Code, Cursor, VS Code and 35 more clients.MCP server: 38 AI clients
- Buttons with motion and states of their own, from an arrow that slides in to a burst of confetti.Animated buttons: All 35 buttons
- Typewriters, scrambles, counters and more, for headlines, labels and numbers.Text effects: All 97 effects
- Animated backgrounds for heroes, sections and cards, from a soft aurora to a flock that flees the cursor. Most are pure CSS.Backgrounds: All 100 backgrounds
- WebGPU shaders, from a slow aurora to a black hole, each drawing only while it's on screen.Shaders: All 100 shaders
- One design and one theme on all four: the components, blocks and effects are built for each framework.Frameworks: React, Vue, Svelte, Solid
- React on Base UI, Radix UI, React Aria or Ark UI: install the version for the library your project already uses. Vue, Svelte and Solid run on Ark UI.UI libraries: Base UI, Radix, Aria, Ark
- From a button to a date picker, a color picker or a guided tour: accessible, typed in TypeScript, each with live demos.Components: All 174 components
- Real-world patterns built from the components, in 53 galleries: forms, tables, menus, dialogs and more.Examples: All 1,103 examples
- Area, bar, line, pie, radar and radial charts on TanStack Charts, on every framework. React also gets the Recharts originals.Charts: All 70 charts
- Debounce, local storage, media queries and more: each hook is one typed file you own.React hooks: All 35 hooks
- From 222 libraries, Lucide, Heroicons, Tabler and Material Symbols among them, as SVG or a React component in one command.Icons: 294k+ icons
- Stripe, Linear, Apple and 497 more: a brand's colors, typography and components in one file your AI agent builds from.DESIGN.md files: All 500 brands
- Restyle every component and block at once: 8 styles, 8 grays, 18 colors and 5 radii, shared as a shadcn preset code.Theme builder: 8 styles × 18 colors
- Priority requests are answered first.Support: Standard
Team
Most popularFor freelancers, agencies & startups
$66instead of $99/mo
$789 billed yearly · ≈ $13/dev/mo
Everything in Individual, plus
- How many people can use the license.Seats: Up to 5 seats
- Client work, SaaS products and anything you charge for.Commercial use: Included
- Priority requests are answered first.Support: Priority
Organization
For companies with larger teams
$132instead of $199/mo
$1,589 billed yearly
Everything in Team, plus
- How many people can use the license.Seats: Unlimited seats
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
Frequently asked questions
The shadcn MCP in AnythingLLM: setup, limits, and the rest.
Using another agent too?
The same URL works in every MCP client: use it beside AnythingLLM, in your editor, your terminal or your chat app.
4.9 out of 5 from 150+ developers
Put every component behind @agent
Components, 6,181 blocks and 294k icons for AnythingLLM's agent, on Desktop or Docker, with any Pro plan.
- Cancel anytime
- Keep what you've shipped