MCP Catalogs
首页

mcp-python-executor vs time

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

mcp-python-executor
by bsmi021
time
by modelcontextprotocol
Stars★ 3★ 85,748
30天用量
综合分3077
官方
分类
开发者工具AI / LLM 工具效率工具
效率工具开发者工具沟通协作
实现语言JavaScriptTypeScript
最近提交15 个月前本月

mcp-python-executor · 概述

一个执行Python代码和管理软件包的MCP服务器,具有安全限制功能。

time · 概述

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

mcp-python-executor · 使用场景

  • 在AI助手中使用pandas和numpy等Python库进行数据分析工作流
  • 在有安全限制的教育环境中教授Python编程
  • 在受限制的执行环境中原型化机器学习模型

time · 使用场景

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

mcp-python-executor · 安装

安装

  1. 克隆仓库:
git clone https://github.com/bsmi021/mcp-python-executor.git
cd mcp-python-executor
  1. 安装依赖:
npm install
  1. 构建项目:
npm run build
  1. 在Claude Desktop中配置:

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

{
  "mcpServers": {
    "mcp-python-executor": {
      "command": "node",
      "args": ["path/to/python-executor/build/index.js"],
      "env": {
        "PREINSTALLED_PACKAGES": "numpy pandas matplotlib scikit-learn",
        "MAX_MEMORY_MB": "512",
        "EXECUTION_TIMEOUT_MS": "30000",
        "MAX_CONCURRENT_EXECUTIONS": "5",
        "LOG_LEVEL": "info",
        "LOG_FORMAT": "json"
      }
    }
  }
}

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 公开数据自动生成,定期更新。