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

MCP server · Audited from source

git-mcp

by selfagency/git-mcpNo licenceAudited 14 Oct 2026 · source c4cd4bd1b36a

npm @selfagency/git-mcp 0.4.0stdio★ 0
!CAUTIONGrade B · 81/100 · 14 Oct 2026 · c4cd4bd
0GitHub stars

Is it safe? With care — CAUTION, grade B (81/100). It exposes 28 tools: 27 read, 1 write and 0 destructive. The audit recorded 13 findings (0 critical, 0 high, 2 medium, 10 low). Maintainer's description: A Git MCP server that doesn't suck

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “git-mcp (selfagency/git-mcp)”. Retrieved 14 Oct 2026. https://modelsatlas.com/mcp/selfagency/git-mcp

Trust audit

Audit 0.4.1 · full source read 14 Oct 2026

Trust score81/100!CAUTION B
0 critical0 high2 medium10 low1 info

13 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

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared3 observations
  • ShellDeclared3 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 4 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 8 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner selfagencyUser accountAccount type recorded when we read the repository.
  • PackagePublished on npm@selfagency/git-mcp at version 0.4.0
  • LicenceNone declaredFrom the repository, as read at the audited commit.
  • Last pushTodayActivity of the repository when we read it.
  • Source commit readc4cd4bd1b36aThe audit covers exactly this commit, read on 14 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory28 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (13)

Sorted by severity

MEDIUMHard-coded secretssecret.github · src/security/__tests__/redact.test.ts:22
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.github · src/services/__tests__/context.service.test.ts:149
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .oxfmtrc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.oxfmtrc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .oxlintrc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.oxlintrc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · docs/public/.nojekyll
F-13 Inventory / provenanceCWE-1104Layer L0
.nojekyll
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.no_license
F-13 Inventory / provenanceCWE-1104Layer L0
Why
no LICENSE file and no repo licence
Fix
add a licence
LOWFilesystem / pathfs.traversal · src/git/__tests__/external.test.ts:17
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
vi.mock('../../platform/exec.js', () => ({
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/services/__tests__/advanced.service.test.ts:4
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
vi.mock('../../git/client.js', () => ({
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/services/__tests__/advanced.service.test.ts:11
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { getGit } from '../../git/client.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/services/__tests__/analytics.service.test.ts:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
vi.mock('../../git/client.js', () => ({
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/services/__tests__/analytics.service.test.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { getGit } from '../../git/client.js';
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, simple-git, zod, @octokit/rest, @vitest/coverage-v8, husky, lint-staged, ora
Why
14 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOPrompt injectionprompt.authority_framing · docs/guide/getting-started.md:5
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
git-mcp is a production-grade [Model Context Protocol](https://modelcontextprotocol.io) server that gives AI agents full access to Git workflows. It uses [simple-git](https://github.com/steveukx/git-j
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

28 declared in source · 0 destructive

27 read1 write0 destructive
ToolRiskWhat it does
git_mergewriteNo description in the source
git_analyticsreadNo description in the source
git_bisectreadNo description in the source
git_branchesreadNo description in the source
git_but_checkreadDetects whether the GitButler
git_cherry_pickreadNo description in the source
git_commitsreadNo description in the source
git_contextreadNo description in the source
git_docsreadNo description in the source
git_entire_checkreadDetect whether the Entire CLI is available and whether the repository is Entire-managed
git_flowreadNo description in the source
git_historyreadNo description in the source
git_jj_checkreadDetect whether the Jujutsu
git_lfsreadNo description in the source
git_pingreadNo description in the source
git_prreadNo description in the source
git_rebasereadNo description in the source
git_remotesreadNo description in the source
git_rewritereadNo description in the source
git_stashreadNo description in the source
git_statusreadNo description in the source
git_submodulereadNo description in the source
git_tagreadNo description in the source
git_tangled_checkreadDetect whether the repository origin remote points at a Tangled host (tangled.org or a
git_workflowreadNo description in the source
git_workspacereadNo description in the source
git_worktreereadNo description in the source
open_git_mcp_docsreadOpen git-mcp documentation pages in this tab.

Install

Package version 0.4.0 · audited commit c4cd4bd

Read the findings first. The most severe is Hard-coded secrets (medium) at src/security/__tests__/redact.test.ts.

claude mcp add git-mcp --env GIT_SIGNING_KEY=${GIT_SIGNING_KEY} -- npx -y @selfagency/[email protected]

The command pins the package version recorded in the source (0.4.0); the audit covers commit c4cd4bd1b36a. Transport: stdio. Reads these environment variables: GH_TOKEN, GITHUB_TOKEN, GIT_SIGNING_KEY. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 81 / 100

    First audit · c4cd4bd1b36a

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/selfagency/git-mcp/badge.svg)](https://modelsatlas.com/mcp/selfagency/git-mcp/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about git-mcp

What is the git-mcp MCP server?
A Git MCP server that doesn't suck
What tools does git-mcp expose?
28 in total: 27 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is git-mcp safe to connect to an agent?
With care. The audit graded it B (81/100) and found 13 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does git-mcp need?
It reads GH_TOKEN, GITHUB_TOKEN and GIT_SIGNING_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does git-mcp run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @selfagency/git-mcp at 0.4.0.
How current is this page?
The grade is for one exact copy of the source (c4cd4bd1b36a), read on 2026-10-14. The repository is watched and re-audited when it changes.

Sources

  • selfagency/git-mcp on GitHub — the source we read, its licence, stars and activityObserved · 14 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit c4cd4bd1b36aObserved · 14 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.