Git MCP Server
Clone, commit, diff, branch, merge, rebase, cherry-pick, stash, tag, and manage worktrees in local git repos via MCP. STDIO or Streamable HTTP.
Git MCP Server is an open-source mcp server by cyanheads, written mainly in TypeScript, with 243 GitHub stars and the Apache-2.0 license. Its code was last updated Sep 26, 2026. The latest npm release is @cyanheads/git-mcp-server 2.15.3, published Aug 24, 2026, with 4,167 downloads last week.
Scan summary: scanned Nov 5, 2026 at commit d34d83a. Seen able to run shell commands, read environment and secrets. 1 published advisory for its package. Scan policy
How to install Git MCP Server
Built from the start command in the project's README: npx @cyanheads/git-mcp-server@latest. Check the README for required keys or settings.
claude mcp add git-mcp-server -- npx @cyanheads/git-mcp-server@latest{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"@cyanheads/git-mcp-server@latest"
]
}
}
}{
"mcpServers": {
"git-mcp-server": {
"command": "npx",
"args": [
"@cyanheads/git-mcp-server@latest"
]
}
}
}code --add-mcp '{"name":"git-mcp-server","command":"npx","args":["@cyanheads/git-mcp-server@latest"]}'What Git MCP Server can touch
- Seen in this scan, either in the code or while it ran.Run shell commandsFound in the code by our scan
- Our checks did not find this. The tool may still do it.Run dynamic codeNot seen in this scan
- Our checks did not find this. The tool may still do it.Read or write filesNot seen in this scan
- Seen in this scan, either in the code or while it ran.Read environment and secretsFound in the code by our scan
- Our checks did not find this. The tool may still do it.Control a web browserNot seen in this scan
- Our checks did not find this. The tool may still do it.Connect to databasesNot seen in this scan
- Our checks did not find this. The tool may still do it.Read or send messagesNot seen in this scan
- Our checks did not find this. The tool may still do it.Touch money or tradingNot seen in this scan
- Our checks did not find this. The tool may still do it.Connect to the internetNot run in this scan
"Not seen" means our checks did not find it, and the tool may still do it. Covers commit d34d83a, Nov 5, 2026. See the scan policy.
Before you install Git MCP Server
AgenticMart scanned Git MCP Server on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What it can access
- An MCP server is a program your AI app starts and talks to. A local one runs with your user's permissions: it can see the files, environment variables and network your account can.
- Based on its description and topics, it likely needs to use a code-hosting token (GitHub/GitLab).
Before you install
- Use a fine-grained token limited to the repos it needs.
- Pin the version you reviewed instead of always installing the latest release.
- Read the tool list or scripts before the first run, and keep approval prompts on for actions that write, send or delete.
- Maintained by cyanheads on GitHub, 243 stars and 58 forks. Popularity is not proof of safety.
- Last code change: Sep 26, 2026.
- Open-source license: Apache-2.0.
Published advisories for @cyanheads/git-mcp-server
From the OSV database, for this npm package. Check that your installed version is past any fix.
- CVE-2025-53107@cyanheads/git-mcp-server vulnerable to command injection in several toolsFixed in 2.1.5.
Git MCP Server is an open-source mcp server by cyanheads, written mainly in TypeScript. Clone, commit, diff, branch, merge, rebase, cherry-pick, stash, tag, and manage worktrees in local git repos via MCP. STDIO or Streamable HTTP.
At a glance
- Stars
- 243
- Forks
- 58
- Language
- TypeScript
- License
- Apache-2.0
- Created
- Dec 2024
- Last update
- Sep 26, 2026
- Type
- MCP Server
- Price
- Free
Topics
Questions about Git MCP Server
What is Git MCP Server?
Clone, commit, diff, branch, merge, rebase, cherry-pick, stash, tag, and manage worktrees in local git repos via MCP. STDIO or Streamable HTTP.
Who maintains Git MCP Server?
Git MCP Server is maintained by cyanheads on GitHub (cyanheads/git-mcp-server). AgenticMart lists it from public repository data.
Is Git MCP Server safe to use?
AgenticMart scanned Git MCP Server on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What license does Git MCP Server use?
It is published under the Apache-2.0 license.
Git MCP Server alternatives
View more →Similar mcp servers in Coding Agents, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.
| Name | Stars | Licence | Last updated | Scan |
|---|---|---|---|---|
| Git MCP Server (this page) cyanheads | 243 | Apache-2.0 | Sep 26, 2026 | Scanned, no flagged issues |
| Context Mode mksglu | 33k | None found | Nov 1, 2026 | Not scanned yet |
| Serena oraios | 31k | None found | Oct 28, 2026 | Not scanned yet |
| Fastmcp PrefectHQ | 28k | Apache-2.0 | Nov 1, 2026 | Scanned, no flagged issues |
| Nuclear nukeop | 19k | AGPL-3.0 | Nov 1, 2026 | Scanned, no flagged issues |
| MCP For Beginners microsoft | 18k | MIT | Oct 30, 2026 | Scanned, no flagged issues |