time vs mcp-api-gateway
并排对比,帮你在这两个 MCP server 之间做选择。
time by modelcontextprotocol | mcp-api-gateway by rflpazini | |
|---|---|---|
| Stars | ★ 85,748 | ★ 40 |
| 30天用量 | — | — |
| 综合分 | 77 | 45 |
| 官方 | ✓ | — |
| 分类 | 效率工具开发者工具沟通协作 | 开发者工具api-integrationAI / LLM 工具 |
| 实现语言 | TypeScript | JavaScript |
| 最近提交 | 本月 | 2 个月前 |
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
mcp-api-gateway · 概述
通用MCP服务器,可将任何带Swagger/OpenAPI规范的API通过Docker转换为Claude Desktop工具。
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
mcp-api-gateway · 使用场景
- 将企业API集成到Claude Desktop,无需自定义工具开发
- 使Claude能够在单个会话中与多个API服务交互
- 通过Claude中的自然语言提示自动化API交互
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-api-gateway · 安装
使用Docker MCP工具包(推荐)
- 安装Docker Desktop
- 从Docker MCP工具包获取MCP服务器
- 添加到你的
claude_desktop_config.json中:
{
"mcpServers": {
"my-api": {
"command": "docker",
"args": [
"run", "--rm", "-i", "--pull", "always",
"-e", "API_1_NAME=my-api",
"-e", "API_1_SWAGGER_URL=https://api.example.com/swagger.json",
"-e", "API_1_BASE_URL=https://api.example.com/v1",
"-e", "API_1_HEADER_AUTHORIZATION=Bearer YOUR_TOKEN",
"rflpazini/mcp-api-gateway:latest"
]
}
}
}使用npx
API_1_NAME=my-api \
API_1_SWAGGER_URL=https://api.example.com/swagger.json \
API_1_BASE_URL=https://api.example.com/v1 \
npx mcp-api-gateway