Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Git MCP server

by cyanheads/git-mcp-serverApache-2.0 licenceAudited 6 Oct 2026 · source fbb4ea9597ee

npm @cyanheads/git-mcp-server 2.15.3stdiostreamable-http★ 239
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · fbb4ea9

Is it safe? No — BLOCK, grade D (69/100). It exposes 1 tool: 1 read, 0 write and 0 destructive. The audit recorded 9 findings (1 critical, 0 high, 1 medium, 7 low). Maintainer's description: Clone, commit, diff, branch, merge, rebase, cherry-pick, stash, tag, and manage worktrees in local git repos via MCP. STDIO or Streamable HTTP.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Git MCP server (cyanheads/git-mcp-server)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/cyanheads/git-1

Why this is BLOCK. The audit found 1 critical and 0 high findings; the most severe is Prompt injection at skills/field-test/SKILL.md:222. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

2 MCP servers are called Git. You are viewing cyanheads/git-mcp-server. Compare all 2 →

  • idosal/git-mcp★ 8,411✕BLOCK
  • cyanheads/git-mcp-server★ 239✕BLOCK

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score69/100✕BLOCK D
1 critical0 high1 medium7 low0 info

9 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared5 observations
  • NetworkDeclared3 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (9)

Sorted by severity

CRITICALPrompt injectionprompt.transfer_instruction · skills/field-test/SKILL.md:222
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Kills the background server, clears state, removes test repos. Do this _before_ writing the report so nothing leaks into the next session.
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
MEDIUMInformation disclosuredisclose.log_secret · src/mcp-server/transports/auth/strategies/oauthStrategy.ts:195
F-12 Information disclosureCWE-209 · CWE-532Layer L1
this.logger.warning(`OAuth token verification failed: ${message}`, {
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/config/index.ts:16
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import packageJson from '../../package.json' with { type: 'json' };
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/mcp-server/transports/manager.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { AppConfig as AppConfigType } from '../../config/index.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/mcp-server/transports/manager.ts:14
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from '../../container/tokens.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/mcp-server/transports/manager.ts:15
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { requestContextService } from '../../utils/index.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/mcp-server/transports/manager.ts:16
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { logger as LoggerType } from '../../utils/index.js';
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
cross-spawn, pino, pino-pretty, @eslint/js, @hono/mcp, @hono/node-server, @modelcontextprotocol/sdk, @opentelemetry/api
Why
48 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

1 declared in source · 0 destructive

1 read0 write0 destructive
ToolWhat it doesRisk
git-working-directoryProvides the current session working directory for git operations. This is the directory set via git_set_working_dir and used as the default for all git commands.read

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · fbb4ea9597ee

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Git MCP server

What is the 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.
What tools does Git expose?
1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Git safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.
What credentials does Git need?
No credential environment variables were found in its source, so it appears to need none.
How does Git run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @cyanheads/git-mcp-server at 2.15.3.
How current is this page?
The grade is for one exact copy of the source (fbb4ea9597ee), read on 2026-10-06. The repository is watched and re-audited when it changes.
Which Git MCP server is the right one?
2 unrelated servers share the name “Git”; compare them side by side before you install.
I already installed Git. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • cyanheads/git-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit fbb4ea9597eeObserved · 6 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.