G

Git

Official

Read, search, and manipulate local Git repositories.

by Anthropic· 38.4k·Development·Updated 1 week ago

Install

Add this command to your MCP client config to connect Git.

uvx mcp-server-git --repository /path/to/repo

About Git

The Git server lets your assistant operate on local repositories the way you would in a terminal: status, log, diff, blame, show, branch, checkout, and commit.

It is read-heavy by design — most of the value is in letting the model understand history before making changes. Pair it with the filesystem server for "read what changed in the last release, then update the changelog and commit" workflows.

Because it talks to local repos, there is no token configuration: it works against whatever you have on disk and respects your existing Git config (signing keys, hooks, etc.).

Tags

Other MCP servers in Development and beyond.