Developer ToolsOfficial

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.

Docs & setup

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.

Try

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.

Try

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.

Try
Install
uvx mcp-server-git --repository path/to/git/repo

Runs on your computer through uvx, which fetches the Python package the first time.

From the project README · checked 2 Oct 2026

Downloads
9.3M

PyPI · all time since Nov 2024 · as of 2 Oct 2026

Checked 2 Oct 2026

License
MIT

Official server

Access

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.

Related MCP servers