GI

git MCP Server

Published by rog0x

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

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
1.0.1
SOURCE CHECKED
Nov 27, 2026

Quick answers

How do I add git MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --transport stdio git -- npx -y @rog0x/mcp-git-tools
Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-git-tools"
      ]
    }
  }
}
Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add git -- npx -y @rog0x/mcp-git-tools
Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "git": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-git-tools"
      ]
    }
  }
}
VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "git": {
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-git-tools"
      ]
    }
  }
}
Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use git MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does git MCP Server need an API key?

Its listing declares no key or settings needed to run it.

Is git MCP Server official?

It's published by rog0x. The Official MCP Registry accepts names under io.github.rog0x only from the GitHub account or organisation rog0x. We last checked its listing on Nov 27, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · @rog0x/mcp-git-tools@1.0.1
View source repository