io.github.cyanheads/git-mcp-server
Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.
- Repository
- github.com/cyanheads/git-mcp-server
- Version
- 2.15.3
- Author
- cyanheads (namespace verified by the registry)
- Source
- Official MCP registry (updated Aug 24, 2026)
How to install it
Variables to fill in: MCP_LOG_LEVEL, GIT_BASE_DIR.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add git-mcp-server -e MCP_LOG_LEVEL=YOUR_MCP_LOG_LEVEL -e GIT_BASE_DIR=YOUR_GIT_BASE_DIR -- npx -y @cyanheads/[email protected] run start:stdioClaude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]",
"run",
"start:stdio"
],
"env": {
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL",
"GIT_BASE_DIR": "YOUR_GIT_BASE_DIR"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]",
"run",
"start:stdio"
],
"env": {
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL",
"GIT_BASE_DIR": "YOUR_GIT_BASE_DIR"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"git-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]",
"run",
"start:stdio"
],
"env": {
"MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL",
"GIT_BASE_DIR": "YOUR_GIT_BASE_DIR"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.cyanheads/git-mcp-server)HTML
<a href="https://lagora.dev/en/entry/io.github.cyanheads/git-mcp-server"><img src="https://lagora.dev/badge/io.github.cyanheads/git-mcp-server.svg?lang=en" alt="io.github.cyanheads/git-mcp-server on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
io.github.cyanheads/clinicaltrialsgov-mcp-server Responds
io.github.cyanheads/openlibrary-mcp-server Responds
io.github.cyanheads/arxiv-mcp-server Responds