AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Dev Tooling/
git-mcp-server
git-mcp-server logo

git-mcp-server

Active·★ 242·Apache-2.0·Updated 2026-09-26

A Git MCP server for AI agents, offering 28 tools, 1 resource, and 1 prompt for comprehensive Git operations. It supports STDIO and Streamable HTTP transports, runs on both Bun and Node.js, and provides features like declarative tools, error handling, authentication, and pluggable storage. The server is built with TypeScript and uses a provider-based architecture for future extensibility.

git-mcp-server sits in the Dev Tooling category, so it is usually better judged by workflow fit, deployment style, and team needs than by isolated features alone. Based on the available metadata, it leans most clearly toward 28 git operations organized into seven categories (repository management, staging & commits, history & inspection, analysis, branching & merging, remote operations, advanced workflows). A representative use case is AI agents performing automated Git operations like commit, branch, merge, and push. The listed license is Apache-2.0. GitHub stars are currently 242. Relevant tags include ai, enterprise-ready.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool.

#ai#enterprise-ready#git#git-server#git-tools#llm#mcp#mcp-server
$ Install
$ npx @cyanheads/git-mcp-server@latest
↗ Visit site★ GitHub
01

Features

0128 git operations organized into seven categories (repository management, staging & commits, history & inspection, analysis, branching & merging, remote operations, advanced workflows)
02Declarative tools: define capabilities in single, self-contained files with automatic registration, validation, and execution
03Pluggable storage backends: in-memory, filesystem, Supabase, Cloudflare KV/R2
04Observability: structured logging (Pino) and optional OpenTelemetry for traces and metrics
05Cross-runtime: auto-detects Bun or Node.js and uses the appropriate process spawning method
02

Why choose it

+28 git operations organized into seven categories (repository management, staging & commits, history & inspection, analysis, branching & merging, remote operations, advanced workflows)
+Declarative tools: define capabilities in single, self-contained files with automatic registration, validation, and execution
+AI agents performing automated Git operations like commit, branch, merge, and push
+Comes with a clearly listed Apache-2.0 license.
03

Trade-offs

!Compatibility coverage appears narrow, so your target environment should be validated before adoption.
04

Compatibility

Node.js
Node.js >=20.0.0
Verified via docs
Bun
Bun >=1.2.0
Verified via docs
05

Quick start

1
$ npx @cyanheads/git-mcp-server@latest
06

Use cases

↳AI agents performing automated Git operations like commit, branch, merge, and push
↳Integrating Git capabilities into MCP-compatible IDEs and chat interfaces
↳Managing multi-repo workflows with session-specific working directory context
07

Alternatives

⚡Top VS:
VSai-mate★42→VSstudio★412→VSapple-books-mcp★62→VSgnosis-mcp★29→
ai-mate logo
ai-mate★ 42
AI development assistant MCP server for Symfony projects
VSCompare→
studio logo
studio★ 412
Open-source control plane for your AI agents. Connect tools, hire agents, track every token and dollar
VSCompare→
apple-books-mcp logo
apple-books-mcp★ 62
Apple Books MCP Server
VSCompare→
gnosis-mcp logo
gnosis-mcp★ 29
Zero-config MCP server for searchable documentation (SQLite default, PostgreSQL optional)
VSCompare→
mcp-logic logo
mcp-logic★ 47
Fully functional AI Logic Calculator utilizing Prover9/Mace4 via Python based Model Context Protocol (MCP-Server)- tool for Windows, Linux, Claude App etc
VSCompare→
testrail-mcp-server logo
testrail-mcp-server★ 44
AI-native MCP server connecting Claude, Cursor, Windsurf, and other AI assistants to TestRail — manage test cases, runs, and results through natural-language conversation, with typed schemas built for LLMs.
VSCompare→
IDAssistMCP logo
IDAssistMCP★ 52
Standalone MCP server plugin for IDA Pro.
VSCompare→
tgcli logo
tgcli★ 44
Telegram user console client and archiver
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases07Alternatives
cyanheads /
git-mcp-server
↗

An MCP (Model Context Protocol) server enabling LLMs and AI agents to interact with Git repositories. Provides tools for comprehensive Git operations including clone, commit, branch, diff, log, status, push, pull, merge, rebase, worktree, tag management, and more, via the MCP standard. STDIO & HTTP.

242Apache-2.0
Last commit3w ago
StatusActive
CategoryDev Tooling
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.