shadcn-ui MCP サーバー
shadcn/ui コンポーネント参照用の MCP サーバー
これはTypeScriptベースのMCPサーバーで、shadcn/uiコンポーネントのリファレンス情報を提供します。AIアシスタントがshadcn/uiコンポーネントのドキュメントやサンプルにアクセスできるようにするModel Context Protocol(MCP)サーバーを実装しています。
特徴
ツール
list_shadcn_components
- 利用可能なすべてのshadcn/uiコンポーネントのリストを取得しますget_component_details
- 特定のコンポーネントの詳細情報を取得するget_component_examples
- 特定のコンポーネントの使用例を取得するsearch_components
- キーワードでコンポーネントを検索
機能性
このサーバーは以下から情報を収集してキャッシュします:
- shadcn/ui の公式ドキュメント サイト ( https://ui.shadcn.com )
- shadcn/ui GitHubリポジトリ
次のような構造化データが提供されます:
- コンポーネントの説明
- インストール手順
- 使用例
- 小道具とバリエーション
- コードサンプル
発達
依存関係をインストールします:
サーバーを構築します。
自動リビルドを使用した開発の場合:
インストール
クロードデスクトップ構成
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
オプション1: ローカルビルドを使用する
オプション2: npxコマンドを使用する
ウィンドサーフィンの構成
これを./codeium/windsurf/model_config.json
に追加します:
カーソルの設定
これを.cursor/mcp.json
に追加します:
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
AI アシスタントが、コンポーネントの詳細、使用例、検索機能に関する参照情報を提供する TypeScript ベースの MCP サーバーを通じて shadcn/ui コンポーネントのドキュメントと例にアクセスできるようにします。
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation contextLast updated -713211TypeScriptMIT License
- -securityFlicense-qualityAn MCP server that provides AI tools with access to Rust documentation from docs.rs, enabling search for crates, documentation, type information, feature flags, version information, and source code.Last updated -23TypeScript
- AsecurityAlicenseAqualityA Model Control Protocol server that allows users to discover, install, and manage Shadcn UI components and blocks through natural language interactions in compatible AI tools.Last updated -61,0689TypeScriptMIT License
- AsecurityAlicenseAqualityProvides reference information for shadcn/ui components through a Model Context Protocol server that helps AI assistants access component documentation and examples.Last updated -4320JavaScriptMIT License