MCP Catalogs
首页

time vs mcp-python-interpreter

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

time
by modelcontextprotocol
mcp-python-interpreter
by yzfly
Stars★ 85,748★ 99
30天用量
综合分7744
官方
分类
效率工具开发者工具沟通协作
开发者工具AI / LLM 工具本地文件系统
实现语言TypeScriptPython
最近提交本月7 个月前

time · 概述

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

mcp-python-interpreter · 概述

MCP Python 解释器服务器,让 LLM 能够运行 Python 代码、管理环境和处理文件,具有适当的安全隔离。

time · 使用场景

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

mcp-python-interpreter · 使用场景

  • AI 辅助 Python 开发,包括代码执行和调试
  • 在安全沙箱环境中执行文件操作和内容生成
  • 通过 LLM 交互管理 Python 环境和软件包

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

使用 pip 安装:

pip install mcp-python-interpreter

或使用 uv:

uv install mcp-python-interpreter

Claude Desktop 配置

将以下内容添加到您的 claude_desktop_config.json

{
  "mcpServers": {
    "mcp-python-interpreter": {
        "command": "uvx",
        "args": [
            "mcp-python-interpreter",
            "--dir",
            "/path/to/your/work/dir",
            "--python-path",
            "/path/to/your/python"
        ],
        "env": {
            "MCP_ALLOW_SYSTEM_ACCESS": 0
        },
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。