MCP सर्वर
Neobrutalism MCP सर्वर को कॉन्फ़िगर करें ताकि आपका AI एडिटर कंपोनेंट को नाम से जोड़ सके।
Model Context Protocol (MCP) सर्वर आपको Neobrutalism कंपोनेंट को सीधे अपने AI-असिस्टेड वर्कफ़्लो में लाने देता है। Claude, Cursor, VS Code और MCP-सक्षम अन्य एडिटर में नैचुरल-लैंग्वेज कमांड के ज़रिए कंपोनेंट जोड़ें — URL कॉपी-पेस्ट करने की ज़रूरत नहीं।
यह shadcn CLI पर चलता है, जो Neobrutalism रजिस्ट्री की ओर इंगित होती है। अधिक जानकारी के लिए,
shadcn MCP डॉक्यूमेंटेशन देखें।
ऑटोमैटिक कॉन्फ़िगरेशन#
Claude Code#
pnpm dlx shadcn@latest mcp init --client claudenpx shadcn@latest mcp init --client claudeyarn dlx shadcn@latest mcp init --client claudebunx --bun shadcn@latest mcp init --client claude
Cursor#
pnpm dlx shadcn@latest mcp init --client cursornpx shadcn@latest mcp init --client cursoryarn dlx shadcn@latest mcp init --client cursorbunx --bun shadcn@latest mcp init --client cursor
VS Code#
pnpm dlx shadcn@latest mcp init --client vscodenpx shadcn@latest mcp init --client vscodeyarn dlx shadcn@latest mcp init --client vscodebunx --bun shadcn@latest mcp init --client vscode
मैन्युअल कॉन्फ़िगरेशन#
सबसे पहले, shadcn को dev डिपेंडेंसी के रूप में इंस्टॉल करें:
pnpm add -D shadcn@latestnpm install -D shadcn@latestyarn add -D shadcn@latestbun add -D shadcn@latest
फिर अपने एडिटर के लिए MCP सर्वर कॉन्फ़िगर करें।
Claude Code#
अपने .mcp.json में निम्नलिखित जोड़ें:
{
"mcpServers": {
"shadcn": {
"command": "npx",
"args": ["shadcn@latest", "mcp"]
}
}
}Cursor#
अपने .cursor/mcp.json में निम्नलिखित जोड़ें:
{
"mcpServers": {
"shadcn": {
"command": "npx",
"args": ["shadcn@latest", "mcp"]
}
}
}VS Code#
अपने .vscode/mcp.json में निम्नलिखित जोड़ें:
{
"servers": {
"shadcn": {
"command": "npx",
"args": ["shadcn@latest", "mcp"]
}
}
}सुनिश्चित करें कि Neobrutalism रजिस्ट्री आपके components.json में कॉन्फ़िगर है (देखें
इंस्टॉलेशन) ताकि सर्वर @neobrutalism कंपोनेंट रिज़ॉल्व कर सके।
उपयोग#
कॉन्फ़िगर करने के बाद, Neobrutalism कंपोनेंट जोड़ने के लिए अपने एडिटर में नैचुरल लैंग्वेज का उपयोग करें:
- → "एक neobrutalism button कंपोनेंट जोड़ें"
- → "@neobrutalism से accordion इंस्टॉल करें"
- → "नियोब्रूटलिस्ट स्टाइल वाला card कंपोनेंट जोड़ें"
MCP सर्वर, Neobrutalism के डिज़ाइन सिस्टम के लिए सही कॉन्फ़िगरेशन के साथ कंपोनेंट इंस्टॉल करता है।