by starwind-ui
starwind-ui-mcp is a local Model Context Protocol (MCP) server implementation for Starwind UI, designed to enhance AI tools like Cursor, Windsurf, and Claude by providing specific functionalities for working with Starwind UI components.
starwind-ui-mcp is a TypeScript-based local server that implements the Model Context Protocol (MCP) specifically for Starwind UI. It acts as a bridge, allowing AI tools to better understand and interact with Starwind UI components by providing relevant commands, documentation, and data.
starwind-ui-mcp can be used by configuring your AI development environment (e.g., Windsurf, Cursor, Claude Code) to connect to the local MCP server. This typically involves adding a JSON configuration to your IDE settings that specifies the command to run the npx @starwind-ui/mcp
package. For automated installation with Claude Desktop, you can use Smithery via npx -y @smithery/cli install @starwind-ui/starwind-ui-mcp --client claude
.
init_project
, install_component
, update_component
, get_documentation
, fetch_llm_data
, and get_package_manager
.Q: What is MCP? A: MCP stands for Model Context Protocol, which is a protocol designed to extend AI capabilities through local servers. starwind-ui-mcp is a specific implementation of this protocol for Starwind UI.
Q: How can I add new tools to the server?
A: To add new tools, you need to create a new tool file in the src/tools/
directory, register it in src/tools/index.ts
, enable it in src/config/settings.ts
, and then rebuild and restart the server.
Q: What package manager does starwind-ui-mcp use for development?
A: The project is set up to use PNPM for development purposes. If you use a different package manager, you may need to update the package.json
file accordingly.
A TypeScript implementation of a Model Context Protocol (MCP) server for Starwind UI, providing tools to help developers work with Starwind UI components when leveraging AI tools like Claude, Windsurf, Cursor, and more.
Instructions to set up your IDE to use a local MCP server vary by IDE. Here are examples for different platforms:
Windsurf:
{
"mcpServers": {
"starwind-ui": {
"command": "npx",
"args": ["-y", "@starwind-ui/mcp"],
"env": {}
}
}
}
Cursor:
{
"mcpServers": {
"starwind-ui": {
"command": "npx",
"args": ["-y", "@starwind-ui/mcp"],
"env": {}
}
}
}
Claude Code:
{
"mcpServers": {
"starwind-ui": {
"command": "npx",
"args": ["-y", "@starwind-ui/mcp"],
"env": {}
}
}
}
Detailed instructions:
To install Starwind UI MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @starwind-ui/starwind-ui-mcp --client claude
Tool Name | Description |
---|---|
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 (rate limited, with caching) |
get_package_manager |
Detects and returns the current package manager information |
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.
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.
src/
├── config/ # Server configuration
│ └── settings.ts # Configuration settings
├── tools/ # MCP tools implementations
│ ├── index.ts # Tool registration
│ └── *.ts # Individual tool implementations
├── utils/ # Utility functions
└── server.ts # Main MCP server implementation
To add your own tools to the server:
src/tools/
directorysrc/tools/index.ts
src/config/settings.ts
pnpm build
pnpm start
MIT License - See LICENSE file for details.
Please log in to share your review and rating for this MCP.