Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

GuardGit MCP

by Hessam-Mamaganiversion 1.0.0i★ 0iRuns on your computerOfficial site ↗

How to install

What it does

Pre-commit secret guard, structural JSON diff, merge-tree conflict & atomic commit SEP-1865 MCP App

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Developer tools

Use together with

Skills that teach the AI this kind of work; they work alongside this one

rea

Reverse engineer anything with agents, from app behavior down to native binaries.

by morluto★ 478,4891 skills

Skill · How-to guide

andrej-karpathy-skills

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

by multica-ai★ 235,7181 skills

Skill · How-to guideNo license stated

graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

by Graphify-Labs★ 153,3911 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install GuardGit MCP. Follow https://mcp.popnx.com/i/hessam-mamagani-guardgit-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 25, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server GuardGit MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "guardgit": { "command": "npx", "args": [ "-y", "guardgit-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the GuardGit MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "guardgit": {
          "command": "npx",
          "args": [
            "-y",
            "guardgit-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use GuardGit MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using GuardGit MCP or shows a GuardGit MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect GuardGit MCP yet

GuardGit MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect GuardGit MCP

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Developer tools that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server GuardGit MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user guardgit -- npx -y guardgit-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the GuardGit MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user guardgit -- npx -y guardgit-mcp
  4. Type /mcp in Claude Code

    You should see GuardGit MCP listed as connected

  5. Try it

    Use GuardGit MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using GuardGit MCP or shows a GuardGit MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server GuardGit MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "guardgit": { "command": "npx", "args": [ "-y", "guardgit-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the GuardGit MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use GuardGit MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using GuardGit MCP or shows a GuardGit MCP tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server GuardGit MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "guardgit": { "type": "stdio", "command": "npx", "args": [ "-y", "guardgit-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the GuardGit MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use GuardGit MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using GuardGit MCP or shows a GuardGit MCP tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use GuardGit MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user guardgit -- npx -y guardgit-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "guardgit": {
      "command": "npx",
      "args": [
        "-y",
        "guardgit-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "guardgit": {
      "command": "npx",
      "args": [
        "-y",
        "guardgit-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "guardgit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "guardgit-mcp"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
io.github.Hessam-Mamagani/guardgit-mcp
Downloads per weeki
Not on npm/PyPI
Licencei
AGPL-3.0
Connection
Runs on your computer
Latest versioni
1.0.0
Published to registryi
Nov 25, 2026
Code last changedi
Nov 25, 2026
Maker
Hessam-Mamagani
Packages
npm: guardgit-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Hessam-Mamagani, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses AGPL-3.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for guardgit-mcp@1.0.0

Checks only this package version, not every dependency · checked Nov 25, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/hessam-mamagani-guardgit-mcp.svg)](https://mcp.popnx.com/en/servers/hessam-mamagani-guardgit-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Developer toolsi

  • More stars than 0% of the other 8006 servers in this category
  • Published to the registry more recently than 97% of the other 8006 servers in this category
  • Basic checks equal to or better than 99% of the other 8006 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is GuardGit MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (1.0.0) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

GitDiagram

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

by ahmedkhaleel2004Widely used★ 19.1KUpdated 2 months ago

Connect now (has URL)3 tools · light✓ service owner · gitdiagram.comTried by the PopNx team

Appllama

Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.

by AppllamaWidely used★ 5.7KUpdated 3 months ago

Connect now (has URL) · sign-in✓ service owner · appllama.io

Cloudflare MCP

Cloudflare MCP servers

by cloudflareGrowing★ 4.5KUpdated 14 months ago

Connect now (has URL)2 tools · light✓ service owner · mcp.cloudflare.comTried by the PopNx team

Omnara

Deploy durable AI agents with Omnara, an open-source managed-agent platform.

by omnara-aiWidely used★ 3.5KUpdated 2 months ago

Connect now (has URL) · sign-in✓ service owner · omnara.com

Repowise

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

by repowise-devWidely used↓ 6.5K/wk★ 8.3K Stars for the whole repoUpdated 4 days ago

Connect now (has URL) · sign-in✓ service owner · repowise.dev
Compared with similar ones
This one
GuardGit MCP
GitDiagramAppllamaCloudflare MCPOmnaraRepowise
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoYesNoNo
Basic checks3/34/44/44/44/45/5
LicenseAGPL-3.0MITMITApache-2.0Apache-2.0AGPL-3.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

GuardGit MCP

Pre-Commit DevSecOps Safety Net & Structural Diff Cockpit for Autonomous AI Coding Agents

GuardGit MCP is an open-source (GNU AGPL-3.0, with Commercial Dual-Licensing available), zero-mutation SEP-1865 MCP App and CLI (npx guardgit-mcp) that protects repositories from the four most common failure modes of autonomous AI coding agents:

  1. Secret & Artifact Leakage (`scan_precommit_guard`): Catches .env files, AWS/OpenAI/Anthropic/GitHub/Stripe/Cloudflare/Google/Slack/npm tokens, JWTs, PEM private keys, database credentials, high-entropy assignments, large/binary blobs (>1 MB configurable), SQLite files, and build artifacts (node_modules/, dist/, .next/, *.vsix, *.db) — returning a 0-100 risk score, PASS / WARN / BLOCK verdict, redacted previews, .gitignore blocks, and copyable git rm --cached remediation commands.
  2. Unreadable Minified/Large JSON Diffs (`diff_structural_json`): Replaces 10,000-character single-line diffs in package.json, tsconfig.json, lockfiles, i18n locale dictionaries (en.json, tr.json), and Terraform/Kubernetes JSON with semantic key-level trees, keyed array matching, bulk-shift noise suppression, and automatic breaking-change flags.
  3. Blind Force-Pushes & Merge Surprises (`analyze_blast_radius`): Computes directory-level blast-radius heatmaps across sensitive surfaces (auth/RBAC, migrations, CI/CD, API contracts, runtime config) and executes strictly read-only, in-memory git merge-tree --write-tree conflict dry-runs against your target branch with zero working-tree mutations.
  4. 40-File AI Mega-Commits (`plan_atomic_commits`): Withholds blocked secrets/artifacts and groups safe changes into logically ordered Conventional Commits (build, ci, chore, feat, fix, refactor, test, docs) with ready-to-run staging commands.

Architecture

flowchart LR

Host["MCP Host (Antigravity / Claude / Cursor / VS Code)"] <-->|"JSON-RPC stdio"| Server["GuardGit MCP Server (src/server.ts)"] Server -->|"ui://guardgit/cockpit.html (singlefile)"| UI["SEP-1865 Cockpit UI (iframe)"] UI <-->|"postMessage + @modelcontextprotocol/ext-apps"| Host Server --> Core["Pure TypeScript Core (src/core)"] Core --> G1["guardScan (Secrets + Entropy + Artifacts)"] Core --> G2["structuralJsonDiff (Key/Array Tree + Breaking Flags)"] Core --> G3["blastRadius + git merge-tree (Read-Only Dry Run)"] Core --> G4["planAtomicCommits (Conventional Commit Splitter)"] CLI["CLI (npx guardgit-mcp)"] --> Core

Quickstart

1. Run as an MCP Server (stdio)
npx guardgit-mcp
2. Run Directly in Terminal or CI Pre-Commit Hooks
# Scan working tree & staged diffs (exits code 2 on BLOCK with --strict)

npx guardgit-mcp scan . --strict

Semantic JSON diff between two files (or git HEAD vs working tree)

npx guardgit-mcp diff old.json new.json npx guardgit-mcp diff --repo . --file package.json --base HEAD

Blast-radius score + read-only git merge-tree conflict dry-run

npx guardgit-mcp blast . --target main

Generate an atomic Conventional Commit split plan

npx guardgit-mcp plan .

Host Configuration

Antigravity (Native SEP-1865 Plugin with Side Pane & Sidebar)

Build and copy the self-contained plugin bundle:

npm install

npm run build cp -R ./plugin ~/.gemini/config/plugins/guardgit-mcp

PowerShell:

npm install; npm run build

Copy-Item -Recurse -Force ".\plugin" "$HOME\.gemini\config\plugins\guardgit-mcp"

Open GuardGit Cockpit directly from the side pane (+ menu) or the left sidebar.

Claude Desktop / Claude Code

Add to claude_desktop_config.json or .mcp.json:

{

"mcpServers": { "guardgit": { "command": "npx", "args": ["-y", "guardgit-mcp"] } } }

Cursor

Add to .cursor/mcp.json:

{

"mcpServers": { "guardgit": { "command": "npx", "args": ["-y", "guardgit-mcp"] } } }

Exposed MCP Tools & UI Resource

  • UI Resource: ui://guardgit/cockpit.html (text/html;profile=mcp-app, prefersBorder: false, bundled single-file HTML with zero external CDN calls).
  • `open_guardgit_cockpit`: Runs the full repo health overview (Guard + Blast Radius + Atomic Split + modified JSON detection) and opens the interactive cockpit (aux_pane and global entrypoints).
  • `scan_precommit_guard`: Scans a repository path, raw unified diff, or in-memory file array for secrets, high-entropy assignments, large blobs, binaries, and build artifacts.
  • `diff_structural_json`: Computes a semantic key/array diff with breaking-change flags on two JSON strings or a tracked Git file vs HEAD.
  • `analyze_blast_radius`: Scores commit blast radius (0-100), renders a folder-level heatmap, and runs a read-only git merge-tree --write-tree conflict dry-run.
  • `plan_atomic_commits`: Splits staged/unstaged changes into ordered Conventional Commits while automatically excluding blocked secrets and artifacts.

All tool arguments are optional; invoking any tool with {} returns a complete default view for the current working directory.

Development & Testing

npm install

npm run build npm test

Security & Privacy

  • 100% local & read-only: GuardGit never pushes, checks out, resets, or mutates your working tree, and makes zero network requests.
  • Automatic redaction: Detected secret tokens are masked (sk-a***...***9f2a) before returning tool results so raw credentials are never echoed into LLM conversation logs.

License (Dual-Licensed: GNU AGPL-3.0 + Commercial)

  • Open-Source License (Free): Copyright (c) 2026 Hessam Mamagani. Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0) — see LICENSE. Free for personal, open-source, and local developer CLI/MCP usage. Any modified or network-hosted derivative must remain open-source under AGPL-3.0 with original copyright attribution.
  • Commercial / Enterprise License: Organizations or developers wishing to embed GuardGit MCP inside proprietary/closed-source software, distribute modified closed-source derivatives, or license enterprise Pro integrations can obtain a commercial license — see COMMERCIAL_LICENSE.md.