Skip to content
SkillForAgents.com

Git

Read, diff, branch, and commit inside a local Git repository from an agent session.

View Source
Install
uvx mcp-server-git --repository /path/to/repo

The Git server exposes repository operations — status, diff, log, branch, add, commit — as structured tools instead of shell commands, which means an agent can inspect and act on a repository’s history without you having to grant it raw terminal access. Point it at a repository with --repository /path/to/repo and it operates against that working tree for the life of the session.

It’s a natural companion to the Filesystem server: Filesystem handles reading and writing file contents, Git handles understanding and recording the history around those changes. Together they cover most of what a coding agent needs for local, non-destructive repository work — reviewing a diff before proposing a change, drafting a commit message that actually reflects what moved, or walking through recent log entries to understand why a file looks the way it does.

No environment variables or API keys are required; the only configuration is which repository path to operate against.

Related

Similar MCP Servers

C
Verified

Cloudflare

Official Cloudflare MCP servers — Workers, KV, R2, D1, DNS, and the rest of the platform from an agent session.

DevOps & CI/CDFull-Stack Coding4.1KFreemium
C
Verified

Context7

Pulls current, version-accurate library documentation directly into context — no stale training-data APIs.

Search & ResearchFull-Stack Coding60.5KFreemium
EM
Verified

ESLint MCP Server

Official ESLint MCP server — runs real lint checks against a project's own config instead of an agent guessing at JavaScript style rules.

Full-Stack Coding27.5KFree