섹션
컴포넌트
Model Context Protocol (MCP) 서버를 사용하면 Neobrutalism 컴포넌트를 AI 지원 워크플로에 바로 가져올 수 있습니다. Claude, Cursor, VS Code를 비롯한 MCP 지원 에디터에서 자연어 명령으로 컴포넌트를 추가할 수 있습니다. URL을 복사해 붙여넣을 필요가 없습니다.
이 서버는 Neobrutalism 레지스트리를 가리키는 shadcn CLI 위에서 동작합니다. 배경 지식은
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을 개발 의존성으로 설치합니다.
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 컴포넌트를 해석할 수 있도록, Neobrutalism 레지스트리가
components.json에 설정되어 있는지 확인하세요(설치 참고).
사용법#
설정을 마치면 에디터에서 자연어로 Neobrutalism 컴포넌트를 추가할 수 있습니다.
- → "neobrutalism button 컴포넌트를 추가해 줘"
- → "@neobrutalism에서 accordion을 설치해 줘"
- → "네오브루탈리즘 스타일로 card 컴포넌트를 추가해 줘"
MCP 서버는 Neobrutalism 디자인 시스템에 맞는 올바른 설정으로 컴포넌트를 설치합니다.