git-mcp-serverMCP Server37/100 via “structured error handling and recovery with domain-specific error codes”
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.
Unique: Implements 'Logic Throws, Handler Catches' pattern where business logic throws domain-specific errors that are translated to MCP error responses with error codes and recovery suggestions, enabling programmatic error handling rather than parsing error messages.
vs others: More robust than raw Git CLI error handling because it provides structured error codes and recovery suggestions, enabling LLMs to understand error causes and take corrective action programmatically rather than failing on error.