MCP Connector Featured

Integrate Starwind UI with AI Code Assistants

An MCP server giving AI coding tools intent-based commands for Starwind UI and Starwind Pro Astro components, with search, docs, and install helpers.

Works with claudewindsurfcursor

90
Spark score
out of 100
Status Verified Official
Updated last month
Version 0.4.0

Add to Favorites

Why it matters

Empower AI code assistants like Claude, Windsurf, and Cursor to seamlessly work with Starwind UI components. This asset provides the necessary tools and configurations to enhance AI-driven development workflows for Starwind UI projects.

Outcomes

What it gets done

01

Initialize new Starwind UI projects with AI assistance.

02

Generate installation and update commands for Starwind UI components.

03

Retrieve documentation links and LLM data for Starwind UI components.

04

Detect and utilize the appropriate package manager for your project.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-starwind-ui | bash

Capabilities

Tools your agent gets

init_project

Initializes a new Starwind UI project

install_component

Generates installation commands for Starwind UI components

update_component

Generates update commands for Starwind UI components

get_documentation

Returns documentation links for Starwind UI components and guides

fetch_llm_data

Fetches LLM data from starwind.dev with rate limiting and caching

get_package_manager

Detects and returns information about the current package manager

Overview

Starwind UI MCP Server

This MCP server gives AI coding tools four intent-based commands for Starwind UI and Starwind Pro: starwind_init to scaffold a project, starwind_add for validated package-manager-aware install commands, starwind_search across components and Pro blocks, and starwind_docs for live documentation. Use it when building an Astro project with Starwind UI or Starwind Pro and an AI assistant needs to initialize, install, search, or document components - not for other frameworks or component libraries.

What it does

Starwind UI MCP Server is a TypeScript MCP server for Starwind UI and Starwind Pro (Astro component libraries), giving AI coding tools like Codex, Claude Code, and Cursor a compact, intent-based set of four tools rather than a wrapper for every CLI command. starwind_init generates init commands for new Starwind UI projects, defaulting to Pro. starwind_docs fetches live documentation from starwind.dev with caching and topic filtering. starwind_add generates validated install commands with package manager detection. starwind_search searches standard Starwind UI components and Starwind Pro blocks with CLI-shaped filters, returning grouped standard-component and Pro-block results, with Pro block results filterable by plan, category, limit, and offset. The server deliberately does not expose standalone tools for less common or destructive CLI operations like setup, update, or remove - for Starwind Pro setup on an already-initialized project, it instead returns the guidance command starwind@latest setup --yes via starwind_add or starwind_search, while a brand-new Pro project uses starwind@latest init --defaults --pro via starwind_init. Supporting features: live documentation pulled from starwind.dev's llms.txt, component validation against live component metadata with a refreshed fallback list if that's unavailable, automatic detection of npm/yarn/pnpm as the project's package manager, and caching with sensible rate limits to keep repeated documentation and search calls efficient.

When to use - and when NOT to

Use it when building an Astro project with Starwind UI or Starwind Pro and want an AI coding assistant to initialize a project, generate correct install commands for a component, search available components and Pro blocks, or pull current documentation - all matched to the project's actual package manager. It's scoped specifically to Starwind UI/Pro on Astro, not a general component-library or framework-agnostic UI tool, and it won't run less-common CLI operations like update or remove directly - those come back as guidance commands to run yourself.

Inputs and outputs

Input is a project-initialization request, a component or Pro block name to install, a search query with optional plan/category/limit/offset filters, or a documentation topic. Output is a validated, package-manager-correct command to run, live documentation content, or grouped search results across standard components and Pro blocks.

Integrations

Configured via each client's own MCP config - ~/.codex/config.toml for Codex, .mcp.json for Claude Code, .cursor/mcp.json for Cursor - all launching the server the same way:

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

Who it's for

Astro developers using Starwind UI or Starwind Pro who want their AI coding assistant to generate correct, package-manager-aware install commands and search or pull documentation automatically, without memorizing the Starwind CLI or manually checking the docs site.

Source README

Starwind UI MCP Server

badge badge follow

A TypeScript implementation of a Model Context Protocol (MCP) server for Starwind UI and Starwind Pro, providing tools to help developers work with Starwind UI and Pro components when leveraging AI tools like Codex, Claude Code, and Cursor.

Quick Start

Select your MCP client and add the Starwind UI server configuration. For the full maintained setup guide, see the Starwind UI MCP Server docs.

Codex:

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

Claude Code:

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

Cursor:

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

After adding the configuration, restart your editor or reload its MCP servers.

Detailed client instructions:

Available Tools

Tool Name Description
starwind_init Generates init commands for new Starwind UI projects, Pro by default
starwind_docs Fetches live documentation from starwind.dev with caching and topic filtering
starwind_add Generates validated install commands with package manager detection
starwind_search Searches Starwind UI components and Starwind Pro blocks with CLI-shaped filters

The MCP server intentionally keeps a compact, intent-based tool surface. It does not expose standalone wrappers for every Starwind CLI command, such as setup, update, or remove.

Starwind Pro Setup

Use starwind_init for new projects. For new projects that need Pro blocks, the generated command uses:

starwind@latest init --defaults --pro

For an already initialized Starwind UI project, use the Pro setup guidance returned by starwind_add or starwind_search:

starwind@latest setup --yes

starwind_search returns grouped standard component and Pro block results, with Pro block filters for plan, category, limit, and offset.

What is MCP?

The Model Context Protocol (MCP) is a protocol for extending AI capabilities through local servers. This implementation provides Starwind UI-specific tools to enhance AI assistant capabilities when working with Starwind UI. For more information about MCP itself, please visit the official documentation.

Features

  • Live Documentation - Fetches up-to-date docs from starwind.dev/llms.txt
  • Component Validation - Validates components against live component metadata with a refreshed fallback list
  • Starwind Search - Search and discover standard components and Pro blocks by query, category, plan, limit, or offset
  • Compact Tool Surface - Keeps uncommon or destructive CLI operations as command guidance instead of standalone MCP tools
  • Package Manager Detection - Auto-detects npm, yarn, or pnpm
  • Caching & Rate Limiting - Efficient caching with sensible rate limits
  • TypeScript - Built with TypeScript for type safety

Security

MseeP.ai Security Assessment Badge

FAQ

Common questions

Discussion

Questions & comments ยท 0

Sign In Sign in to leave a comment.