What is Git MCP?
An MCP server providing structured Git access for AI agents. Typed tools replace raw shell commands, with structured output that's easier to reason about.
TL;DR: Git MCP server. AI agents operate log/diff/status/branch/commit/blame via tool calls. Structured output. Part of the official MCP servers collection.
Best for: AI agent users who need structured Git access.
Core Tools
- git_status — Working tree status
- git_log — Commit history
- git_diff — Change comparison
- git_branch — Branch management
- git_commit — Create commits
- git_blame — Line-level attribution
FAQ
Q: Read-only by default?
A: No — it supports read/write. Use --read-only to restrict.