Description

Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project.

Installation

npx -y git-mcp
npm install git-mcp
git clone https://github.com/idosal/git-mcp

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

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

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "gitmcp": {
      "command": "npx",
      "args": [
        "-y",
        "git-mcp"
      ]
    }
  }
}