git-mcp-server
local MCP serverInstallation
Terminal
claude mcp add io-github-cyanheads-git-mcp-server -e MCP_LOG_LEVEL=... -e GIT_BASE_DIR=... -- npx -y @cyanheads/git-mcp-server
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"io-github-cyanheads-git-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server"
],
"env": {
"MCP_LOG_LEVEL": "...",
"GIT_BASE_DIR": "..."
}
}
}
}Fill in the environment variables with your own credentials.
Summary
Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.
Questions
git-mcp-server is a local MCP server distributed as the npm package @cyanheads/git-mcp-server.
Run: claude mcp add io-github-cyanheads-git-mcp-server -e MCP_LOG_LEVEL=... -e GIT_BASE_DIR=... -- npx -y @cyanheads/git-mcp-server
Run: codex mcp add io-github-cyanheads-git-mcp-server --env MCP_LOG_LEVEL=... --env GIT_BASE_DIR=... -- npx -y @cyanheads/git-mcp-server
Similar MCP servers
NameStars
- pg-aiguideio.github.timescale/pg-aiguide1,850
- gopeakio.github.HaD0Yun/gopeak261
- virustotalio.github.BurtTheCoder/virustotal149
- MediaWiki MCP Serverio.github.ProfessionalWiki/mediawiki-mcp-server134
- Unraid MCPai.dinglebear/unraid-mcp131
- Unraid MCPtv.tootie/unraid-mcp131
- code-indexio.github.Regsorm/code-index130
- raxolio.github.DROOdotFOO/raxol79