技能潮 SkillTide 提交收录
官方说明3 个来源MCP 服务3 天前
rog0x/mcp-git-tools

rog0x/mcp-git-tools

📇 🏠 - Git log analysis, blame, diff viewer, branch management, and repository statistics
在 GitHub 查看 ↗直链 · 无中转页
来源明细
收录自 rohitg00/awesome-devops-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-14 · 最近见到 2026-10-16 · 共见到 4 次 · 被 3 个来源列出
评分构成
综合分 303 · 3 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-10-14;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

mcp-git-tools

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Git repository analysis tools for AI agents, served over MCP (Model Context Protocol). Analyzes local repositories using native git commands — no GitHub API required.
Tools
| Tool | Description |
|------|-------------|
| git_log | Get commit history with filtering by author, date range, and file path |
| git_diff | Show diff between commits, branches, or tags with change summaries |
| git_blame | Show who last modified each line of a file with commit info |
| git_stats | Repository statistics: commits, contributors, activity over time, most changed files |
| git_branch | List branches with last commit info, ahead/behind counts, merged/unmerged status |
Prerequisites
- **Node.js** >= 18
- **Git** installed and available in PATH
Setup
Configuration
Add to your MCP client configuration:
Tool Details
git_log
Retrieve recent commit history with optional filters.
**Parameters:**
- repoPath (required) — Absolute path to the Git repository
- count — Number of commits to return (default: 20)
- author — Filter by author name or email
- since / until — Date range filters
- path — Filter to commits touching a specific file or directory
git_diff
Compare two refs and get a structured summary of changes.
**Parameters:**
- repoPath (required) — Absolute path to the Git repository
- from — Start ref (default: HEAD~1)
- to — End ref (default: HEAD)
- path — Limit diff to a specific file or directory
- summaryOnly — Return only stats without full diff text
git_blame
See line-by-line authorship of a file.
**Parameters:**
- repoPath (required) — Absolute path to the Git repository
- filePath (required) — File path relative to repo root
- startLine / endLine — Blame a specific line range
- ref — Blame at a specific commit
git_stats
Get a high-level overview of repository activity.
**Parameters:**
- repoPath (required) — Absolute path to the Git repository
- topAuthors — Number of top contributors to list (default: 10)
- topFiles — Number of most-changed files to list (default: 10)
git_branch
List and analyze branches.
来源
awesome · https://github.com/rog0x/mcp-git-tools
按领域浏览
MCP 服务
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引