← back to the directory
MCP Server Coding

Git MCP

1Read 2and 3manage 4git 5repositories 6directly.

the six Ws · specification

W1 Who

Reference server from the Model Context Protocol project.

W2 What

Read history, diffs, and status, and stage or commit changes.

W3 Where

Runs locally against a repository on disk.

W4 When

When an agent works directly with version control.

W5 Why

Gives agents structured git access without shelling out blindly.

W6 With

A local git repository and any MCP client.

W7 Watch

Reference server in the official modelcontextprotocol org. No credentials and no network; operates on a local repository and can stage and commit, so point it only at repos you can afford to dirty.

alternatives

GitVersion-controlFiles

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.