MCPWrapper vs time
并排对比,帮你在这两个 MCP server 之间做选择。
MCPWrapper by jm12138 | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 1 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 31 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具其它 | 效率工具开发者工具沟通协作 |
| 实现语言 | Python | TypeScript |
| 最近提交 | 11 个月前 | 本月 |
MCPWrapper · 概述
MCPWrapper 是一个无需修改代码即可将任何 Python 包封装为 MCP 服务器的工具。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
MCPWrapper · 使用场景
- 无需重构代码即可快速将现有 Python 库暴露为 MCP 服务
- 通过包装实用模块为内部工具创建 MCP 服务器
- 将独立的 Python 包转换为与 MCP 兼容的客户端工作
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
MCPWrapper · 安装
pip install git+https://github.com/jm12138/MCPWrapper要在 Claude Desktop 中使用,请添加到 claude_desktop_config.json:
{
"mcpServers": {
"json-mcp": {
"command": "python",
"args": ["-m", "mcpwrapper", "--server_name", "json_mcp_server", "--module_name", "json", "--transport", "sse", "--listen", "0.0.0.0", "--port", "8000"]
}
}
}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"]
}
}
}