Git

Read-only access to a repository's history: status, diffs, commit logs, and blame.

Official Python stdio

What it does

Read-only access to a repository's history: status, diffs, commit logs, and blame. Useful when an agent needs to understand why a file looks the way it does before changing it. Keep it read-only and pair it with a write-capable tool so the agent can inspect first and edit second.

Install

Terminal
uvx mcp-server-git --repository ./

Client configuration

Paste this into your MCP client config (Claude Desktop, Cursor, or any client that reads mcpServers), then restart the client.

mcp.json
{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "./"
      ]
    }
  }
}

When to use it

Reach for this when the task needs git inside the agent loop. Skip it if a plain shell command or a one-off script is enough — every server you add costs context and adds a failure mode.

Other Python servers

  • Fetch — Downloads a URL and converts HTML into Markdown so the model reads text instead of markup
  • Time — Timezone conversion and current-time lookup using the IANA database
  • SQLite — Query and inspect a local SQLite file, including schema discovery and arbitrary SELECT statements