Independent by design · no pay-to-rank placements  · How we evaluate tools →
Anclum Submit
G

geropl/git-mcp-go

Git MCP based on mcp-go

Before you install: a copy-paste command is available · no license recorded · link reachable

View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
  1. Copy the command above
  2. Paste it as one entry under mcpServers in claude_desktop_config.json — local servers take command + args (example: clients)
  3. Restart your client
Install command from the repository
go install github.com/geropl/git-mcp-go@latest

Parsed from the README we fetched on 2026-11-06; we have not executed it.

This is the install method the repository states, not an MCP client config, so no JSON is generated.
Key names differ by client: Clients & CLI
Source
collected from the abordage/awesome-mcp list · type: MCP server
Harvest history
first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
Score
score 1,003 · 10 sources · mcp
Install
go install github.com/geropl/git-mcp-go@latest
FAQ (answers come from our records)
How do I install it?
The repository provides this install command: go install github.com/geropl/git-mcp-go@latest. It comes from the repository itself; we cannot guarantee it runs as-is in your client.
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.

# Git MCP Server (Go)

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A Model Context Protocol (MCP) server for Git repository interaction and automation, written in Go. This server provides tools to read, search, and manipulate Git repositories via Large Language Models.
## Features
This MCP server provides the following Git operations as tools:
gitstatus: Shows the working tree status
gitdiffunstaged: Shows changes in the working directory that are not yet staged
gitdiffstaged: Shows changes that are staged for commit
gitdiff: Shows differences between branches or commits
gitcommit: Records changes to the repository
gitadd: Adds file contents to the staging area
gitreset: Unstages all staged changes
gitlog: Shows the commit logs
gitcreatebranch: Creates a new branch from an optional base branch
gitcheckout: Switches branches
gitshow: Shows the contents of a commit
gitinit: Initialize a new Git repository
gitpush: Pushes local commits to a remote repository (requires --write-access flag)
gitlistrepositories: Lists all available Git repositories
## Installation
### Prerequisites
Go 1.18 or higher
Git installed on your system
### Download Prebuilt Binaries
You can download prebuilt binaries for your platform from the GitHub Releases page.
### Building from Source
bash
# Clone the repository
git clone https://github.com/geropl/git-mcp-go.git
cd git-mcp-go
# Build the server
go build -o git-mcp-go .
### Install with go install
bash
go install github.com/geropl/git-mcp-go@latest
## Usage
### Command Line Structure
The Git MCP Server uses a command-line structure with subcommands:
git-mcp-go
├── serve [flags] [repository-paths...]
│ ├── --repository, -r # Repository paths (multiple ways to specify)
│ ├── --mode
│ ├── --write-access
│ └── --verbose, -v
└── setup [flags] [repository-paths...]
├── --repository, -r # Repository paths (multiple ways to specify)
├── --mode
├── --write-access
├── --auto-approve
└── --tool
### Multi-Repository Support
The Git MCP Server can now monitor and operate on multiple repositories simultaneously. You can specify repositories in several ways:
1. Using the -r/--repository flag:
With comma-separated paths: -r=/path/to/repo1,/path/to/repo2
With multiple flag instances: -r=/path/to/repo1 -r=/path/to/repo2
2. As positional arguments: serve /path/to/repo1 /path/to/repo2
3. A combination of both approaches
When using multiple repositories, the server will default to the first repository for operations where a specific repository is not specified.
### serve Command
The serve command starts the Git MCP server:
bash
# Run with verbose logging
./git-mcp-go serve -v /path/to/repo1 /path/to/repo2 /path/to/repo3
# Run with go-git implementation
./git-mcp-go serve --mode go-git -r=/path/to/repo1,/path/to/repo2
# Enable write access for remote operations
./git-mcp-go serve -r=/path/to/repo1,/path/to/repo2 --write-access
The --mode flag allows you to choose between two different implementations:
shell: Uses the Git CLI commands via shell execution (default)
go-git: Uses the go-git library for Git operations where possible
The --write-access flag enables operations that modify remote state (currently only the push operation). By default, this is disabled for safety.
### setup Command
The setup command sets up the Git MCP server for use with an AI assistant. It copies itself to ~/mcp-servers/git-mcp-go and modifies the tools config (cline: clinemcpsettings.json) to use that binary.
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/en/s/geropl-git-mcp-go/)
Source
awesome · https://github.com/geropl/git-mcp-go
Browse by field
MCP servers
Listed by
10 independent sources
added
today

More like this

All 6,229 →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index