Back to MCP directory

Git MCP Server

Official

Official 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 · 官方.

Version ControlstdioAuthor: Anthropic45.0k starsVisit

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/repo

Claude 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

git版本控制version control仓库repo官方

Similar recommendations

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.