CodexSpot
G

Git MCP Server

Provides AI assistants with Git operations through MCP, enabling status checks, diffs, log inspection, committing, and branch management on local repositories.

stdioLocalNo Authnpm

What This Server Exposes

Tools

statusdifflogcommitbranch

Setup Instructions

  1. 1Ensure Git is installed and accessible in your PATH
  2. 2Ensure Node.js 18+ is installed
  3. 3Add the Git server config to your Claude Desktop configuration
  4. 4Restart Claude Desktop

Configuration

Claude Desktop Configuration

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

Server Manifest

No official server.json manifest found. Generate one with our MCP server.json Generator →

Compatibility

Claude DesktopClaude Code

Safety Notes

This server can commit and modify your Git history. Review all proposed commits before confirming. Ensure your working directory is in a known state before allowing AI-driven commits.

This listing is for informational purposes only. CodexSpot is not affiliated with Git MCP Server.