Skip to main content

Starwind UI v3.0 is now available! Migration guide

MCP Server

Use the Starwind UI MCP server to search Starwind UI, read current documentation, and generate validated CLI commands from an MCP-compatible assistant. It supports Starwind UI v3 projects using Astro or React.

The server is published as @starwind-ui/mcp and runs locally through your MCP client.

Quick Start

Select your MCP client and add the configuration.

After you add the configuration, reload the MCP server when your client requires it. Use the client’s MCP status view or list command to confirm that Starwind UI connected.

What You Can Do

With the MCP server, an assistant can:

  • Prepare a validated Starwind UI v3 initialization command for an Astro or React project.
  • Search styled components, Primitives, and Starwind Pro blocks.
  • Generate validated install commands for the selected framework and project.
  • Fetch exact component, Primitive, Runtime, migration, and framework documentation.
  • Check a legacy Astro project and prepare a safe Starwind UI v3 migration command.

The server inspects local project context when available. It returns commands for the assistant to review with you. It does not run those commands.

Available Tools

ToolUse it for
starwind_initPrepare a Starwind UI v3 initialization command.
starwind_searchFind styled components, Primitives, and Pro blocks.
starwind_addPrepare validated install commands.
starwind_docsRead current Starwind documentation.
starwind_migrateCheck and guide a legacy Astro migration.

Example Prompts

  • “Find a React combobox and show me its documentation.”
  • “Add button, card, and dialog to this Astro project.”
  • “Show me the Primitive and Runtime API for Color Picker.”
  • “Check whether this project needs the Starwind UI v3 migration.”
  • “Find free Starwind Pro hero blocks.”

Use Starwind Skills with MCP when your assistant supports both. Skills provide editing guidance. MCP supplies current Starwind data and commands.

Troubleshooting

If the tools do not appear, restart or reload the server from the client’s MCP controls. Confirm that the client can run:

Terminal window
npx -y @starwind-ui/mcp

If your client still shows search_starwind_pro_blocks, stop the old MCP process and restart the client. Current releases use starwind_search for components, Primitives, and Pro blocks.

Client Documentation