Registry
The Mukoko Registry is a shadcn-compatible component registry that serves 94 items (82 UI components, 3 hooks, 9 library utilities). It allows any Mukoko app to install production-ready components with a single CLI command.
How it works
The registry serves components in two ways:
- Dynamic API —
GET /api/v1/ui/{name}readsregistry.jsonat runtime, inlines component source code, and serves it with CORS headers - Static build —
pnpm registry:buildpre-generates JSON files intopublic/r/for CDN serving
Both formats are compatible with the shadcn CLI.
Architecture
registry.json (manifest — source of truth)
│
├── Dynamic API (app/api/v1/ui/)
│ ├── GET /api/v1/ui → registry index
│ └── GET /api/v1/ui/{name} → component JSON with source
│
└── Static build (scripts/build-registry.js)
└── public/r/{name}.json → pre-built component JSONExplore
Consuming
Install and use registry components in your app
Read moreContributing
Add new components to the registry
Read moreSchema
Registry JSON schema and item types
Read moreMCP Server
AI assistant integration via Model Context Protocol
Read moreQuick install
npx shadcn@latest add https://registry.mukoko.com/api/v1/ui/buttonThis fetches the button component JSON, resolves its dependencies (radix-ui, class-variance-authority), and writes components/ui/button.tsx to your project.
Last updated on