mcp-git
v0.1.1Read-only Git inspection for AI agents — log, show, diff, status, blame, grep.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
git_log
Recent commits (hash, author, date, subject). Optional path filter.
| Parameter | Type | Description |
|---|---|---|
limit | number | |
path | string |
git_show
Show a commit/ref with stat + message.
| Parameter | Type | Description |
|---|---|---|
ref * | string |
git_diff
Diff between refs and/or a path (working tree if none).
| Parameter | Type | Description |
|---|---|---|
a | string | |
b | string | |
path | string |
git_status
Short status + branch.
git_blame
Blame a file (optionally at a ref).
| Parameter | Type | Description |
|---|---|---|
path * | string | |
ref | string |
git_grep
Search tracked files for a pattern (optionally at a ref).
| Parameter | Type | Description |
|---|---|---|
pattern * | string | |
ref | string |