Starwind UI MCP Server

v0.6.0
io.github.starwind-ui/mcp Checked 9 hours ago Published 3 days ago

Starwind UI v3 tools for Astro, React, Vue, and Svelte setup, components, docs, and migration.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

starwind_init

Generates a Starwind UI v3 initialization command for an existing Astro, React, Vue, or Svelte project. The CLI auto-detects the framework unless an override is provided. Paid Pro authorization is opt-in and works in every framework. Pro blocks are Astro components.

ParameterTypeDescription
cwdstringProject directory used for package manager and framework detection.
frameworkstringOptional CLI framework override: astro, react, vue, or svelte.
packageManagerstring
probooleanConfigure paid Starwind Pro authorization. Defaults to false.

starwind_add

Generates validated Starwind UI v3 install commands for styled components, vendored primitives, or Starwind Pro blocks, with optional Astro, React, Vue, or Svelte targeting. Pro blocks install in every framework and are Astro components.

ParameterTypeDescription
components *arrayNames to install, or a single 'all'/'--all' item.
cwdstring
frameworkstringOptional framework override: astro, react, vue, or svelte.
initbooleanPrepend project initialization for a new setup.
overwritebooleanAllow the CLI to overwrite existing files.
packageManagerstring
probooleanConfigure paid Pro authorization during optional init.
surfacestringDefaults to styled.
tostringPrimitive destination passed to --to.

starwind_docs

Fetches current Starwind UI v3 documentation across styled components, primitives, Runtime, migration, and Astro, React, Vue, or Svelte framework guides. With cwd, Primitive and Runtime topics, and styled components that share a Primitive's name, also return installedDocs: the version-matched page from the installed @starwind-ui package. When the website is unavailable, the installed page is returned.

ParameterTypeDescription
cwdstringProject directory. For a Primitive or Runtime topic, or a styled component with a matching Primitive, the result points to the installed package docs page when it exists.
fullbooleanUse the full aggregate reference when no exact page is found.
surfacestring
topicstring

starwind_migrate

Generates the safe Starwind UI v3 migration command for a legacy Astro project. Interactive migration is the default; non-interactive overwrite behavior must be explicitly requested.

ParameterTypeDescription
cwdstringLegacy Starwind project directory to inspect.
packageManagerstring
yesbooleanAdd --yes to create a backup and overwrite registered conflicts without prompts.