Registry, MCP & AI

Use UploadCN from the shadcn CLI, the shadcn MCP server, and any coding agent.

UploadCN is a standard shadcn registry, listed in the official shadcn registry directory. Everything that works with other registries, the CLI, search, the MCP server, --diff, works here.

Namespace

The shadcn CLI already knows @uploadcn, so you can install by name with no setup:

npx shadcn@latest add @uploadcn/file-upload @uploadcn/upload-config

To pin the registry in your project's components.json (useful for team mirrors and CI), add it explicitly:

npx shadcn@latest registry add @uploadcn=https://uploadcn.dev/r/{style}/{name}.json
URLWhat it serves
/r/registry.jsonThe index of every item (used by search and MCP)
/r/{name}.jsonAn item, compiled for the default style (Nova)
/r/{style}/{name}.jsonAn item for your style, e.g. /r/base-lyra/upload.json

Browse from the CLI

npx shadcn@latest search @uploadcn --query image
npx shadcn@latest view @uploadcn/product-media-upload

view prints the files an item will add before you install it. After an update, npx shadcn@latest add @uploadcn/upload --diff shows what changed against your copy.

MCP server

The shadcn MCP server reads UploadCN's registry index, so your assistant can find, explain and install components.

Pin the namespace

Run the registry add command above so @uploadcn is in components.json and the MCP server lists it with your project's registries.

Install the MCP server

npx shadcn@latest mcp init --client claude

Ask

  • “Show me the components in the @uploadcn registry”
  • “Add an image upload with crop from @uploadcn”
  • “Build a KYC page with @uploadcn/identity-verification that uploads to Cloudinary”

llms.txt

Agents that don't use MCP can read /llms.txt: what UploadCN is, how to set up the registry, every component with its install command, and the docs index. /llms-full.txt has the full documentation in one file, and every docs page is available as Markdown from the Copy Markdown button.

Quality bar

Every item in the registry:

  • passes shadcn registry validate and the registry-directory rules (flat structure, no inline content in registry.json);
  • declares exactly the npm packages and registry items it imports;
  • is compiled for all 8 styles with no style classes left over;
  • passes @shadcn/lint theme checks;
  • renders, uploads and passes an accessibility scan in automated tests;
  • installs and type-checks in fresh Radix, Base UI and React Aria projects.

shadcn registry directory

UploadCN is listed in the shadcn registry directory as @uploadcn. shadcn's Registry Health monitor checks the index every hour and installs a sample item with the CLI every week.

On this page

Sponsor UploadCNPut your logo in front of developers choosing how their app uploads files.