Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

MCP

AnythingLLM

Add the shadcn MCP to AnythingLLM's agent in its MCP server settings. Signed in, the config on this page already holds your URL.

Kind
App
Goes in
Agent Skills → MCP Servers
Connects
Over HTTP
Team config
No
Its docs
None

Install

Agent Skills → MCP Servers
Sign in to get your config
Sign in with a Pro account, and this holds your MCP URL, ready to paste.

In AnythingLLM, open Agent Skills → MCP Servers, click Edit MCP config, paste the entry and save, then click Refresh. "type": "streamable" is the HTTP transport the shadcn.io server speaks.

Check it

shadcnio should show under MCP Servers, with its tools. In a workspace chat, start the agent with @agent, then ask:

Prompt
@agent use shadcnio to tell me who I'm connected as

The agent calls whoami and answers with your account and how many calls you have left this minute.

Your first component

AnythingLLM can't read your project, so say your framework, and for React the primitives:

Prompt
@agent use shadcnio to give me the tabs for Svelte, with every file to add

The agent calls search_components, get_component and get_install_plan, and answers with every file, its path and the packages to install. For React, get_install_command gives one shadcn add command instead.

Manage the connection

Back in Agent Skills → MCP Servers, edit the config to change the URL after you regenerate your token, then click Refresh.

FAQ

The agent doesn't call the tools

Start the message with @agent: plain chat doesn't use agent skills. And pick a model that supports tool calling: smaller local models call tools less reliably.

shadcnio doesn't show after I saved

Click Refresh under MCP Servers: AnythingLLM reads the config again then. Check the URL is whole, ?token= and all.

Why is it still giving generic answers?

Name the server in your prompt and be specific: a component's name, your framework, or a category. Vague prompts fall back on what the model remembers.

Next

Other clients