Skip to content
mcp/skillhub

Git MCP Server

by abhishekkumar2021io.github.Abhishekkumar2021/gitv0.2.0

MCP server for local Git repositories — status, log, diff, file history, branches, and gated stage/commit — pure-JS (isomorphic-git), no git binary, from any MCP client.

1Node.jsstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Slowing3mo ago

Install Git MCP server

Install in Claude Code

claude mcp add git -e GIT_ROOTS='<git-roots>' -- npx -y @abhishekmcp/git

Configuration

VariableRequiredSecretDescription
GIT_ROOTSyes—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).

Freshness

Slowing — last maintenance signal 3mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-07-04 · 3mo ago · GitHub

  2. Latest release

    2026-07-04 · 3mo ago · GitHub · http-v0.1.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-06-28 · 3mo ago · official registry · v0.2.0

FAQ

›How do I install the Git MCP server in Claude Code?

Run: claude mcp add git -e GIT_ROOTS='<git-roots>' -- npx -y @abhishekmcp/git. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Git require an API key?

Yes. It expects GIT_ROOTS.

›Can I use Git as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Git in the official MCP registry?

Yes, as io.github.Abhishekkumar2021/git.

Alternatives to Git

Other version control MCP servers.

View all