time vs mcp-gateway
并排对比,帮你在这两个 MCP server 之间做选择。
time by modelcontextprotocol | mcp-gateway by unrelated-ai | |
|---|---|---|
| Stars | ★ 85,748 | ★ 19 |
| 30天用量 | — | — |
| 综合分 | 77 | 43 |
| 官方 | ✓ | — |
| 分类 | 效率工具开发者工具沟通协作 | 开发者工具运维基建AI / LLM 工具 |
| 实现语言 | TypeScript | Rust |
| 最近提交 | 本月 | 1 个月前 |
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
mcp-gateway · 概述
一个网关解决方案,可将任何HTTP端点转换为MCP服务器,提供多租户隔离和集中管理功能。
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
mcp-gateway · 使用场景
- 将现有REST API转换为AI助手的MCP工具
- 聚合多个后端服务到统一的工具接口
- 创建具有不同访问级别的租户特定MCP端点
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"]
}
}
}mcp-gateway · 安装
安装
快速开始 (Docker)
# 下载compose文件
curl -fsSL -o mcp-gateway-compose.yml \
https://raw.githubusercontent.com/unrelated-ai/mcp-gateway/main/docker-compose.quickstart.yml
# 启动堆栈
GATEWAY_VERSION=0.12.3 UI_VERSION=0.8.2 \
docker compose -f mcp-gateway-compose.yml up -dClaude Desktop配置
添加到Claude Desktop config.json:
{
"mcpServers": {
"gateway-server": {
"command": "docker",
"args": ["run", "--rm", "ghcr.io/unrelated-ai/mcp-gateway:latest"],
"env": {
"PROFILE_ID": "your-profile-id"
}
}
}
}