gitversion-controlreferencedeveloper

Summary

Read, search, and manipulate Git repositories — status, diffs, logs, branches, commits, and more.

Features

  • View status, diffs, and logs
  • Read and search commit history
  • Create branches and commits
  • Stage and reset changes
  • Operate on a local repository

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "Git" tools will be available.
{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "/path/to/repo"
      ]
    }
  }
}

Description

The reference Git MCP server. It lets an agent inspect and operate on a local Git repository: view status and diffs, read commit history, search content, create branches, stage changes, and commit. Useful for code-aware assistants working directly against a repo.

Related MCP Servers

Browse all MCP servers →