Git
by modelcontextprotocol
Inspect a local git repository — log, diff, blame, show — without giving the model shell access.
Absolute path to the repo root (-r / --repository flag); confines every tool to this repo. Always set it in the catalog, or any tool call can pick its own repo_path and reach any repo the process user can read.
Optional KEY=VALUE pairs (one per line) set as extra environment variables on the connector's process. Lines starting with # are ignored; uncomment and edit what you need.
Default template
# Optional extra environment variables, one KEY=VALUE per line. # Lines starting with # are ignored: uncomment and edit what you need. # Documented options: https://github.com/modelcontextprotocol/servers/tree/main/src/git # Route the connector through an HTTP proxy, if your network needs one. # HTTPS_PROXY=http://proxy.example:8080 # Turn up logging for troubleshooting (read by many servers; the name varies). # LOG_LEVEL=debug
This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.
Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
uvx mcp-server-git==2026.11.4