PrimeVue MCP 서버
PrimeVue MCP 서버를 AI 코딩 도구에 연결하는 방법을 안내해요. Claude Code, Cursor, VS Code 같은 도구에서 PrimeVue 문서를 AI가 직접 조회할 수 있게 돼요.
출처: 문서
본문
mcp
Claude Code
CLI를 사용해 PrimeVue MCP 서버를 추가하세요. 추가한 뒤 새 세션을 시작하고 /mcp로 연결을 확인해요.
Cursor
프로젝트에 .cursor/mcp.json을 만들거나, 전역 설정은 ~/.cursor/mcp.json에 만드세요.
{ "mcpServers": { "primevue": { "command": "npx", "args": ["-y", "@primevue/mcp"] } } }
ExamplePromptsDoc
설치가 끝나면 AI 어시스턴트에게 이렇게 물어 보세요.
"What are all the props available for the DataTable component?" "Show me how to implement row selection in DataTable" "How do I customize Button styles using Pass Through?" "What design tokens are available for the Card component?" "Find me a
component for selecting multiple items from a list" "Compare AutoComplete and Select components"
Introduction
Model Context Protocol (MCP)은 AI 모델이 외부 도구와 데이터 소스에 연결할 수 있게 해 주는 개방형 표준이에요. PrimeVue MCP 서버는 AI 어시스턴트에게 다음에 대한 포괄적인 접근을 제공해요. props, events, slots, methods를 포함한 컴포넌트 문서, Pass Through와 디자인 토큰을 활용한 테밍과 스타일링, 코드 예제와 사용 패턴, 접근성 정보, 설치와 설정 가이드.
OpenAI Codex
CLI를 사용하거나 ~/.codex/config.toml을 직접 편집해 PrimeVue MCP 서버를 추가하세요.
# Using the CLI codex mcp add primevue -- npx -y @primevue/mcp # Or edit ~/.codex/config.toml [mcp_servers.primevue] command = "npx" args = ["-y", "@primevue/mcp"]
ToolsDoc
Component Information PrimeVue 컴포넌트를 탐색하고 이해하기 위한 도구들이에요. list_components: 카테고리와 함께 모든 PrimeVue 컴포넌트를 나열해요. get_component: 특정 컴포넌트의 상세 정보를 가져와요. search_components: 이름이나 설명으로 컴포넌트를 검색해요. get_component_props: 컴포넌트의 모든 props를 가져와요. get_component_events: 컴포넌트의 모든 events를 가져와요. get_component_methods: 컴포넌트의 모든 methods를 가져와요. get_component_slots: 컴포넌트의 모든 slots을 가져와요. compare_components: 두 컴포넌트를 나란히 비교해요. Code Examples 코드 샘플을 조회하고 템플릿을 생성하는 도구들이에요. get_usage_example: 컴포넌트의 코드 예제를 가져와요. list_examples: 사용 가능한 모든 코드 예제를 나열해요. get_example: 컴포넌트와 섹션으로 특정 예제를 가져와요. generate_component_template: 기본 컴포넌트 템플릿을 생성해요. Theming & Styling 컴포넌트 외관과 스타일을 커스터마이징하는 도구들이에요. get_component_pt: DOM 커스터마이징을 위한 Pass Through 옵션을 가져와요. get_component_tokens: 디자인 토큰(CSS 변수)을 가져와요. get_component_styles: CSS 클래스 이름을 가져와요. get_theming_guide: 상세 테밍 가이드를 가져와요. get_passthrough_guide: Pass Through 커스터마이징 가이드를 가져와요. get_tailwind_guide: Tailwind CSS 통합 가이드를 가져와요. Documentation & Guides PrimeVue 문서와 가이드에 접근하는 도구들이에요. list_guides: 모든 가이드와 문서 페이지를 나열해요. get_guide: 이름으로 특정 가이드를 가져와요. get_configuration: PrimeVue 설정 옵션을 가져와요. get_installation: 설치 안내를 가져와요. get_accessibility_guide: 접근성 가이드를 가져와요. get_accessibility_info: 컴포넌트의 접근성 정보를 가져와요. Search & Discovery 다양한 기준으로 컴포넌트를 찾는 도구들이에요. search_all: 컴포넌트, 가이드, props를 아우르는 검색을 해요. suggest_component: 사용 사례에 기반해 컴포넌트를 제안해요. find_by_prop: 특정 prop을 가진 컴포넌트를 찾아요. find_by_event: 특정 이벤트를 발생시키는 컴포넌트를 찾아요. find_components_with_feature: 어떤 기능을 지원하는 컴포넌트를 찾아요. get_related_components: 관련 컴포넌트를 찾아요.
VS Code
프로젝트에 .vscode/mcp.json을 만들거나, 전역 설정은 ~/Library/Application Support/Code/User/mcp.json에 만드세요.
{ "servers": { "primevue": { "command": "npx", "args": ["-y", "@primevue/mcp"] } } }
Windsurf
~/.codeium/windsurf/mcp_config.json을 편집해 PrimeVue MCP 서버를 추가하세요.
{ "mcpServers": { "primevue": { "command": "npx", "args": ["-y", "@primevue/mcp"] } } }
Zed
Zed 설정 파일 ~/.config/zed/settings.json (Linux) 또는 ~/Library/Application Support/Zed/settings.json (macOS)에 추가하세요.
{ "context_servers": { "primevue": { "command": { "path": "npx", "args": ["-y", "@primevue/mcp"] } } } }