MCP Catalogs
首页

mcp-client-gen vs time

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

mcp-client-gen
by kriasoft
time
by modelcontextprotocol
Stars★ 16★ 85,748
30天用量
综合分4177
官方
分类
开发者工具AI / LLM 工具其它
效率工具开发者工具沟通协作
实现语言TypeScriptTypeScript
最近提交4 个月前本月

mcp-client-gen · 概述

用于为任何 MCP 服务器生成类型安全 TypeScript 客户端的工具,支持 OAuth 2.1。

time · 概述

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

mcp-client-gen · 使用场景

  • 将 MCP 服务集成到 TypeScript 应用程序中,具有完整类型安全
  • 快速为新服务构建 MCP 客户端实现原型
  • 构建需要与多个 MCP 服务器一致交互的应用程序

time · 使用场景

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

mcp-client-gen · 安装

# 全局安装
npm install -g mcp-client-gen
# 或
bun add -g mcp-client-gen

# 从 URL 生成客户端
npx mcp-client-gen https://mcp.notion.com/mcp -o notion.ts

# Claude Desktop 集成
# 添加到 claude_desktop_config.json:
"mcpServers": {
  "mcpClientGen": {
    "command": "npx",
    "args": ["mcp-client-gen"]
  }
}

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"]
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。