template-mcp-server vs time
并排对比,帮你在这两个 MCP server 之间做选择。
template-mcp-server by mcpdotdirect | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 74 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 45 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具效率工具其它 | 效率工具开发者工具沟通协作 |
| 实现语言 | JavaScript | TypeScript |
| 最近提交 | 6 个月前 | 本月 |
template-mcp-server · 概述
使用 FastMCP 构建 MCP 服务器的模板,支持 stdio 和 HTTP 传输方式。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
template-mcp-server · 使用场景
- 以最少的设置快速启动新的 MCP 服务器项目
- 使用 HTTP 传输创建团队共享的 MCP 工具
- 使用 stdio 传输开发个人生产力工具
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
template-mcp-server · 安装
安装
使用 npx 或 npm 创建新的 MCP 服务器项目:
# 使用 npx
npx @mcpdotdirect/create-mcp-server
# 或使用 npm
npm init @mcpdotdirect/mcp-server创建项目后,安装依赖:
npm installClaude Desktop 配置
添加到您的 Claude Desktop config.json:
{
"mcpServers": {
"my-mcp-server": {
"command": "npm",
"args": ["start"]
}
}
}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"]
}
}
}