Reference Python MCP server exposing Git operations such as status, diff, commit, log, branch and checkout on local repositories. Runs via uvx and can be scoped to a specific repository path.
Connect
- 1Add the server to Codex
codex mcp add git -- uvx mcp-server-git --repository path/to/git/repo
Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.
Tools 12
git_statusgit_diff_unstagedgit_diff_stagedgit_diffgit_commitgit_addgit_resetgit_loggit_create_branchgit_checkoutgit_showgit_branchThings to ask
- “Show me the unstaged changes in this repo”
- “Summarize the last 10 commits”
- “Create a branch called feature/login and switch to it”
- “Commit the staged changes with a descriptive message”