FIELD NOTE / MCP SERVER

Git.

Give an agent structured access to a Git repository.

BuildMCP projectSource checked 9 Nov 2026
01 / FIT

When it earns a place.

An agent needs to inspect repository history and working-tree changes.

02 / SETUP

How to start.

Run `uvx mcp-server-git --repository /path/to/repo` in a local MCP client.

Open the original instructions
03 / COMPATIBILITY

What it needs.

Local stdio reference server; requires Git, Python/uvx and MCP Python SDK 2.x.

04 / WATCH FOR

Before you connect it.

Tools can change repository state. Keep --repository set: it confines access to the whole enclosing repository, not just the named subdirectory. Review the tool list and use a suitable checkout.

Compare this field note with other tools ↗ · Choose 2–4 entries in the local workbench.

Privacy