Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Toolgenerate a login form component with template, style, and typescript features"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-tool
基于 @modelcontextprotocol/sdk 构建的 San 组件生成工具。
功能特点
快速生成 San 组件基础结构
支持 TypeScript 类型定义
自动集成 Cosmic UI 组件库
提供组件样式文件生成
Related MCP server: Calculator MCP Server
快速开始
项目结构
配置 Cursor
在 Cursor 配置中添加以下配置:
San 工具使用
工具支持以下参数:
使用示例
查询可用组件:
生成组件:
开发指南
克隆项目
安装依赖
开发模式
构建项目
注意事项
生成的组件默认包含 Button 组件作为示例
组件名称必须使用 PascalCase 命名规范
样式文件使用 Less 预处理器
License
MIT