Git MCP Server

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

Local serverstdio

What is the Git MCP Server?

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

Packages and local setup

The published npm package is @abhishekmcp/git, version 0.2.0. Its declared MCP transport is stdio.

The package declares GIT_ROOTS (required): Allowed repo root directories (comma-separated). Required — the server refuses to start without it.; GIT_WRITABLE: Set to 1 or true to enable local write tools (stage/commit/branch/checkout)..

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository · Project website. This profile uses version 0.2.0 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related other integrations MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
GIT_ROOTSAllowed repo root directories (comma-separated). Required — the server refuses to start without it.Yes
GIT_WRITABLESet to 1 or true to enable local write tools (stage/commit/branch/checkout).Optional