MCP Catalogs
首页

time vs mcp-server-python-template

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

time
by modelcontextprotocol
mcp-server-python-template
by sontallive
Stars★ 85,748★ 17
30天用量
综合分7737
官方
分类
效率工具开发者工具沟通协作
开发者工具AI / LLM 工具其它
实现语言TypeScriptPython
最近提交本月14 个月前

time · 概述

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

mcp-server-python-template · 概述

Python MCP 服务器开发模板,提供清晰的文档和示例实现。

time · 使用场景

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

mcp-server-python-template · 使用场景

  • 快速原型设计新的 Python MCP 服务器
  • 通过示例学习 MCP 实现模式
  • 构建与外部服务集成的自定义 AI 工具

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-server-python-template · 安装

安装

  1. 克隆此仓库:
git clone https://github.com/sontallive/mcp-server-python-template.git
cd mcp-server-python-template
  1. 创建虚拟环境并安装依赖:
python -m venv .venv
source .venv/bin/activate  # Windows 上使用: .venv\Scripts\activate
pip install -e .

Claude Desktop 配置

在您的 Claude Desktop 配置中添加以下内容:

{
  "mcpServers": {
    "mcp-python-template": {
      "command": "python",
      "args": ["server.py"],
      "env": {}
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。