Git MCP Go MCP Server

A Model Context Protocol (MCP) server for Git repository interaction and automation, written in Go. This server provides tools to read, search, and

Local serverstdioGo

What is the Git MCP Go MCP Server?

Git MCP Go connects Git MCP Go to AI assistants that speak the Model Context Protocol. 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.

What Git MCP Go does

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.

Key capabilities

  • git_status — Shows the working tree status
  • git_diff_unstaged — Shows changes in the working directory that are not yet staged
  • git_diff_staged — Shows changes that are staged for commit
  • git_diff — Shows differences between branches or commits
  • git_commit — Records changes to the repository
  • git_add — Adds file contents to the staging area
  • git_reset — Unstages all staged changes
  • git_log — Shows the commit logs

Requirements

  • Go 1.18 or higher - Git installed on your system

Practical notes

  • Maintained by geropl, written in Go.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
allow-read-onlyAuto-approve all read-only tools (git_status, git_diff_unstaged, git_diff_staged, git_log, git_show, git_diff)
allow-local-onlyAuto-approve all local-only tools (incl. git_commit, git_add, git_reset, but not git_push)
commaseparated list**: Auto-approve specific tools (e.g., git_status,git_log)

Configuration

  • Go 1.18 or higher - Git installed on your system
VariableDescriptionRequired
DOWNLOAD_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Git MCP Go to allow-read-only.”
  • “Use Git MCP Go to allow-local-only.”
  • “Use Git MCP Go to comma.”

Frequently asked questions

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 Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.