MCP server

Git

MCP

Status, diff, and log — without shelling out blind.

Official git server. The model sees the repo the way git does, with tools instead of raw bash.

latest·MIT·Updated this quarter·github.com/modelcontextprotocol/servers·Transport: stdio

Claude CodeCursorDesktop
Scanned

claude_desktop_config.json

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

By Model Context Protocol

Spec

What the server actually exposes.

  • git_status

    read

    Working tree status.

  • git_diff

    read

    Unstaged or staged diff.

  • git_log

    read

    Recent commits.

  • git_show

    read

    A commit by sha.

Guardrails

  • Read-first
  • Repo path is an argument
  • No force-push tool

mcp-git.mcp/tools

Tools

  • git_status

    Working tree status.

    read
  • git_diff

    Unstaged or staged diff.

    read
  • git_log

    Recent commits.

    read
  • git_show

    A commit by sha.

    read

Last call

{ "ok": true,
  "tool": "git_status",
  "rows": 12 }

Other servers worth installing

Discussion

No notes yet. Be the first hunter to report back.