
Starwind UI MCP Server
io.github.starwind-ui由 GitHub 帳號 starwind-ui 發布v0.5.1更新於 Oct 24, 2026
Framework-aware Starwind UI v3 tools for Astro and React setup, components, docs, and migration.
概覽
Starwind UI 的 MCP 伺服器,為 AI 助理提供 Astro 與 React 專案的 Starwind UI v3 元件、原語、文件與遷移指引。
- 可以做什麼
- 依框架中繼資料與篩選條件搜尋樣式元件、原語與 Pro 區塊
- 為 Astro 或 React 專案產生初始化與元件安裝指令
- 解析特定元件、原語、Runtime、遷移與框架文件
- 檢查專案並提供以互動為優先的 v2 到 v3 遷移建議
- 每次工具呼叫同時回傳可讀 JSON 與結構化內容
- 適用情境
- 在使用 Starwind UI v3 建置或維護 Astro、React 專案時,希望助理查詢最新元件、文件以及初始化或遷移指令,而不是自行猜測。也適合規劃 v2 到 v3 的升級。
- 執行需求
- 以 stdio 在本機執行,通常透過 npm 套件 @starwind-ui/mcp 以 npx 啟動;未宣告驗證或環境變數。產生的 v3 CLI 指令需要 Node.js 22.12.0 以上版本,初始化對象為既有的 Astro 5+ 或 React 18+ 專案。付費 Pro 區塊需要已購買的授權金鑰並寫入 .env.local。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Starwind UI MCP Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Official MCP Registry
·
io.github.starwind-ui/mcp
A TypeScript Model Context Protocol server for Starwind UI v3 and Starwind Pro. It gives AI clients current, framework-aware guidance for Astro and React projects.
Quick start
For the maintained client setup guide, see the Starwind UI MCP documentation.
Codex (~/.codex/config.toml):
Claude Code (.mcp.json) or Cursor (.cursor/mcp.json):
Restart the client or reload its MCP servers after changing the configuration.
v3 model
Starwind UI v3 has three related surfaces. The MCP keeps them distinct:
The server validates these layers against the versioned ai-manifest.json, caches validated data, and falls back to a bundled v3 snapshot if the site is unavailable.
Tools
Tool calls return both readable JSON text and MCP structuredContent.
Requirements and behavior
- Generated v3 CLI commands require Node.js 22.12.0 or newer.
starwind_inittargets existing Astro 5+ or React 18+ projects and lets the CLI auto-detect the framework unlessframeworkis supplied.- Free
@starwind-pro/*catalog blocks work after ordinary initialization. Paid blocks require explicit authorization; passpro: trueonly when it is required. - Starwind Pro blocks currently target Astro. React searches omit them, and React add requests reject them explicitly.
- Migration is interactive by default. Set
yes: trueonly when backup-and-overwrite behavior is intended. - Package-manager and project context are detected locally when possible, and add commands pass the resolved package manager to the CLI. No tool executes the generated command.
Upgrading from free to Pro
The MCP keeps Pro discoverable without forcing paid setup. Search results link to the Pro catalog, free Pro blocks remain directly installable, and paid results include a structured proUpgrade path with purchase and installation links.
For an existing Astro project, the MCP recommends:
The setup command auto-detects the project's package manager, so it does not need a --package-manager flag. It prepares the Pro registry and .env.local; replace the STARWIND_LICENSE_KEY placeholder with the purchased key, then run the returned deferredCommand. Treat the key as sensitive: keep .env.local out of source control and never expose the key in logs or client-side code. A project initialized with pro: true receives the equivalent init --pro command instead.
Development
Run the opt-in production manifest contract test with:
License
MIT. See LICENSE.
Security
來源:README.md,提交 01986a9
工具
0版本歷史
1- v0.5.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分