git-mcp-go

git-mcp-go

9

The Git MCP Server (Go) is designed to facilitate Git repository interactions using the Model Context Protocol. It provides automation and enhanced capabilities for managing Git operations, supporting both shell and go-git modes for flexible usage. The server includes tools for multi-repository management and integrates with AI tools for streamlined Git tasks.

Git MCP Server (Go)

A Model Context Protocol (MCP) server for Git repository interaction and automation, written in Go. This server offers a range of tools to facilitate Git operations such as viewing status, committing changes, and managing branches. Key features include multi-repository support, modes for Git command execution ("shell" or "go-git"), and options for automatic pre-approval of certain operations. The server supports both manual and automatic configuration with integration for AI assistant environments like Cline.

Features

  • Git operations: status, diff, commit, add, reset, log, branch creation, checkout, show, initialize, push, list repositories
  • Multi-repository support
  • Modes for Git operations: shell execution or go-git library
  • Setup and configuration automation

Usage

  • Command-line structure with serve and setup commands
  • Monitoring multiple repositories
  • Manage repository paths with flags or arguments

Installation

Prebuilt binaries available or build from source using Go. Automatic and manual setup options described for integration with AI assistant tools. Documentation includes command details and repository management instructions.