git-mcp-serverMCP Server37/100 via “session-scoped working directory management with context isolation”
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 session-scoped working directory isolation at the MCP server level rather than relying on client-side state management, ensuring Git operations are always executed in the correct context even across multiple tool calls and transport reconnections.
vs others: More robust than stateless Git tool wrappers because it maintains context across multiple operations, reducing the need for clients to track and pass repository paths with every tool call, and preventing accidental operations in wrong repositories.