Git MCP Server
OfficialOfficial Git server providing tools to read, search and manipulate Git repositories — diffs, logs, branches and commits.
Git MCP Server is an MCP server for Version Control work. Official Git server providing tools to read, search and manipulate Git repositories — diffs, logs, branches and commits. Tags: git · 版本控制 · version control · 仓库 · repo · 官方.
What is Git MCP Server
Git MCP Server exposes Version Control capabilities to MCP clients. Official Git server providing tools to read, search and manipulate Git repositories — diffs, logs, branches and commits.
Install Git MCP Server in Cursor / Claude / Codex
Cursor Open Cursor MCP settings (or user/project mcp.json) and add the server config on this page. If only a start command exists, put command/args into a Cursor MCP entry.
Claude Desktop Add the config to claude_desktop_config.json and restart Claude Desktop.
Codex Add the same command/args or JSON snippet to Codex MCP config. File location depends on your Codex version.
Install & Run
Run the following command in your terminal to start the server:
uvx mcp-server-git --repository path/to/git/repoClaude Desktop Configuration
Add the following to Claude Desktop’s claude_desktop_config.json:
{"mcpServers":{"git":{"command":"uvx","args":["mcp-server-git","--repository","path/to/git/repo"]}}}Tags
Similar recommendations
GitHub MCP Server
GitHub 官方维护的远程 MCP 服务器,直接对接 GitHub 平台,支持读取仓库、Issue、PR、Actions 等。
GitLab MCP Server
Official GitLab server (archived) integrating the GitLab API for project management, issues and merge-request operations.
Bitbucket MCP Server
社区 Bitbucket 服务器,支持访问 Bitbucket 仓库、PR 与工作流,适合 Atlassian 生态团队。
Gitea MCP Server
社区 Gitea 服务器,对接自托管 Git 平台 Gitea,支持仓库、Issue 与 PR 管理。
Azure DevOps MCP
Official Microsoft Azure DevOps MCP covering repos, pull requests, pipelines and work items.
Gitee MCP
对接 Gitee 仓库、Issue 与 PR,国内代码托管场景可替代 GitHub 客户端。
FAQ
What problem does Git MCP Server solve?
Git MCP Server focuses on Version Control. Official Git server providing tools to read, search and manipulate Git repositories — diffs, logs, branches and commits.
How do I connect Git MCP Server to my editor?
Use the command or JSON in the install section. If none is listed, follow the project home. Do not paste config from unknown sources.
What similar MCP servers exist?
The related list comes from the same Version Control group so you can compare scope.