shadcn-svelte-mcpのロゴ

shadcn-svelte-mcp

コミュニティ
Michael-Obele

tmcp MCP server for live shadcn-svelte docs, Bits UI API, and Lucide icons.

公開者Michael-Obele
リポジトリshadcn-svelte-mcp
言語TypeScript
フォーク
4
スター
58
利用可能なツール
5
通信方式stdio, streamable-http
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    shadcn-svelte-mcpは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 利用可能なツール(5個)

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースプロジェクトの注目度

    リンク先のリポジトリには58件のスターと4件のフォークがあります。

shadcn-svelte-mcp

latest release License: MIT

Install MCP Server

[!NOTE] Love the hosted server? Please help keep it online: the hosted endpoint at https://shadcn.svelte-apps.me/mcp is free to use but costs money to run. I'm covering costs out of pocket right now — if it's been useful, please consider chipping in to help keep it available for everyone over the next ~30 days and beyond. Prefer to run it yourself? You always can — npx -y shadcn-svelte-mcp, or deploy it yourself to Fly.io / Render / Cloudflare Workers. ❤️ Sponsor @Michael-Obele — thank you!

[!IMPORTANT] URL Update Notification: This MCP server is now hosted at https://shadcn.svelte-apps.me/mcp. Earlier configs pointing at the *.workers.dev / *.server.mastra.cloud /api/mcp/shadcn/... endpoints should be updated to the new URL below (health check: https://shadcn.svelte-apps.me/health).

Real-time shadcn-svelte docs for AI editors, via tmcp. Scrapes shadcn-svelte.com and bits-ui.com live — no stale docs.

Hosted: https://shadcn.svelte-apps.me/mcp (Streamable HTTP) · Health: https://shadcn.svelte-apps.me/health · Local: bun run src/stdio.ts

What you get

  • Live shadcn-svelte + Bits UI docs (no stale bundles)
  • 5 tools: list, get, search, icons, Bits UI API
  • Fuzzy search with typo tolerance + install snippets per package manager
  • ~1,600 Lucide icons with import snippets
  • 3-day cache (memory / disk / KV) for fast repeats

Connect (30 seconds)

Hosted (recommended): https://shadcn.svelte-apps.me/mcp

VS Code: MCP: Add Server → paste the URL. Cursor / Windsurf: add an http server with the same URL. Zed: use npx -y mcp-remote https://shadcn.svelte-apps.me/mcp. Verify: MCP: List Servers.

json
{
  "mcpServers": {
    "shadcn-svelte": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://shadcn.svelte-apps.me/mcp"]
    }
  }
}

CLIs:

bash
claude mcp add --transport http shadcn-svelte https://shadcn.svelte-apps.me/mcp
codex mcp add shadcn-svelte --url https://shadcn.svelte-apps.me/mcp

NPM fallback (if hosted is down)

Run locally via npm — same tools, no server:

json
{
  "mcpServers": {
    "shadcn-svelte": { "command": "npx", "args": ["-y", "shadcn-svelte-mcp"] }
  }
}

CLI (stdio):

bash
claude mcp add shadcn-svelte -- npx -y shadcn-svelte-mcp
codex mcp add shadcn-svelte -- npx -y shadcn-svelte-mcp

Needs Node >= 20.9. Bun users: swap npx for bunx.

  • Cursor: Settings → MCP → add http server with the hosted URL.
  • Windsurf: ~/.codeium/windsurf/mcp_config.json → mcpServers, restart.
  • Zed: Settings → Agent, or npx -y mcp-remote https://shadcn.svelte-apps.me/mcp.
  • Gemini CLI: ~/.gemini/settings.json → httpUrl, or use mcp-remote variant.

Tools

ToolUse for
shadcn-svelte-getDetails + install snippet for a known component / block / doc (packageManager supported)
shadcn-svelte-searchFuzzy find when you don't know the exact name
shadcn-svelte-listFull inventory of components, blocks, charts, docs
shadcn-svelte-iconsLucide icons (names, limit, importLimit)
bits-ui-getLow-level Bits UI API (props, events, data attributes)

Start with get, fall back to search, use bits-ui-get only for primitive internals.

Try: "Install button", "List all components", "Find date-picker-like components", "Icons for settings", "Bits UI Dialog API".

Skill

Polished SvelteKit UI skill at skills/shadcn-sveltekit-design/SKILL.md:

bash
npx skills add Michael-Obele/shadcn-svelte-mcp --skill shadcn-sveltekit-design

Verify

bash
claude mcp list
codex mcp list
curl -I https://shadcn.svelte-apps.me/health

Local development

bash
bun install
bun run dev # http://localhost:3000/mcp, health at /health
bun run check # type check

Stdio for local clients: bun run src/stdio.ts. Layout: src/index.ts (HTTP), src/stdio.ts, src/worker.ts, src/mcp/tools/, src/mcp/prompts/, src/services/.

Contributing

MIT — see LICENSE. Please read Contributing + Code of Conduct.

Contact: support@svelte-apps.me · Maintainer: Michael Obele

インストール

TypingMind
{
  "mcpServers": {
    "shadcn-svelte-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://shadcn-svelte.mastra.cloud/api/mcp/shadcn/sse"
      ]
    }
  }
}

利用可能なツール

  • shadcnSvelteListTool

    List all available shadcn-svelte components, blocks, charts, documentation sections, and Bits UI primitives by discovering them from the live websites

  • shadcnSvelteGetTool

    PRIMARY TOOL for shadcn-svelte components. Get detailed information about any shadcn-svelte component, block, chart, documentation section, or Svelte Sonner docs. Always use this tool FIRST for any shadcn-svelte-related queries. Returns structured JSON with content, metadata, code blocks, and warnings. Supports components (UI primitives), blocks (pre-built sections like dashboards/sidebars), charts, docs, and sonner. IMPORTANT: This is for SVELTE components only - do NOT use React-specific props like 'asChild' or React patterns. If you need deeper API details after using this tool, then use bits-ui-get.

  • shadcnSvelteIconsTool

    Search and browse Lucide icons available for use with lucide-svelte. Browse all 1600+ Lucide icons with search by name and tags. No AI hallucination - returns only real icons that exist. IMPORTANT: ONLY use this tool for Lucide icons - do NOT use for shadcn-svelte component information. For components, use shadcn-svelte-get, shadcn-svelte-search, or shadcn-svelte-list instead. Can handle multiple icon names: pass comma-separated names like 'truck, package, dashboard' or space-separated names like 'truck package dashboard' in the query parameter.

  • shadcnSvelteSearchTool

    Search shadcn-svelte documentation, components, blocks, and charts by keyword or phrase. Features advanced fuzzy matching for typo tolerance, returns relevant results with descriptions, links, install commands, and similarity scores. When no exact matches found, provides intelligent suggestions. Use this for both discovery (exploring options) and direct action (finding specific components to install).

  • bitsUiGetTool

    Get DEEPER API DETAILS about Bits UI primitives (the underlying library for shadcn-svelte). ONLY use this tool when: (1) shadcn-svelte-get returned a docs.bitsuiName field (meaning the component IS based on Bits UI), (2) you need lower-level primitive API documentation, or (3) you're building custom components with Bits UI primitives. DO NOT use this tool for components that don't have bitsuiName. For standard shadcn-svelte component usage, always use shadcn-svelte-get first. Returns structured JSON with API details optimized for AI consumption.

shadcn-svelte-mcpのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度shadcn-svelte-mcpに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 お使いのデバイス上でMCPをローカル実行することも、リモートMCPサーバーのURLに接続することもできます。

方法1:ローカルコネクタを使用

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」→「詳細設定」→「Model Context Protocol」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「Model Context Protocol」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

shadcn-svelte-mcpをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. shadcn-svelte-mcpのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタのステータスが「準備完了」のままか確認するには、画面を更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "shadcn-svelte-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "shadcn-svelte-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてshadcn-svelte-mcpのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. shadcn-svelte-mcpのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
shadcn-svelte-mcpを使ってこのタスクを手伝ってもらえますか?
shadcn-svelte-mcp
はい、読みました。
shadcn-svelte-mcpで調べた結果をお伝えします。

方法2:MCPサーバーのURLを追加

shadcn-svelte-mcpがすでにリモートでホストされている場合や、チームの複数のユーザーで1つのコネクタを共有したい場合は、この方法を使います。

1

MCPコネクタを開く

TypingMindで「プラグイン」に移動し、「MCPコネクタ」を開いて「URLを追加」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 「プラグイン」に移動してください。
  3. 「MCPコネクタ」を開いてください。
  4. 「URLを追加」をクリックしてください。
TypingMindの「カスタムMCPサーバーURLを追加」フォーム
2

サーバーURLを貼り付け

「サーバーURL」欄にhttps://shadcn-svelte.mastra.cloud/api/mcp/shadcn/sseを入力してください。サーバーで必要とされる場合は、接続名、説明、アイコン、カスタムHTTPヘッダー、OAuthクライアント設定を追加してください。

  1. 「サーバーURL」欄にhttps://shadcn-svelte.mastra.cloud/api/mcp/shadcn/sseを貼り付けてください。
  2. shadcn-svelte-mcpの接続名を入力してください。
  3. 接続を識別しやすくするには、説明とアイコンを追加してください。
  4. サーバーで認証が必要な場合は、カスタムHTTPヘッダーまたはOAuthクライアントの詳細情報を追加してください。
3

接続を作成

「接続を作成」をクリックし、プラグイン一覧に戻って、新しいMCP接続が有効になっていることを確認してください。

  1. 「接続を作成」をクリックしてください。
  2. MCPコネクタの一覧に戻ってください。
  3. shadcn-svelte-mcpの接続が「有効」と表示されていることを確認してください。
  4. 接続がすぐに表示されない場合は、プラグイン一覧を更新してください。
4

再接続せずにモデルを切り替え

お好みのモデルでチャットを開始し、「プラグイン」でshadcn-svelte-mcpのツールを有効にしてください。必要に応じて別のモデルに切り替えられます。MCP接続は、TypingMindのワークスペースで引き続き利用できます。

  1. TypingMindで新しいチャットを開始してください。
  2. 使用するAIモデルを選択してください。
  3. 「プラグイン」でshadcn-svelte-mcpのツールを有効にしてください。
  4. 必要に応じて、ツールを使うようモデルに依頼してください。
  5. 別のAIモデルに切り替えて、同じMCP接続を再利用してください。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
shadcn-svelte-mcpを使ってこのタスクを手伝ってもらえますか?
shadcn-svelte-mcp
はい、読みました。
shadcn-svelte-mcpで調べた結果をお伝えします。

よくある質問

shadcn-svelte-mcp MCPサーバーは何に使いますか?

shadcn-svelte-mcpは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでは、複数のAIモデルでshadcn-svelte-mcp MCPを利用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでshadcn-svelte-mcpを利用できます。

TypingMindでshadcn-svelte-mcp MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けのトップクラスのフロントエンドです。shadcn-svelte-mcpを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

shadcn-svelte-mcp MCPをTypingMindに接続するにはどうすればよいですか?

shadcn-svelte-mcpは、ローカルMCPコネクタを使うか、リモートMCPサーバーのURLを追加することでTypingMindに接続できます。サーバーがデバイス上のファイル、アプリ、プライベートリソースにアクセスする必要がある場合はローカルコネクタを、MCPサーバーがリモートでホストされている場合はサーバーURLを使用してください。

TypingMindでshadcn-svelte-mcp MCPのどのようなツールを利用できますか?

shadcn-svelte-mcpは5個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

shadcn-svelte-mcp MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。shadcn-svelte-mcpで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

install-component

Step-by-step guide to install a specific shadcn-svelte component with proper CLI usage

setup-theming

Guide to set up custom theming and CSS variables for shadcn-svelte

cli-usage

Comprehensive guide for using shadcn-svelte CLI commands

project-init

Guide to initialize a new shadcn-svelte project from scratch

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇