MCP Catalogs
首页

time vs apitomcp

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

time
by modelcontextprotocol
apitomcp
by wrannaman
Stars★ 85,748★ 0
30天用量
综合分7727
官方
分类
效率工具开发者工具沟通协作
开发者工具api-integration其它
实现语言TypeScriptJavaScript
最近提交本月10 个月前

time · 概述

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

apitomcp · 概述

将任何 API 转换为使用 Swagger 文档的 MCP 服务器。

time · 使用场景

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

apitomcp · 使用场景

  • 将现有的 REST API 与支持 MCP 的 AI 助理集成
  • 将传统的 API 端点转换为 MCP 兼容的工具
  • 从第三方 API 创建 MCP 服务器,无需修改原始 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"]
    }
  }
}

apitomcp · 安装

安装步骤

  1. 克隆仓库:
git clone https://github.com/wrannaman/apitomcp.git
cd apitomcp
  1. 安装依赖:
npm install
  1. 运行服务器:
npm run dev
  1. 配置 Claude Desktop:
{
  "mcpServers": {
    "api2mcp": {
      "url": "http://localhost:3000/mcp",
      "headers": {
        "Authorization": "Bearer mcp_key_claude_desktop"
      }
    }
  }
}
  1. 或使用 Docker:
docker build -t api2mcp .
docker run -p 3000:3000 api2mcp
对比内容由 README + GitHub 公开数据自动生成,定期更新。