git vs time
并排对比,帮你在这两个 MCP server 之间做选择。
git by modelcontextprotocol | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 85,748 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 75 | 77 |
| 官方 | ✓ | ✓ |
| 分类 | 开发者工具本地文件系统效率工具 | 效率工具开发者工具沟通协作 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 本月 |
git · 概述
功能全面的 Git 操作 MCP 服务器,支持状态查看、差异比较、提交和分支管理。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
git · 使用场景
- AI 驱动的 Git 仓库分析和管理
- 通过差异检查进行自动化代码审查
- 分支管理和工作流程自动化
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
git · 安装
使用 uv(推荐)
当使用 [uv](https://docs.astral.sh/uv/) 时,无需特定安装。使用 [uvx](https://docs.astral.sh/uv/guides/tools/) 直接运行服务器:
uvx mcp-server-git --repository path/to/git/repo使用 PIP
或者通过 pip 安装 mcp-server-git:
pip install mcp-server-git安装后,按如下方式运行:
python -m mcp_server_gitClaude Desktop 配置
添加到您的 claude_desktop_config.json:
"mcpServers": {
"git": {
"command": "uvx",
"args": ["mcp-server-git", "--repository", "path/to/git/repo"]
}
}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"]
}
}
}