
Git MCP Server
by cyanheadsio.github.cyanheads/git-mcp-serverv2.15.3
Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.
context tax
pending
security
100/100
cold start
pending
freshness
Maintained3mo ago
Our reading of Git, from the data
Git is a version control MCP server from cyanheads, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is maintained: the last public signal was 3 months ago (2026-08-24). For comparison, 65% of version control servers are active or maintained.
With 242 GitHub stars it ranks #30 of 725 version control servers we index.
It runs either locally over stdio or as a hosted endpoint.
Install Git MCP server
Install in Claude Code
claude mcp add git-cyanheads -- npx -y @cyanheads/git-mcp-server run start:stdioInstall in Cursor
{
"mcpServers": {
"git-cyanheads": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:stdio"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"git-cyanheads": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:stdio"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"git-cyanheads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:stdio"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"git-cyanheads": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:stdio"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @cyanheads/git-mcp-server
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MCP_LOG_LEVEL | — | — | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
| GIT_BASE_DIR | — | — | Optional absolute path to restrict all git operations to a specific directory tree. Provides security sandboxing for multi-tenant or shared environments. |
| MCP_HTTP_HOST | — | — | The hostname for the HTTP server. |
| MCP_HTTP_PORT | — | — | The port to run the HTTP server on. |
| MCP_HTTP_ENDPOINT_PATH | — | — | The endpoint path for the MCP server. |
| MCP_AUTH_MODE | — | — | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
Security signals
100/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-24 · 3mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-08-24 · 3mo ago · official registry · v2.15.3
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) | 242 | — | not measured | Maintained | local + hosted |
| Git | 91,356 | 12 | 1,139 | Active | local |
| PostHog | 40,338 | — | not measured | Active | local + hosted |
| GitHub | 33,740 | 46 | 11,509 | 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-cyanheads -- npx -y @cyanheads/git-mcp-server run start:stdio. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Git require an API key?
No required environment variables are declared in its published metadata.
›Can I use Git as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Git in the official MCP registry?
Yes, as io.github.cyanheads/git-mcp-server.
Sources and method
- Official MCP Registry entry
- updated 2026-08-24
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- 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. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Git
Other version control MCP servers.