Git

io.github.Abhishekkumar2021/git

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": [
        "-y",
        "@abhishekmcp/git@0.2.0"
      ],
      "env": {
        "GIT_ROOTS": "<your GIT_ROOTS>"
      }
    }
  }
}
Environment variables
  • GIT_ROOTSrequiredAllowed repo root directories (comma-separated). Required — the server refuses to start without it.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.2.0
Registry
active
Published
6/28/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Git is listed here — it’s also the link we check for a free listing.

Git — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-abhishekkumar2021-git?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Git — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Git — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-abhishekkumar2021-git?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.