Git MCP server

Active

A Model Context Protocol server for Git repository interaction and automation. This server provides tools to read, search, and manipulate Git repositories via Large Language Models.

All
Updated 8/2/2025
Key Features

What makes this MCP server special

Status
Commit
Diff
Add
Reset
Init
Create branch
Checkout

Requirements

UVX
docker
PIP
Server Information

Status

Active

Location

All

Version

1.0.0

License

MIT

Author

modelcontextprotocol

Installation Guide
Get started with this MCP server in minutes

1. Install the Package

pip install mcp-server-git

2. Configuration

{
  "mcpServers": {
  "git": {
  "command": "python",
  "args": ["-m", "mcp_server_git", "--repository", "path/to/git/repo"]
  }
  }
 }

3. Usage Example

init git repo