Server Directory
Version ControlBeginner Official

Git

by Anthropic

GitHub
18.5k

Interact with Git repositories directly. Perform common Git operations including status, diff, log, commit, branch management, and more.

CAPABILITIES

  • Repository status and diff
  • Commit history and log
  • Branch management
  • Stage and commit changes
  • Tag management

INSTALLATION

Terminal
npx -y @modelcontextprotocol/server-git

CLAUDE DESKTOP CONFIG

claude_desktop_config.json
{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": [
        "npx", "-y",
        ""@modelcontextprotocol/server-git"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

QUICK FACTS

Category
Version Control
Difficulty
Beginner
Maintained By
Anthropic
NPM Package
@modelcontextprotocol/server-git

RELATED SERVERS

NEW TO MCP?

Learn how to set up MCP servers with Claude Desktop step by step.

Read the tutorial →