shadcn-registry-mcp
Provides tools for AI coding assistants to list, search, add, and remove shadcn/ui components directly from the official registry, with full dependency resolution and project-aware file placement.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@shadcn-registry-mcpadd a sidebar component to my project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Your AI shouldn't need a terminal.
shadcn-registry-mcp is a secure MCP server that gives AI coding assistants (Claude, Cursor, Windsurf, and more) direct access to the shadcn/ui registry, fetching, installing, and wiring up components without a single context switch.
What it does
You talk to your AI. Your AI talks to this server. The server handles everything else.
No terminal. No broken deps. No copy-paste.
Related MCP server: Shadcn Registry manager
Why this exists
AI-generated UI tends to be generic. When your AI guesses at component structure instead of reading from the actual registry, you get inconsistent code that fights your design system.
Public MCP registries are a security risk. The MCP ecosystem is actively targeted by supply-chain attacks, malicious servers that disguise themselves as developer tools to exfiltrate SSH keys, tokens, and environment variables.
This server solves both:
Accurate installs — components come directly from the official
ui.shadcn.comregistry, with the exact file structure, dependency tree, and CSS variables shadcn intends. No guessing.Conversational flow — ask for a data table, a sidebar, or an entire form kit. The server resolves transitive deps, writes all files, and runs your package manager. You stay in the conversation.
Codebase-safe — the server reads your
components.jsonto understand your exact project layout before writing a single file. It integrates with your structure, not against it.Security-hardened — network egress is locked to
ui.shadcn.comonly. Path traversal is blocked. Package installs useexecFile(), never shell concatenation. Your environment stays yours.
Who is this for
Frontend and full-stack developers who use shadcn/ui and want their AI assistant to actually install components correctly, with full dependency resolution, proper file placement, and zero security compromises.
If you've ever had an AI tell you to "run npx shadcn@latest add button" mid-conversation, this is for you.
Quick Start
Prerequisites
Node.js 18+ · check with
node --versionA shadcn/ui project · run
npx shadcn@latest initif not already set up
Step 1 — Add to your AI client
Open your config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the shadcn entry under mcpServers:
{
"mcpServers": {
"shadcn": {
"command": "npx",
"args": ["-y", "shadcn-registry-mcp"]
}
}
}Quit and relaunch Claude Desktop after saving.
For the current project only:
claude mcp add shadcn -- npx -y shadcn-registry-mcpFor all projects (recommended):
claude mcp add shadcn --scope global -- npx -y shadcn-registry-mcpConfirm it connected:
claude mcp list
# shadcn npx -y shadcn-registry-mcp connected ✓If the status shows
failed, npx may have a stale cache. Fix:claude mcp remove shadcnthen re-add withnpx -y shadcn-registry-mcp@latest.
Edit .cursor/mcp.json in your project root (create it if it doesn't exist):
{
"mcpServers": {
"shadcn": {
"command": "npx",
"args": ["-y", "shadcn-registry-mcp"]
}
}
}Restart Cursor after saving.
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"shadcn": {
"command": "npx",
"args": ["-y", "shadcn-registry-mcp"]
}
}
}Restart Windsurf after saving.
Download shadcn-registry-mcp.mcpb from the latest release and open it — no terminal, no config editing. Works with any client that supports the .mcpb format.
Step 2 — Verify it's working
Ask your AI:
"List my installed shadcn components"
The MCP server will respond directly. If the AI runs npx shadcn@latest in a terminal instead, the server isn't connected — see Troubleshooting below.
Troubleshooting
failed to connect in claude mcp list
npx cached a "not found" result from before the package was installed. Fix:
claude mcp remove shadcn
claude mcp add shadcn --scope global -- npx -y shadcn-registry-mcp@latestcomponents.json not found
The server needs a shadcn-initialized project. Run npx shadcn@latest init in your project root first.
AI uses the terminal instead of the MCP
Be explicit: "Use the add_component tool to install [name]". Some agents default to the CLI if the prompt is ambiguous.
Server disappears after restarting Claude Code
You added it at project scope. Re-add with --scope global to make it persistent.
Tools
Eight tools are exposed to your AI assistant:
Tool | What it does | Writes |
| Framework, package manager, component dirs, shadcn config | — |
| All available components, filterable by category | — |
| Predefined groups for bulk installs | — |
| Find by name or keyword, ranked by relevance | — |
| Files, deps, CSS vars, install status in your project | — |
| Install components or groups with full dep resolution; supports | ✓ |
| Clean uninstall — deletes component files | ✓ |
| What's already in your project | — |
// Preview before writing anything
add_component({ names: ["sidebar", "button"], dryRun: true })
// Install an entire group at once
add_component({ group: "form" }) // input, textarea, select, checkbox, label, form…Groups: form · layout · navigation · overlay · data · feedback · typography
Security
The MCP ecosystem has a supply-chain problem. Malicious servers disguise themselves as developer tools to steal credentials, SSH keys, and environment secrets. This server is built with that threat model in mind:
Control | What it prevents |
Network egress locked to | Registry data or tool inputs cannot trigger requests to attacker-controlled domains |
Path traversal prevention | Registry-supplied paths are validated and resolved against the project root, no |
No shell injection |
|
No stdout pollution | All logging goes to |
Minimal filesystem scope | Reads only |
Zod input validation | Every tool input is schema-validated before any code runs |
Compatibility
Works with Next.js (App + Pages Router), Vite, and plain React. Auto-detects npm, pnpm, yarn, and bun from your lockfile.
Client | Status |
Claude Desktop | ✅ |
Claude Code | ✅ |
Cursor | ✅ |
Windsurf | ✅ |
Any MCP-compatible client | ✅ |
Custom Registries
Point to an internal design system via components.json:
{ "registryUrl": "https://registry.company.com/r" }Or via env var (useful in CI):
{ "env": { "SHADCN_REGISTRY_URL": "https://registry.company.com/r" } }Custom registry is checked first; the official shadcn registry is the fallback, internal and standard components work side by side.
Architecture
src/
├── index.ts Entry point — stdio transport, process lifecycle
├── server.ts McpServer — all 8 tools registered with Zod schemas
├── types.ts Typed interfaces + error classes (SecurityError, CircularDepError…)
│
├── tools/ Thin handlers — validate input, compose modules, format output
│ ├── add-component.ts Installs by name list or group · "did you mean?" on typos
│ ├── remove-component.ts Uninstalls by name · path-validated deletion
│ ├── detect-project.ts
│ ├── get-component-info.ts
│ ├── list-components.ts
│ ├── list-installed.ts
│ └── search-components.ts
│
├── registry/
│ ├── client.ts HTTPS-only fetch · host whitelist · 5-min cache · 2× retry
│ ├── resolver.ts Recursive dep tree · cycle detection · Levenshtein suggestions
│ └── groups.ts 7 predefined groups
│
├── project/
│ ├── analyzer.ts Walks up to components.json · framework + pkg manager detection
│ └── scanner.ts Checks installed components by scanning configured directories
│
└── writer/
├── file-writer.ts Path-validated writes · dry-run support
├── file-remover.ts Path-validated deletion
├── css-writer.ts Idempotent CSS variable merging
└── pkg-installer.ts execFile-based installs · per-package fallback
tests/
├── registry/client.test.ts Fetch, caching, security, custom registry
├── project/analyzer.test.ts Framework + pkg manager detection
├── writer/file-writer.test.ts Path validation and write logic
├── writer/file-remover.test.ts Path traversal security + deletion
└── e2e/
├── add-component.test.ts Full pipeline: dry-run, install, skip, transitive deps
├── remove-component.test.ts Delete, no-op, partial, multi-component
└── detect-project.test.ts Framework detection, alias resolution, missing configDevelopment
git clone https://github.com/Rachidhssin/shadcn-registry-mcp
npm install
npm run dev # Run with tsx — no build step needed
npm run build # Compile TypeScript → dist/
npm test # Run 42 tests (unit + E2E)
npm run test:watch # Watch mode
npm run pack:bundle # Build + create shadcn-registry-mcp.mcpb bundleContributing
Contributions are welcome and appreciated. Here's how to get involved:
Star the repo — if this saves you time, a star helps others find it and keeps the project going.
Report issues — found a bug or a component that doesn't install correctly? Open an issue.
Submit a PR — fork → branch → write tests → open a PR. Both
npm testandnpm run buildmust pass cleanly.Suggest features — have an idea for a new tool or integration? Start a discussion in the issues tab.
Security note: All security properties (network egress locking, path validation, shell safety) must be preserved in every PR. New network destinations, filesystem paths, or shell invocations require explicit justification in the PR description.
If this project helped you, consider giving it a ⭐ it means a lot.
MIT · Built with the MCP TypeScript SDK · Powered by the shadcn/ui registry
Available Tools
8 toolsadd_componentADestructiveIdempotent
Install one or more shadcn/ui components into the current project. Automatically resolves and installs all dependencies. Use dryRun=true to preview what would be installed without making changes.
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Single component name to install — alias for names (e.g. "button") | |
| group | No | Install a predefined group of related components. Available: form, layout, navigation, overlay, data, feedback, typography | |
| names | No | Component names to install (e.g. ["button", "dialog"]) | |
| dryRun | No | Preview what would be installed without writing any files (default: false) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already provide idempotentHint and destructiveHint, so the bar is lower. The description adds useful behavioral context beyond those: it automatically resolves and installs dependencies, and it exposes a dry-run mode that avoids making changes. There is no contradiction with the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the core action and object, and every sentence earns its place: install behavior, dependency handling, and dry-run usage. There is no filler, redundancy, or irrelevant detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation tool with four parameters and no output schema, the description covers the core workflow, dependency resolution, and safe preview option. It could be slightly more explicit that the caller must provide at least one of name, names, or group, since none of those parameters is marked required in the schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so each parameter is already well documented in the schema. The description adds only general context ('one or more', dryRun preview purpose) rather than meaningfully enriching the parameter semantics beyond the structured definitions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Install'), names the exact resource ('shadcn/ui components'), and scopes it to the current project. It is clearly distinct from sibling tools like list_components, remove_component, and get_component_info, and it adds the important nuance that dependencies are resolved automatically.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It clearly establishes when to use the tool: to install shadcn/ui components into the current project. It also gives explicit guidance for the dryRun=true preview path. It stops short of naming alternatives or explicitly saying when not to use it, so it is not a full 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
detect_projectARead-onlyIdempotent
Detect the current project configuration: framework, package manager, component paths, and shadcn setup
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint and idempotentHint, so the safety profile is clear. The description adds useful behavioral context by stating exactly which configuration aspects are inspected while avoiding any implication of mutation. It does not disclose failure modes or behavior on unrecognized projects, but those are minor given the read-only, idempotent nature.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence delivers the essential purpose first and then lists the specific configuration categories. Every word earns its place; there is no filler or repetition of the tool name.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter, read-only inspection tool, the description is reasonably complete: it names the operation, the target, and the expected output categories. The absence of an output schema is partially mitigated by the explicit list of configuration aspects, though it does not describe the result format or error behavior if no project configuration is detectable.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is no parameter burden for the description to carry. The baseline of 4 applies here because the description does not need to explain parameter semantics; the empty input schema is already fully descriptive.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Detect' with a clear resource ('current project configuration') and enumerates the concrete aspects it covers: framework, package manager, component paths, and shadcn setup. This makes the tool clearly distinct from the sibling component-focused tools like list_components, search_components, and get_component_info.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description makes the tool's purpose clear enough that an agent could infer when to call it, but it offers no explicit guidance on when to use it versus alternatives, nor any conditions or exclusions. It does not name sibling tools or suggest a workflow sequence like 'run before component operations.'
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_component_infoARead-onlyIdempotent
Get detailed information about a shadcn/ui component including dependencies, files, and whether it is already installed in the current project
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component name (e.g. "button", "dialog", "sidebar") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint and idempotentHint, so no side effects need restating. The description adds useful behavioral context about scope: it inspects the current project to report installed status, and it returns dependencies/files rather than just a list. This goes beyond the structured fields.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One dense sentence, front-loaded with the verb and resource, and every clause (dependencies, files, installed status) adds information. No filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With one required string parameter, rich examples in the schema, and read-only/idempotent annotations, the description explains the central output facets. It doesn't define the return shape or behavior for unknown component names, but this is a minor gap for such a simple lookup tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the parameter already has a clear description with examples. The tool description adds no new parameter meaning, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Get'), a resource ('shadcn/ui component'), and the exact facets returned (dependencies, files, installed status). This distinguishes it from sibling list/search tools and the mutating add/remove tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use the tool – when detailed per-component info like dependencies or install state is needed – but it never names alternatives or exclusion conditions. An agent must infer the boundary against list_components/search_components/list_installed from the verb and facets alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_componentsARead-onlyIdempotent
List all available shadcn/ui components from the official registry
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Optional category filter (e.g. "form", "layout", "data") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds the official-registry scope but does not disclose other behavioral details such as return shape or pagination; the lower bar from annotations makes this adequate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that communicates the exact resource and scope with no filler. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple list operation with one optional, fully documented parameter and read-only/idempotent annotations, the description is sufficient for an agent to invoke it correctly. It does not explain the exact return shape, but 'list' makes the general output type inferable.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the sole optional category parameter is fully documented in the schema. The description adds no parameter-specific meaning, which matches the baseline of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb and resource: it lists all available components from the official registry. This clearly distinguishes it from sibling tools that search, install, remove, or inspect components.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'all available ... from the official registry' gives clear scope and implies this is the right choice for browsing the full remote component catalog. It does not explicitly name alternatives like list_installed or search_components, so it falls just short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_groupsARead-onlyIdempotent
List all available component groups for bulk installation (e.g. "form", "overlay", "navigation")
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint and idempotentHint, and the description is fully consistent with them. It adds useful context by specifying the scope ('all available') and the practical use case ('for bulk installation'), so an agent understands this is a safe, side-effect-free lookup.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, front-loaded with the verb and resource, and includes just enough context with examples. Every part earns its place; nothing is redundant or distracting.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple zero-parameter, read-only tool with no output schema, this description is sufficient: it states what is returned and gives representative values. It does not describe return format, but the low complexity and strong annotations make that a minor gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so parameter semantics are largely irrelevant. The baseline for zero-parameter tools is 4, and the description provides no misleading parameter information.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific action ('List') and resource ('all available component groups'), and clarifies the purpose with concrete examples ('form', 'overlay', 'navigation'). This clearly distinguishes it from siblings like list_components and search_components because it targets groups rather than individual components.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context: this tool is for retrieving available component groups for bulk installation. It does not explicitly name alternative tools or state when not to use it, but the purpose is specific enough that an agent can infer when it applies.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_installedARead-onlyIdempotent
List all shadcn/ui components that are currently installed in the project
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, so the safe, non-mutating nature is established. The description adds value by specifying that the result reflects the current project installation state, which is a meaningful behavioral scope beyond the structured annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, focused sentence with no filler. It front-loads the action ('List') and clearly scopes the resource without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter, read-only list operation with annotations covering safety and idempotence, the description is fully sufficient for an agent to select and invoke the tool correctly. No critical information is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters and schema description coverage is 100%, so there are no parameter semantics to clarify. Per the baseline for zero-parameter tools, the description sufficiently covers invocation needs.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('List') with a clear resource ('shadcn/ui components that are currently installed in the project'). This distinguishes it from sibling tools like list_components, which presumably lists all components regardless of installation state.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'currently installed in the project' gives clear context for when this tool is appropriate, distinguishing it from the broader list_components or search_components siblings. However, it does not explicitly state when not to use it or name alternative tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
remove_componentADestructive
Remove one or more installed shadcn/ui components from the project by deleting their files
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | Component names to remove (e.g. ["button", "dialog"]) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotation already marks the tool as destructive, but the description adds useful detail by specifying that deletion of component files is what happens. This goes beyond the raw annotation and helps the agent understand the concrete effect, while not contradicting the destructive hint.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no filler. Every word adds clarity about scope, mechanism, and target resource.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter destructive removal tool with annotations and full schema coverage, the description covers the essential action and consequence. It does not spell out failure behavior or dependency cleanup, but that is a minor gap given the tool's simplicity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for the single 'names' parameter, including an example format. The tool description itself adds no additional parameter-level detail, so the baseline of 3 is appropriate because the schema already carries the semantic weight.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Remove'), a specific resource ('installed shadcn/ui components'), and the mechanism ('deleting their files'). This clearly distinguishes it from sibling tools like add_component, list_components, and get_component_info.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage: use it to remove already-installed components rather than to list, search, or add them. However, it does not explicitly mention alternatives or any exclusions, such as checking list_installed first or handling dependencies.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_componentsARead-onlyIdempotent
Search for shadcn/ui components by name or description
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query (component name, keyword, or description) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint=true and idempotentHint=true, so the read-only, side-effect-free behavior is covered. The description doesn't add additional behavioral context such as result format, fuzzy matching, pagination, or what 'search' returns, but it doesn't contradict the annotations either.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that immediately states what the tool does and the input scope. There is no redundant filler, and every word contributes meaning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the minimal complexity (one required string parameter), the rich schema coverage, and the safety annotations, the description is largely sufficient. It could be slightly more complete by mentioning what the search returns, but the name and description make the tool's purpose clear enough for an agent to invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, and the query parameter already has a descriptive comment: 'Search query (component name, keyword, or description)'. The description adds no meaningful parameter semantics beyond rephrasing what the schema already provides, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Search'), a clear resource ('shadcn/ui components'), and a precise scope ('by name or description'). This distinguishes it from sibling tools like list_components and get_component_info, since 'search' implies query-based retrieval rather than listing or detail lookup.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies that the tool is appropriate when an agent needs to find a component using a name, keyword, or description query. However, it doesn't explicitly state when to prefer this over list_components or get_component_info, and it provides no exclusion criteria or alternative guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
8 tool updates
v1.0.2- First observed
add_component - First observed
detect_project - First observed
get_component_info - First observed
list_components - First observed
list_groups - First observed
list_installed - First observed
remove_component - First observed
search_components
TDQS
Scored across 8 tools
Each tool targets a clearly distinct operation: discovery, search, detailed info, add, remove, installed listing, groups, and project detection. There is no meaningful overlap that would confuse an agent.
All tool names follow a consistent verb_noun snake_case pattern such as list_components, add_component, and detect_project. The names are predictable and readable.
With 8 tools, the server is well-scoped for managing shadcn/ui registry components and project integration. Each tool serves a necessary function without redundancy.
The surface covers discovery, inspection, installation, removal, installed tracking, grouping, and project detection. The only notable gap is an explicit update/upgrade operation for already installed components.
Maintenance
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
- ArcjetOAuthcom.arcjet
An MCP server for Arcjet - the runtime security platform that ships with your AI code.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Related MCP Servers
- AlicenseCqualityDmaintenanceA Model Control Protocol server that allows users to discover, install, and manage Shadcn UI components and blocks through natural language interactions in compatible AI tools.647 npm25MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Shadcn UI, enabling automated, remote, or containerized project management via local or remote registries7 npm1MIT
- AlicenseAqualityFmaintenanceAn MCP server that enables AI assistants to search, discover, and install Aceternity UI components programmatically.5217 npm23MIT
- AlicenseNot gradedqualityDmaintenanceThis MCP server provides tools to install and manage shadcn/ui components directly from AI coding agents.2MIT