MCP Catalogs
首页

time vs mcp-gateway

并排对比,帮你在这两个 MCP server 之间做选择。

time
by modelcontextprotocol
mcp-gateway
by theognis1002
Stars★ 85,748★ 41
30天用量
综合分7747
官方
分类
效率工具开发者工具沟通协作
运维基建安全开发者工具
实现语言TypeScriptGo
最近提交本月3 个月前

time · 概述

功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。

mcp-gateway · 概述

生产就绪的 MCP 服务器 API 网关,提供认证、日志、限流和多协议支持。

time · 使用场景

  • 协助安排跨时区的国际会议
  • 为基于位置的查询提供实时时间信息
  • 为旅行计划和行程安排提供时间转换

mcp-gateway · 使用场景

  • 企业部署 MCP 服务器,具有集中式安全和监控功能
  • 将现有 REST API 集成到 MCP 生态系统中
  • 创建具有自定义工具和资源的虚拟 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 安装(推荐)

# 克隆仓库
git clone https://github.com/mcp-gateway/mcp-gateway.git
cd mcp-gateway

# 复制环境变量文件
cp .env.example .env

# 使用 Docker Compose 运行
docker compose up --build

启动网关后,通过 http://localhost:3000 访问管理界面,凭据为 admin@admin.com / qwerty123

Claude Desktop 集成

添加到您的 Claude Desktop config.json:

{
  "mcpServers": {
    "mcp-gateway": {
      "command": "docker",
      "args": ["run", "--rm", "-p", "8080:8080", "mcp-gateway/mcp-gateway:latest"]
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。