Git MCP Server

by cyanheads• 243•• Scanned•Claim this listing•Request removal
Coding Agentsai agentsai toolscyanheadsdeveloper toolsgit

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 Code · Terminal
claude mcp add git-mcp-server -- npx @cyanheads/git-mcp-server@latest
Claude Desktop · claude_desktop_config.json
{
  "mcpServers": {
    "git-mcp-server": {
      "command": "npx",
      "args": [
        "@cyanheads/git-mcp-server@latest"
      ]
    }
  }
}
Cursor · .cursor/mcp.json
{
  "mcpServers": {
    "git-mcp-server": {
      "command": "npx",
      "args": [
        "@cyanheads/git-mcp-server@latest"
      ]
    }
  }
}
VS Code · Terminal
code --add-mcp '{"name":"git-mcp-server","command":"npx","args":["@cyanheads/git-mcp-server@latest"]}'

What Git MCP Server can touch

  • Run shell commandsFound in the code by our scan
  • Run dynamic codeNot seen in this scan
  • Read or write filesNot seen in this scan
  • Read environment and secretsFound in the code by our scan
  • Control a web browserNot seen in this scan
  • Connect to databasesNot seen in this scan
  • Read or send messagesNot seen in this scan
  • Touch money or tradingNot seen in this scan
  • 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

  1. Use a fine-grained token limited to the repos it needs.
  2. Pin the version you reviewed instead of always installing the latest release.
  3. 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

ai-agentsai-toolscyanheadsdeveloper-toolsgitgit-toolsllm-toolsmcpmcp-servermodel-context-protocoltypescriptversion-control

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.

NameStarsLicenceLast updatedScan
Git MCP Server (this page)
cyanheads
243Apache-2.0Sep 26, 2026Scanned, no flagged issues
Context Mode
mksglu
33kNone foundNov 1, 2026Not scanned yet
Serena
oraios
31kNone foundOct 28, 2026Not scanned yet
Fastmcp
PrefectHQ
28kApache-2.0Nov 1, 2026Scanned, no flagged issues
Nuclear
nukeop
19kAGPL-3.0Nov 1, 2026Scanned, no flagged issues
MCP For Beginners
microsoft
18kMITOct 30, 2026Scanned, no flagged issues