Starwind UI MCP Server
Starwind UI v3 および Starwind Pro のためのTypeScript Model Context Protocolサーバーです。AIクライアントに対して、AstroおよびReactプロジェクト向けの現在のフレームワーク対応ガイダンスを提供します。
クイックスタート
メンテナンスされているクライアントセットアップガイドについては、Starwind UI MCP ドキュメントを参照してください。
Codex (~/.codex/config.toml):
[mcp_servers.starwind_ui]
command = "npx"
args = ["-y", "@starwind-ui/mcp"]
enabled = trueClaude Code (.mcp.json) または Cursor (.cursor/mcp.json):
{
"mcpServers": {
"starwind-ui": {
"command": "npx",
"args": ["-y", "@starwind-ui/mcp"]
}
}
}設定を変更した後は、クライアントを再起動するか、MCPサーバーをリロードしてください。
Related MCP server: shadcn-ui MCP Server
v3モデル
Starwind UI v3には3つの関連するサーフェスがあります。MCPはそれらを区別します:
サーフェス | 意味 | MCPの動作 |
Styled components | Astroおよび/またはReactの実装を持つコピー所有のUIコンポーネント |
|
Primitives | 低レベルのAstroおよびReactアダプター。該当する場合はStarwind Runtimeをバックエンドとする |
|
Runtime | フレームワークに依存しない動作API | Runtimeトピックまたはサーフェスを使用して |
サーバーはこれらのレイヤーをバージョン管理された ai-manifest.json に対して検証し、検証済みデータをキャッシュします。サイトが利用できない場合は、バンドルされたv3スナップショットにフォールバックします。
ツール
ツール | 目的 |
| 既存のAstroまたはReactプロジェクト向けにv3初期化コマンドを生成します。Proはオプトインです。 |
| リクエストを検証し、styled components、primitives、またはAstro専用Proブロックのインストールまたは遅延インストールコマンドを生成します。 |
| フレームワークメタデータとフィルターを使用して、styled components、primitives、およびProブロックを検索します。 |
| 正確なコンポーネント、primitive、Runtime、移行、およびフレームワークのドキュメントを解決します。 |
| プロジェクトを検査し、安全でインタラクティブを優先したv2からv3への移行ガイダンスを生成します。 |
ツール呼び出しは、読み取り可能なJSONテキストとMCP structuredContent の両方を返します。
要件と動作
生成されたv3 CLIコマンドにはNode.js 22.12.0以降が必要です。
starwind_initは既存のAstro 5+またはReact 18+プロジェクトを対象としており、frameworkが指定されない限りCLIがフレームワークを自動検出します。無料の
@starwind-pro/*カタログブロックは、通常の初期化後に動作します。有料ブロックには明示的な承認が必要です。pro: trueは必要な場合にのみ渡してください。Starwind Proブロックは現在Astroを対象としています。React検索ではそれらが除外され、React追加リクエストでは明示的に拒否されます。
移行はデフォルトでインタラクティブです。
yes: trueは、バックアップして上書きする動作が意図されている場合にのみ設定してください。パッケージマネージャーとプロジェクトのコンテキストは、可能な場合はローカルで検出され、addコマンドは解決されたパッケージマネージャーをCLIに渡します。どのツールも生成されたコマンドを実行しません。
無料版からProへのアップグレード
MCPは、有料セットアップを強制することなくProを発見可能に保ちます。検索結果はProカタログにリンクし、無料のProブロックは直接インストール可能なままです。有料の結果には、購入およびインストールリンクを含む構造化された proUpgrade パスが含まれます。
既存のAstroプロジェクトの場合、MCPは以下を推奨します:
pnpm dlx starwind@latest setup --yesセットアップコマンドはプロジェクトのパッケージマネージャーを自動検出するため、--package-manager フラグは必要ありません。これによりProレジストリと .env.local が準備されます。STARWIND_LICENSE_KEY プレースホルダーを購入したキーに置き換え、返された deferredCommand を実行してください。このキーは機密情報として扱ってください。.env.local をソース管理から除外し、キーをログやクライアント側コードに決して公開しないでください。pro: true で初期化されたプロジェクトは、代わりに同等の init --pro コマンドを受け取ります。
開発
pnpm build
pnpm lint
pnpm test:runオプトインのプロダクションマニフェストコントラクトテストを実行するには:
RUN_LIVE_CONTRACT_TESTS=1 pnpm test:run src/utils/starwind_live_contract.test.tsライセンス
MIT。LICENSE を参照してください。
セキュリティ
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA server that helps AI models better understand Vite/Nuxt applications, providing enhanced context awareness for development support.908MIT
- AlicenseAqualityDmaintenanceHelps AI assistants access shadcn/ui component documentation and examples through a TypeScript-based MCP server that provides reference information for component details, usage examples, and search capabilities.477660MIT
- AlicenseAqualityDmaintenanceProvides reference information for shadcn/ui components through a Model Context Protocol server that helps AI assistants access component documentation and examples.4776MIT
- AlicenseAqualityBmaintenanceServer that enables AI assistants to interact with Storybook design systems. Extract component HTML, analyze styles, and help with design system adoption and refactoring.910369MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
AI-powered design and management for Webflow Sites
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/starwind-ui/starwind-ui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server