shadcn MCP Server
by Nitish2620
README.md
# šØ Custom Component Registry & MCP Server
> A production-grade, MNC-standard custom React component library and registry powered by **Vite**, **TypeScript**, **Tailwind CSS v4**, and the **shadcn MCP Server**.
[](LICENSE)
[]()
[](https://ui.shadcn.com)
[](https://www.typescriptlang.org/)
---
## š Organized Repository Structure
```
shadcn-mcp-app/
āāā public/
ā āāā r/ <-- REGISTRY SPECIFICATION FILES
ā āāā registry.json <-- Master list of all components
ā āāā social-post-card.json <-- 1-Command CLI installer spec
ā
āāā src/
ā āāā components/ <-- SOURCE CODE ORGANIZED BY CATEGORY
ā āāā social/ <-- Category: Social & Feed
ā āāā SocialPostCard.tsx
ā āāā types.ts
ā
āāā components.json <-- shadcn MCP Registry Config
āāā README.md <-- Project Documentation
āāā package.json
```
---
## š§© Component Catalog
| Component | Category | Description | 1-Command Installation |
| :--- | :---: | :--- | :--- |
| **Social Post Card** | `Social & Feed` | MNC-grade feed card with multi-reaction bar, right-side discussion panel, audio voice note player, and lightbox. | `npx shadcn@latest add "https://raw.githubusercontent.com/Nitish2620/shadcn-mcp-app/main/public/r/social-post-card.json"` |
---
## š How Developers Can Use This Registry
### Option 1: 1-Command CLI Install (Recommended)
Run this command inside any React / Next.js / Vite project:
```bash
npx shadcn@latest add "https://raw.githubusercontent.com/Nitish2620/shadcn-mcp-app/main/public/r/social-post-card.json"
```
### Option 2: AI Assistant Prompt (Claude Code, Cursor, VS Code)
If your project is configured with `components.json`, simply ask your AI assistant:
> *"Add the social-post-card component from Nitish2620 registry to my project"*
---
## š How to Add New Components Cleanly
When adding a new component to this repository:
1. Create a category subfolder: `src/components/<category>/<ComponentName>.tsx`
2. Create its registry JSON: `public/r/<component-name>.json`
3. Commit and push:
```bash
git add .
git commit -m "feat: add <component-name> component"
git push origin main
```
---
## š License
[MIT](LICENSE) Ā© Nitish Yadav
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues