Git MCP Server
Rank #412io.github.cyanheads/git-mcp-server
Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.
Git MCP Server is a Model Context Protocol (MCP) server published by cyanheads. It ranks #412 of 121,933 servers tracked on MCP Toplist, and its repository has 240 GitHub stars. Git MCP Server is listed across 4 registries — Official MCP, PulseMCP, mcp.so and Glama, with 43 tracked versions. It was first listed on Dec 16, 2024 and most recently updated on Aug 24, 2026.
Ranks ahead of 121,521 of 121,933 servers on MCP Toplist.
Use Git MCP Server
No credentials or required configuration declared — add it to your MCP client and go.
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/git-mcp-server run start:stdioReplace each placeholder with your own value before saving.
claude mcp add git-mcp-server -e "MCP_HTTP_HOST=<your MCP_HTTP_HOST>" -e "MCP_HTTP_PORT=<your MCP_HTTP_PORT>" -e "MCP_HTTP_ENDPOINT_PATH=<your MCP_HTTP_ENDPOINT_PATH>" -e "MCP_AUTH_MODE=<your MCP_AUTH_MODE>" -e "MCP_LOG_LEVEL=<your MCP_LOG_LEVEL>" -e "GIT_BASE_DIR=<your GIT_BASE_DIR>" -- npx -y @cyanheads/git-mcp-server run start:httpReplace each placeholder with your own value before saving.
[mcp_servers.git-mcp-server]
command = "npx"
args = ["-y", "@cyanheads/git-mcp-server", "run", "start:stdio"]
[mcp_servers.git-mcp-server.env]
MCP_LOG_LEVEL = "<your MCP_LOG_LEVEL>"
GIT_BASE_DIR = "<your GIT_BASE_DIR>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
[mcp_servers.git-mcp-server]
command = "npx"
args = ["-y", "@cyanheads/git-mcp-server", "run", "start:http"]
[mcp_servers.git-mcp-server.env]
MCP_HTTP_HOST = "<your MCP_HTTP_HOST>"
MCP_HTTP_PORT = "<your MCP_HTTP_PORT>"
MCP_HTTP_ENDPOINT_PATH = "<your MCP_HTTP_ENDPOINT_PATH>"
MCP_AUTH_MODE = "<your MCP_AUTH_MODE>"
MCP_LOG_LEVEL = "<your MCP_LOG_LEVEL>"
GIT_BASE_DIR = "<your GIT_BASE_DIR>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:stdio"
],
"env": {
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>",
"GIT_BASE_DIR": "<your GIT_BASE_DIR>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:http"
],
"env": {
"MCP_HTTP_HOST": "<your MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<your MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<your MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<your MCP_AUTH_MODE>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>",
"GIT_BASE_DIR": "<your GIT_BASE_DIR>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:stdio"
],
"env": {
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>",
"GIT_BASE_DIR": "<your GIT_BASE_DIR>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:http"
],
"env": {
"MCP_HTTP_HOST": "<your MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<your MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<your MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<your MCP_AUTH_MODE>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>",
"GIT_BASE_DIR": "<your GIT_BASE_DIR>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"git-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:stdio"
],
"env": {
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>",
"GIT_BASE_DIR": "<your GIT_BASE_DIR>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"servers": {
"git-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:http"
],
"env": {
"MCP_HTTP_HOST": "<your MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<your MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<your MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<your MCP_AUTH_MODE>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>",
"GIT_BASE_DIR": "<your GIT_BASE_DIR>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:stdio"
],
"env": {
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>",
"GIT_BASE_DIR": "<your GIT_BASE_DIR>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:http"
],
"env": {
"MCP_HTTP_HOST": "<your MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<your MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<your MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<your MCP_AUTH_MODE>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>",
"GIT_BASE_DIR": "<your GIT_BASE_DIR>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:stdio"
],
"env": {
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>",
"GIT_BASE_DIR": "<your GIT_BASE_DIR>"
}
}
}
}Replace each placeholder with your own value before saving.
{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server",
"run",
"start:http"
],
"env": {
"MCP_HTTP_HOST": "<your MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<your MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<your MCP_HTTP_ENDPOINT_PATH>",
"MCP_AUTH_MODE": "<your MCP_AUTH_MODE>",
"MCP_LOG_LEVEL": "<your MCP_LOG_LEVEL>",
"GIT_BASE_DIR": "<your GIT_BASE_DIR>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.cyanheads%2Fgit-mcp-server)<a href="https://mcptoplist.com/server/io.github.cyanheads%2Fgit-mcp-server"><img src="https://mcptoplist.com/badge/io.github.cyanheads%2Fgit-mcp-server.svg" alt="MCP Toplist: Top 1% of 121,933" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 4 registries
cyanheads
Other servers by cyanheads
- MCP Ts Core#72 · 184 vers
- obsidian-mcp-server#196 · 31 vers
- Pubmed MCP Server#341 · 78 vers
- Clinicaltrialsgov MCP Server#365 · 66 vers
- Openalex MCP Server#1,733 · 43 vers
- Secedgar MCP Server#1,803 · 52 vers
- Pubchem MCP Server#2,178 · 35 vers
- ntfy-mcp-server#2,235 · 10 vers
- @cyanheads/openstreetmap-mcp-server#2,467 · 33 vers
- cdc-health-mcp-server#2,505 · 26 vers
- toolkit-mcp-server#2,508 · 6 vers
- Protein MCP Server#2,663 · 19 vers
Available versions (43)
| Version | Published |
|---|---|
| 2.15.3 | Aug 24, 2026 |
| 2.15.2 | Aug 24, 2026 |
| 2.15.1 | May 6, 2026 |
| 2.15.0 | Apr 29, 2026 |
| 2.14.2 | Apr 24, 2026 |
| 2.14.0 | Apr 24, 2026 |
| 2.13.0 | Apr 23, 2026 |
| 2.12.0 | Apr 23, 2026 |
| 2.11.1 | Apr 21, 2026 |
| 2.11.0 | Apr 19, 2026 |
| 2.10.6 | Apr 19, 2026 |
| 2.10.3 | Mar 9, 2026 |
| 2.10.2 | Mar 9, 2026 |
| 2.10.0 | Mar 6, 2026 |
| 2.9.2 | Mar 6, 2026 |
| 2.9.1 | Mar 6, 2026 |
| 2.8.5 | Feb 28, 2026 |
| 2.8.4 | Feb 14, 2026 |
| 2.8.2 | Feb 13, 2026 |
| 2.8.1 | Feb 13, 2026 |
| 2.8.0 | Feb 13, 2026 |
| 2.7.0 | Feb 13, 2026 |
| 2.6.5 | Dec 13, 2025 |
| 2.6.4 | Dec 13, 2025 |
| 2.6.3 | Dec 12, 2025 |
| 2.6.2 | Dec 12, 2025 |
| 2.6.1 | Dec 12, 2025 |
| 2.5.8 | Oct 28, 2025 |
| 2.5.7 | Oct 25, 2025 |
| 2.5.6 | Oct 25, 2025 |
| 2.5.5 | Oct 25, 2025 |
| 2.5.3 | Oct 15, 2025 |
| 2.5.2 | Oct 15, 2025 |
| 2.5.1 | Oct 15, 2025 |
| 2.4.9 | Oct 13, 2025 |
| 2.4.8 | Oct 13, 2025 |
| 2.4.7 | Oct 13, 2025 |
| 2.4.6 | Oct 12, 2025 |
| 2.4.5 | Oct 11, 2025 |
| 2.3.5 | Sep 29, 2025 |
| 2.3.4 | Sep 26, 2025 |
| 2.3.3 | Sep 15, 2025 |
| 0.1.0 | Nov 25, 2024 |
Frequently asked questions
- Who maintains Git MCP Server?
- Git MCP Server is maintained by cyanheads, which publishes 131 MCP servers (2112 total versions) tracked on MCP Toplist.
- Is Git MCP Server listed on the Official MCP Registry?
- Yes — Git MCP Server is listed on the Official MCP Registry, alongside PulseMCP, mcp.so and Glama.
- How many versions does Git MCP Server have?
- MCP Toplist tracks 43 versions of Git MCP Server, most recently published on Aug 24, 2026.
- Where can I find the source code for Git MCP Server?
- The source code for Git MCP Server is hosted at github.com/cyanheads/git-mcp-server.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.