LocalFree

Git MCP server

cyanheads/git-mcp-server

Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.

243 GitHub stars58 forks

Install Git in Claude Code

Claude Code
claude mcp add cyanheads-git -- npx -y @cyanheads/git-mcp-server
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "cyanheads-git": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/git-mcp-server"
      ]
    }
  }
}

Frequently asked questions

What does the Git MCP server do?

Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.

Is the Git MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Git run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Git to Claude Code?

Run: claude mcp add cyanheads-git -- npx -y @cyanheads/git-mcp-server

More version control MCP servers

View all