mcpbeat Sign in

Git MCP Server

local only

Git runs on your own machine — the client starts it, so there is no endpoint to ping. 80 installs a week from npm. Last commit 21 Mar 2026.

Git log, diff, blame, branch stats for AI agents

Installs per day peak 30 · avg 5 · +344% w/w
a month agotoday
80
Installs / week
npm · @rog0x/mcp-git-tools
0
Stars
1 open issue
21 Mar 2026
Last commit
no releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 3 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

    const raw = execSync(parts.join(" "), {
Known vulnerability in the package @rog0x/mcp-git-tools · GHSA-jwc4-922r-f2rw

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add git -- npx -y @rog0x/mcp-git-tools
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-git-tools"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.git]
command = "npx"
args = ["-y", "@rog0x/mcp-git-tools"]
.cursor/mcp.json
{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-git-tools"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "git": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-git-tools"
      ]
    }
  }
}

Alternatives to Git

same job, measured the same way
MCP Git
by infoinlet-marketplace

Read-only Git inspection for AI agents — log, show, diff, status, blame, grep. No writes.

48 installs/wk local only
Repoport
by cloudcorprecords

Local git operations over MCP: status, diff, log, branches and commits.

249 installs/wk local only
Git
by dave-london

Structured git operations (status, log, diff, branch, show) as typed JSON.

local only
Log
by rog0x

Log parse, filter, analyze for AI agents

33 installs/wk local only
Git
by abhishekkumar2021

Local Git via MCP: status, log, diff, file history, branches, and gated stage/commit. Pure-JS.

50 installs/wk local only
Pare Git
by dave-london

Pare Git ג€” Structured git operations (status, log, diff, branch, commit, push) as typed JSON.

172 installs/wk local only
Queryshield
by bch1212

Secure SQL proxy for AI agents — NL→SQL, AST safety, per-agent RLS, audit log.

63 installs/wk local only
Trace Forge
by mdfifty50-boop

Structured execution trace and span logging for AI agents

42 installs/wk local only

Git — questions

Answers built from our own checks of this server.

Why is there no uptime for Git?
Git runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @rog0x/mcp-git-tools was installed 80 times last week.
How do I connect Git?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @rog0x/mcp-git-tools straight from npm; nothing to host, nothing to sign up for.
How many people use Git?
The npm package @rog0x/mcp-git-tools was installed 80 times in the last week. Week over week that is +344%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Git open source?
Yes — it is published under the MIT licence, written in TypeScript, 0 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.