---
title: "shadcn MCP server"
description: "Let your agent search our registry, read an item's files and install it through the shadcn MCP server."
url: "https://dotsengine.dev/docs/mcp-server"
markdown: "https://dotsengine.dev/docs/mcp-server.md"
updated: 2026-12-01
---

# shadcn MCP server

Let your agent search our registry, read an item's files and install it through the shadcn MCP server.

> The other pages of this site, each with its Markdown copy, are listed in [llms.txt](https://dotsengine.dev/llms.txt).

The shadcn MCP server is a tool server from shadcn. MCP (Model Context Protocol) is a standard way for an agent to use outside tools. With this server, your agent can search our [registry](https://dotsengine.dev/docs/registry.md), read an item's files and install it in your project.

## Set it up

1. Add our registry to `components.json` in your project root:

   ```json
   {
     "registries": {
       "@dots-engine": "https://dotsengine.dev/r/{name}.json"
     }
   }
   ```

2. Connect the server in your agent. [Use with your AI agent](https://dotsengine.dev/docs/ai-agents.md) has the steps for Claude Code, Cursor, Codex, Kiro, GitHub Copilot, Windsurf, Gemini CLI and OpenCode.

## What to ask

Name our registry in the request, so the agent searches the right place:

- "Show me the items in @dots-engine."
- "Find a progress loader in @dots-engine."
- "Install the radar-circle example from @dots-engine and show it while the answer streams."

The server installs with the shadcn CLI. You get the same files as with `npx shadcn@latest add`.

## When the agent finds nothing

Check that `components.json` has the `@dots-engine` entry and that the URL ends with `{name}.json`. Then restart the agent, so the server reads the file again.
