DevelopmentVerifiedTypeScript

git-mcp-server

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

Free
N/A rating (0 reviews)0 installs204 GitHub stars

The git-mcp-server provides a robust interface for AI agents to interact with Git repositories using the Model Context Protocol. It supports a wide range of Git operations including cloning repositories, managing branches, and handling commits, all through STDIO and Streamable HTTP. This server is designed to facilitate seamless integration of AI functionalities with version control systems, allowing for efficient code management and collaboration. With 28 tools organized into categories such as Repository Management, Staging & Commits, and more, the server ensures that users can perform essential Git tasks effortlessly. Whether you need to check the status of your repository, clean untracked files, or manage tags, this MCP server offers the necessary tools to enhance productivity and streamline workflows for AI-driven development.

Compatible with

Claude DesktopCursor

Install

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "git-mcp-server": {
      "args": [
        "-y",
        "@cyanheads/git-mcp-server"
      ],
      "command": "npx"
    }
  }
}

Config File Location

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/claude/claude_desktop_config.json

Some servers require additional setup - check the GitHub README for specific instructions.

Permissions

ok0
ok1