starwind-ui-mcp
Starwind UI MCP Server is a TypeScript-based Model Context Protocol (MCP) server that provides tools and features to assist developers in working with Starwind UI components. It offers a modular architecture for tool integration and enhances AI capabilities by providing access to Starwind UI-specific resources.
Starwind UI MCP Server
A TypeScript implementation of a Model Context Protocol (MCP) server for Starwind UI, providing tools to help developers work with Starwind UI components.
Features
- Tool-based Architecture - Modular design for easy addition of new tools
- Starwind UI Documentation Tool - Access documentation links for Starwind UI components
- Package Manager Detection - Detect and use the appropriate package manager (npm, yarn, pnpm)
- LLM Data Fetcher - Retrieve Starwind UI information for LLMs with caching and rate limiting
- TypeScript Implementation - Built with TypeScript for better type safety and developer experience
- Standard I/O Transport - Uses stdio for communication with AI assistants
Available Tools
init_project
- Initializes a new Starwind UI projectinstall_component
- Generates installation commands for Starwind UI componentsupdate_component
- Generates update commands for Starwind UI componentsget_documentation
- Returns documentation links for Starwind UI components and guidesfetch_llm_data
- Fetches LLM data from starwind.dev (rate limited, with caching)get_package_manager
- Detects and returns the current package manager information
Development
This project is set up to use PNPM for package manager for development purposes. If you are not using pnpm, you will need to update the package.json file with the appropriate package manager commands you need.
Adding New Tools
- Create a new tool file in the
src/tools/
directory - Register the tool in
src/tools/index.ts
- Enable the tool in
src/config/settings.ts
- Rebuild the server with
pnpm build
- Restart the server with
pnpm start
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.