YS

ymadd/shadcn-ui-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

60 stars 8 forks 품질 64 트렌드 0MIT

ymadd/shadcn-ui-mcp-server는 MCP 서버 후보가 https://github.com/ymadd/shadcn-ui-mcp-server.에서 수입되었습니다

개요

ymadd/shadcn-ui-mcp-server는 MCP 서버 후보가 https://github.com/ymadd/shadcn-ui-mcp-server.에서 수입되었습니다

개요(AI 번역)

Shadcn/ui 성분 참고를 위한 MCP 서버

이것은 shadcn/ui 분대를 위한 참고 정보를 제공하는 TypeScript 근거한 MCP 서버입니다. AI Assistants 액세스 shadcn/ui 구성요소 문서와 예제를 돕는 Model Context Protocol (MCP) 서버를 구현합니다.

특징

도구

  • list_shadcn_components - 모든 유효한 shadcn/ui 성분의 명부를 얻으십시오
  • get_component_details - 특정 부품에 대한 자세한 정보를 얻으십시오.
  • get_component_examples - 특정 구성 요소에 대한 사용 예제를 가져옵니다
  • search_components - 키워드로 구성품 검색

기능

이 서버 스크랩 및 캐시 정보 :

그것은 다음과 같은 Structured 자료를 제공합니다:

  • 부품 설명
  • 설치 설명서
  • 사용 예제
  • 버팀대 및 변종
  • 코드 샘플

개발

의존성 설치:

서버 구축:

auto-rebuild를 가진 발달을 위해:

설치

Claude 데스크탑 구성

Claude Desktop을 사용하려면 서버 구성을 추가하십시오.

MacOS에서: ~/Library/Application Support/Claude/claude_desktop_config.json

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

shadcn-ui MCP Server

MCP server for shadcn/ui component references

This is a TypeScript-based MCP server that provides reference information for shadcn/ui components. It implements a Model Context Protocol (MCP) server that helps AI assistants access shadcn/ui component documentation and examples.

Features

Tools

  • list_shadcn_components - Get a list of all available shadcn/ui components
  • get_component_details - Get detailed information about a specific component
  • get_component_examples - Get usage examples for a specific component
  • search_components - Search for components by keyword

Functionality

This server scrapes and caches information from:

It provides structured data including:

  • Component descriptions
  • Installation instructions
  • Usage examples
  • Props and variants
  • Code samples

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

Claude Desktop Configuration

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

Option 1: Using local build

{
  "mcpServers": {
    "shadcn-ui-server": {
      "command": "/path/to/shadcn-ui-server/build/index.js"
    }
  }
}

Option 2: Using npx command

{
  "mcpServers": {
    "shadcn-ui-server": {
      "command": "npx",
      "args": ["-y", "shadcn-ui-mcp-server"]
    }
  }
}

Windsurf Configuration

Add this to your ./codeium/windsurf/model_config.json:

{
  "mcpServers": {
    "shadcn-ui-server": {
      "command": "npx",
      "args": ["-y", "shadcn-ui-mcp-server"]
    }
  }
}

Cursor Configuration

Add this to your .cursor/mcp.json:

{
  "mcpServers": {
    "shadcn-ui-server": {
      "command": "npx",
      "args": ["-y", "shadcn-ui-mcp-server"]
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

GitHub에서 전체 README 보기

설치

npx -y shadcn-ui-mcp-server
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "shadcn-ui-server": { "command": "/path/to/shadcn-ui-server/build/index.js" } } }