Git MCP Server

Git Vertex — local MCP server exposing your Git repositories to AI agents (Claude Code, Cursor, Copilot…). Read-mostly (writes limited to conflict

Local serverstdioTypeScript

What is the Git MCP Server?

Git Vertex — local MCP server exposing your Git repositories to AI agents (Claude Code, Cursor, Copilot…). Read-mostly (writes limited to conflict resolution

What the server does

Visualize branches, stage changes, and manage commits with a clean interface.

  • Commit graph — — visualize branches and merges in a modern, curved graph
  • Stage & commit — — stage individual files or hunks, amend commits
  • Interactive rebase — — reorder, squash, drop commits visually
  • Push & pull — — push to any remote and branch with custom options
  • AI commit messages — — generate commit messages with Anthropic, Google, Groq or OpenAI
  • Branch management — — create, checkout, cherry-pick, revert, reset

Credentials and setup notes

git 2.40 or newer is recommended (2.28 is the hard minimum). Everything works from 2.28 on, with one exception: predicting conflicts before a merge, rebase, cherry-pick or revert uses git merge-tree --merge-base=…, which landed in git 2.40. On an older git that prediction is simply unavailable — the operation still runs, it just runs without the warning, and the app tells you so once at

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

How to install the Git MCP Server

{
  "mcpServers": {
    "vertex": {
      "command": "npx",
      "args": ["-y", "npm"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

git 2.40 or newer is recommended (2.28 is the hard minimum). Everything works from 2.28 on, with one exception: predicting conflicts before a merge, rebase, cherry-pick or revert uses git merge-tree --merge-base=…, which landed in git 2.40. On an older git that prediction is simply unavailable — the operation still runs, it just runs without the warning, and the app tells you so once at

Example prompts to try

  • “Use Git to Tags.”

Frequently asked questions

Git Vertex — local MCP server exposing your Git repositories to AI agents (Claude Code, Cursor, Copilot…). Read-mostly (writes limited to conflict resolution Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.