MCP Tool
Click on "Deploy 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 Tool generate 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: discord-mcp
快速开始
# 全局安装
npm install -g mcp-tool
# 或者使用 yarn
yarn global add mcp-tool项目结构
mcp-tool/
├── src/
│ ├── tools/ # MCP 工具目录
│ │ └── san/ # San 组件生成工具
│ │ ├── config/ # 配置文件
│ │ └── index.ts # 工具实现
│ └── index.ts # 服务器入口文件
├── package.json
└── tsconfig.json配置 Cursor
在 Cursor 配置中添加以下配置:
{
"mcpServers": {
"mcp-tool": {
"command": "node",
"args": ["/[你的路径]/mcp-tool/dist/index.js"]
}
}
}San 工具使用
工具支持以下参数:
{
componentName: string; // 组件名称(使用 PascalCase 命名规范)
description?: string; // 组件的功能描述(可选)
features?: string; // 需要包含的特性,支持:
// - template: 模板
// - style: 样式
// - computed: 计算属性
// - lifecycle: 生命周期
// - typescript: TypeScript支持
selectedComponents?: string[]; // 选择使用的 Cosmic 组件列表
}使用示例
查询可用组件:
// 不传入 componentName 时,返回所有可用的 Cosmic 组件列表
{
"componentName": ""
}生成组件:
{
"componentName": "MyComponent",
"description": "这是一个示例组件",
"features": "template,style,typescript"
}开发指南
克隆项目
git clone [项目地址]
cd mcp-tool安装依赖
yarn install开发模式
yarn watch构建项目
yarn build注意事项
生成的组件默认包含 Button 组件作为示例
组件名称必须使用 PascalCase 命名规范
样式文件使用 Less 预处理器
License
MIT
Available Tools
1 toolsanD
Inputs: componentName (required), features, description, selectedComponents.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool named 'san', there is no possibility of ambiguity or overlap with other tools. The single tool stands alone without any confusion risk.
A single tool inherently has perfect naming consistency, as there are no other tools to compare against. The name 'san' follows no pattern but does not conflict with anything else.
One tool is generally too few for most server purposes, indicating a thin or incomplete surface. Without a description, it's unclear if this minimal set is justified, but it likely represents an extreme mismatch for typical MCP server functionality.
With only one tool and no description provided, it is impossible to assess coverage of any domain. The surface is severely incomplete, as no operations or lifecycle can be inferred, making it highly likely to cause agent failures.
Maintenance
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.5-
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol (MCP) server for the Discord integration with MCP-compatible applications like Claude Desktop.622MIT
- FlicenseCqualityDmaintenanceA server built with mcp-framework that allows users to extend Claude's capabilities by adding custom tools that can be used through the Claude Desktop client.3-
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows integration with Claude Desktop by creating and managing custom tools that can be executed through the MCP framework.-