SU

starwind-ui/starwind-ui-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

35 stars 17 forks Качество 74 Тренд 26MIT

starwind-ui/starwind-ui-mcp - кандидат на сервер MCP, импортированный из https://github.com/starwind-ui/starwind-ui-mcp.

Обзор

starwind-ui/starwind-ui-mcp - кандидат на сервер MCP, импортированный из https://github.com/starwind-ui/starwind-ui-mcp.

Обзор (машинный перевод)

Официальный реестр MCP • io.github.starwind-ui/mcp

Сервер TypeScript Model Context Protocol для Starwind UI v3 и Starwind Pro. Он дает клиентам ИИ текущие, рамочные рекомендации для проектов Astro и React.

Быстрый старт

Для руководства по настройке обслуживаемого клиента см. документацию Starwind UI MCP.

Кодекс ([T0]):

Код Клода ([T1]) или курсор ([T2]):

Перезагрузить клиент или перезагрузить его MCP-серверы после изменения конфигурации.

v3 модель

Starwind UI v3 имеет три родственные поверхности. MCP отличает их:

| Поверхность | Что представляет собой | Поведение MCP [править править код] | Стильные компоненты | Принадлежащие копии компоненты пользовательского интерфейса с реализациями Astro и / или React | Поиск и установка с starwind_search и starwind_add | | Примитивы | Адаптеры Astro и React нижнего уровня, поддерживаемые Starwind Runtime, где это применимо | Поиск с surface: "primitive"; установка с командой v3 primitives add | Runtime | Framework-neutral behavior APIs | Fetch with starwind_docs с использованием темы Runtime или поверхности |

Сервер проверяет эти уровни на соответствие версии «ai-manifest».

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального 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):

[mcp_servers.starwind_ui]
command = "npx"
args = ["-y", "@starwind-ui/mcp"]
enabled = true

Claude Code (.mcp.json) or Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "starwind-ui": {
      "command": "npx",
      "args": ["-y", "@starwind-ui/mcp"]
    }
  }
}

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:

Surface What it represents MCP behavior
Styled components Copy-owned UI components with Astro and/or React implementations Search and install with starwind_search and starwind_add
Primitives Lower-level Astro and React adapters, backed by Starwind Runtime where applicable Search with surface: "primitive"; install with the v3 primitives add command
Runtime Framework-neutral behavior APIs Fetch with starwind_docs using the Runtime topic or surface

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 Purpose
starwind_init Generate v3 initialization commands for an existing Astro or React project. Pro is opt-in.
starwind_add Validate requests and generate installation or deferred-install commands for styled components, primitives, or Astro-only Pro blocks.
starwind_search Search styled components, primitives, and Pro blocks with framework metadata and filters.
starwind_docs Resolve exact component, primitive, Runtime, migration, and framework documentation.
starwind_migrate Inspect a project and generate safe, interactive-first v2-to-v3 migration guidance.
Открыть полный README на GitHub

Установка

npx -y @starwind-ui/mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "starwind-ui": { "command": "npx", "args": ["-y", "@starwind-ui/mcp"] } } }