Git MCP Server
by abhishekkumar2021io.github.Abhishekkumar2021/gitv0.2.0
MCP server for local Git repositories — status, log, diff, file history, branches, and gated stage/commit — pure-JS (isomorphic-git), no git binary, from any MCP client.
context tax
pending
security
pending
cold start
pending
freshness
Slowing4mo ago
Our reading of Git, from the data
Git is a version control MCP server from abhishekkumar2021, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is slowing: the last public signal was 4 months ago (2026-07-04). For comparison, 56% of version control servers are active or maintained.
With 1 GitHub stars it ranks #275 of 725 version control servers we index.
It runs locally on your machine over stdio.
Install Git MCP server
Install in Claude Code
claude mcp add git-abhishekkumar2021 -e GIT_ROOTS='<git-roots>' -- npx -y @abhishekmcp/gitInstall in Cursor
{
"mcpServers": {
"git-abhishekkumar2021": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git"
],
"env": {
"GIT_ROOTS": "<git-roots>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"git-abhishekkumar2021": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git"
],
"env": {
"GIT_ROOTS": "<git-roots>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"git-abhishekkumar2021": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git"
],
"env": {
"GIT_ROOTS": "<git-roots>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"git-abhishekkumar2021": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/git"
],
"env": {
"GIT_ROOTS": "<git-roots>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GIT_ROOTS | yes | — | Allowed repo root directories (comma-separated). Required — the server refuses to start without it. |
| GIT_WRITABLE | — | — | Set to 1 or true to enable local write tools (stage/commit/branch/checkout). |
Freshness
Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-04 · 4mo ago · GitHub
Latest release
2026-07-04 · 4mo ago · GitHub · http-v0.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-06-28 · 4mo ago · official registry · v0.2.0
How it compares in Version Control
Against the most-starred version control servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Git (this) | 1 | — | not measured | Slowing | local |
| Git | 91,356 | — | not measured | Active | local |
| PostHog | 40,338 | — | not measured | Active | local + hosted |
| GitHub | 33,740 | — | not measured | Active | local + hosted |
| GitDiagram | 18,313 | 3 | 864 | Active | hosted |
| Skill Seekers | 15,180 | — | not measured | Active | — |
FAQ
›How do I install the Git MCP server in Claude Code?
Run: claude mcp add git-abhishekkumar2021 -e GIT_ROOTS='<git-roots>' -- npx -y @abhishekmcp/git. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Git require an API key?
Yes. It expects GIT_ROOTS.
›Can I use Git as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Git in the official MCP registry?
Yes, as io.github.Abhishekkumar2021/git.
Sources and method
- Official MCP Registry entry
- updated 2026-06-28
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Spot an error? Request a correction or claim the listing.
Alternatives to Git
Other version control MCP servers.