time vs mysql-mcp-server
并排对比,帮你在这两个 MCP server 之间做选择。
time by modelcontextprotocol | mysql-mcp-server by TickHaiJun | |
|---|---|---|
| Stars | ★ 85,748 | ★ 31 |
| 30天用量 | — | — |
| 综合分 | 77 | 41 |
| 官方 | ✓ | — |
| 分类 | 效率工具开发者工具沟通协作 | 数据库开发者工具AI / LLM 工具 |
| 实现语言 | TypeScript | JavaScript |
| 最近提交 | 本月 | 9 个月前 |
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
mysql-mcp-server · 概述
一个基于Node.js的MCP服务器,提供MySQL数据库连接与SQL查询功能。
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
mysql-mcp-server · 使用场景
- 需要查询或分析MySQL数据的AI助手
- 需要自动化管理工具的数据库管理员
- 需要SQL执行功能的数据分析工作流
time · 安装
安装选项
**使用 uv(推荐):**
uvx mcp-server-time**使用 PIP:**
pip install mcp-server-time
python -m mcp_server_time**为 Claude Desktop 配置:**
{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["mcp-server-time"]
}
}
}mysql-mcp-server · 安装
安装
- 克隆仓库
git clone https://github.com/TickHaiJun/mysql-mcp-server.git
cd mysql-mcp-server- 安装依赖
npm install- 配置数据库连接(创建.env文件)
DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASSWORD=yourpassword
DB_NAME=yourdatabase- 启动服务器
node src/index.jsClaude Desktop 配置
添加到Claude Desktop配置文件中:
{
"mcpServers": {
"mysql": {
"command": "node",
"args": ["/path/to/mysql-mcp-server/src/index.js"],
"env": {
"DB_HOST": "localhost",
"DB_PORT": "3306",
"DB_USER": "yourusername",
"DB_PASSWORD": "yourpassword",
"DB_NAME": "yourdatabase"
}
}
}
}