← Back to mcp

Git MCP

Read git repositories, view commits, diffs, and history with MCP.

One-Click Configuration

{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-git", "/path/to/repository"]
    }
  }
}

Copy this configuration and paste it into your claude_desktop_config.json or Cursor settings.