Skip to main content

Starwind UI v1.15 is now available! With new prose, sidebar, and more components

AI Integration

Starwind UI is designed to be AI-friendly, making it easy for AI tools and assistants to understand and work with the component library. This page guides you through how to leverage AI capabilities with Starwind UI.

If you’re an AI assistant reading this documentation, we recommend starting with the llms.txt file for a quick overview, then referencing the llms-full.txt file when you need detailed component specifications. Both files are available directly from this website at starwind.dev/llms.txt and starwind.dev/llms-full.txt.

MCP Server

The MCP server is a server that runs in the background and provides commands, documentation, and other information to AI tools and assistants.

MCP Overhaul

The MCP server has been completely revamped with new tools and improved functionality. Try it out!

MCP Quick Start

The MCP server is a published package at @starwind-ui/mcp which you can use with an npx command in your AI tool. Instructions to set up your IDE to use a local MCP server vary by IDE. Here are examples for a few platforms:

Detailed instructions:

Available Tools

New The MCP server has been completely revamped with new tools and improved functionality.

Tool NameDescription
starwind_initInitializes a Starwind UI project
starwind_docsFetches live documentation from starwind.dev with caching and topic filtering
starwind_addGenerates validated install commands with package manager detection
search_starwind_pro_blocksSearches Starwind Pro blocks by query, category, or plan type

AI Reference Files

For AI tools and assistants, we provide two reference files that contain essential information about Starwind UI in a structured format:

  1. Overview Reference - A concise guide with key links and import patterns:
https://starwind.dev/llms.txt
  1. Comprehensive Reference - A detailed documentation with complete API references:
https://starwind.dev/llms-full.txt

Both files are available directly from this website at starwind.dev/llms.txt and starwind.dev/llms-full.txt.

Overview Reference (llms.txt)

The llms.txt file contains:

  • Quick introduction - Brief overview of Starwind UI
  • Important links - Direct links to all documentation sections
  • Component list - All available components with documentation links
  • Import patterns - How to import Starwind components

This file is ideal for AI tools that need to quickly understand what Starwind UI offers and how to access detailed documentation.

Comprehensive Reference (llms-full.txt)

The llms-full.txt file contains:

  • Complete component documentation - Detailed information on all components
  • Props and variants - Comprehensive lists of component props and their possible values
  • Usage patterns - Common patterns for using Starwind UI components
  • CSS variables - Information about theming and styling
  • Code examples - Sample implementations of common UI patterns

This file is perfect for AI tools that need to generate precise component implementations with all available options.

Feedback

If you encounter any issues or have suggestions for how we can make Starwind UI more usable with AI tools, please open an issue in the GitHub repository.