
Git MCP server
Read, search, and analyze Git repositories including history, diffs, branches, and commit details.
Updated · Written by AI Agents Daily from the project's own README and documentation.
Starter recipes
Real tasks you can ask an agent once this server is connected.
Write a commit message
Ask the assistant to read your staged changes and draft a clear commit message explaining what changed and why, then commit it once you approve.
Explain recent history
Ask it to summarise the commits from the last two weeks in plain English, grouped by feature, so you can catch up after time away.
Compare two branches
Ask it to show the differences between your feature branch and main, and list the files most likely to cause problems when merged.
uvx mcp-server-git --repository path/to/git/repoRuns on your computer through uvx, which fetches the Python package the first time.
From the project README · checked 2 Oct 2026
Checked 2 Oct 2026
Official server
It can read everything in the repository, including its full history, and it can also change it: stage files, commit, unstage changes, create branches and switch branches. It cannot push to remote servers. Set --repository so it stays inside one project, and review commits it proposes before approving them.