# Registry

Use the mcpcn registry with the shadcn CLI.

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown variants are available by appending `.md` to any URL or sending an `Accept: text/markdown` header. An agent skill is available at [/.well-known/agent-skills/site-skill.md](/.well-known/agent-skills/site-skill.md).



The **mcpcn** registry distributes MCP App components in the [shadcn registry format](https://ui.shadcn.com/docs/registry). Register its namespace once in `components.json`, then install items by name with the CLI.

## Setup [#setup]

Add a `registries` entry for mcpcn:

```json title="components.json"
{
  "registries": {
    "@mcpcn": "https://mcpcn.dev/r/{name}.json"
  }
}
```

The namespace can be changed, but it must match the name passed to `shadcn add`.

## Usage [#usage]

Install a component by its registry name:

```bash
npx shadcn@latest add @mcpcn/quick-reply
```

Install another component the same way:

```bash
npx shadcn@latest add @mcpcn/event-card
```

The CLI copies the component source and resolves its npm packages, shadcn/ui primitives, and shared mcpcn registry dependencies.

You can also install a component directly from its JSON URL without configuring a registry alias:

```bash
npx shadcn@latest add https://mcpcn.dev/r/quick-reply.json
```

The complete machine-readable registry is available at [`/r/registry.json`](/r/registry.json).
