Skip to content
Conduit

mcp server

Git

Reference server from the MCP project for reading diffs and history and making commits and branches in local Git repos.

modelcontextprotocol/servers/src/gitofficiallistedunreviewednot running here yet

Set up

Runs on your computer. Pick your agent and operating system.

Before you start

  • uv (`curl -LsSf https://astral.sh/uv/install.sh | sh`)
  • Python with uv (uvx) or pip
  • A local Git repository path
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git"
      ]
    }
  }
}

same format Cursor, GitHub Copilot CLI, Junie, JetBrains AI Assistant, Augment (Auggie CLI), Factory Droid, Kiro, Devin CLI +12

Values in angle brackets are placeholders. Restart Claude Desktop after editing its config.Claude Desktop docs

Tools provided

As listed by the project. Your agent asks before calling them, depending on its settings.

  • git_statusShow working tree status
  • git_diff_unstagedShow unstaged changes
  • git_diff_stagedShow staged changes
  • git_diffDiff against a ref
  • git_commitCommit staged changes
  • git_addStage files
  • git_resetUnstage files
  • git_logShow commit log
  • git_create_branchCreate a branch
  • git_checkoutSwitch branches
  • git_showShow a commit
  • git_branchList branches

README

synced Oct 13, 2026

Git

Reference server from the MCP project for reading diffs and history and making commits and branches in local Git repos.

Install

uvx mcp-server-git

Tools

  • git_status — Show working tree status
  • git_diff_unstaged — Show unstaged changes
  • git_diff_staged — Show staged changes
  • git_diff — Diff against a ref
  • git_commit — Commit staged changes
  • git_add — Stage files
  • git_reset — Unstage files
  • git_log — Show commit log
  • git_create_branch — Create a branch
  • git_checkout — Switch branches
  • git_show — Show a commit
  • git_branch — List branches

About this listing

Details were gathered from the project's public pages on 2026-10-13 and have not been reviewed by a person yet. Read the project's own documentation before giving it access to anything sensitive.

Sources:

↑↓ navigate openesc close