L'Agora
MCPLocal

io.github.selfagency/git-mcp

A Git MCP server that doesn't suck

Repository
github.com/selfagency/git-mcp
Version
0.4.2
Author
selfagency (namespace verified by the registry)
Source
Official MCP registry (updated Oct 14, 2026)

How to install it

Variables to fill in: GIT_REPO_PATH, GIT_ALLOW_NO_VERIFY, GIT_ALLOW_FORCE_PUSH, GIT_ALLOW_FLOW_HOOKS, GIT_SIGNING_KEY, GIT_SIGNING_FORMAT, GIT_AUTO_SIGN_COMMITS, GIT_AUTO_SIGN_TAGS.

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add git-mcp -e GIT_REPO_PATH=YOUR_GIT_REPO_PATH -e GIT_ALLOW_NO_VERIFY=YOUR_GIT_ALLOW_NO_VERIFY -e GIT_ALLOW_FORCE_PUSH=YOUR_GIT_ALLOW_FORCE_PUSH -e GIT_ALLOW_FLOW_HOOKS=YOUR_GIT_ALLOW_FLOW_HOOKS -e GIT_SIGNING_KEY=YOUR_GIT_SIGNING_KEY -e GIT_SIGNING_FORMAT=YOUR_GIT_SIGNING_FORMAT -e GIT_AUTO_SIGN_COMMITS=YOUR_GIT_AUTO_SIGN_COMMITS -e GIT_AUTO_SIGN_TAGS=YOUR_GIT_AUTO_SIGN_TAGS -- npx -y @selfagency/[email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "git-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@selfagency/[email protected]"
      ],
      "env": {
        "GIT_REPO_PATH": "YOUR_GIT_REPO_PATH",
        "GIT_ALLOW_NO_VERIFY": "YOUR_GIT_ALLOW_NO_VERIFY",
        "GIT_ALLOW_FORCE_PUSH": "YOUR_GIT_ALLOW_FORCE_PUSH",
        "GIT_ALLOW_FLOW_HOOKS": "YOUR_GIT_ALLOW_FLOW_HOOKS",
        "GIT_SIGNING_KEY": "YOUR_GIT_SIGNING_KEY",
        "GIT_SIGNING_FORMAT": "YOUR_GIT_SIGNING_FORMAT",
        "GIT_AUTO_SIGN_COMMITS": "YOUR_GIT_AUTO_SIGN_COMMITS",
        "GIT_AUTO_SIGN_TAGS": "YOUR_GIT_AUTO_SIGN_TAGS"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "git-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@selfagency/[email protected]"
      ],
      "env": {
        "GIT_REPO_PATH": "YOUR_GIT_REPO_PATH",
        "GIT_ALLOW_NO_VERIFY": "YOUR_GIT_ALLOW_NO_VERIFY",
        "GIT_ALLOW_FORCE_PUSH": "YOUR_GIT_ALLOW_FORCE_PUSH",
        "GIT_ALLOW_FLOW_HOOKS": "YOUR_GIT_ALLOW_FLOW_HOOKS",
        "GIT_SIGNING_KEY": "YOUR_GIT_SIGNING_KEY",
        "GIT_SIGNING_FORMAT": "YOUR_GIT_SIGNING_FORMAT",
        "GIT_AUTO_SIGN_COMMITS": "YOUR_GIT_AUTO_SIGN_COMMITS",
        "GIT_AUTO_SIGN_TAGS": "YOUR_GIT_AUTO_SIGN_TAGS"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "git-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@selfagency/[email protected]"
      ],
      "env": {
        "GIT_REPO_PATH": "YOUR_GIT_REPO_PATH",
        "GIT_ALLOW_NO_VERIFY": "YOUR_GIT_ALLOW_NO_VERIFY",
        "GIT_ALLOW_FORCE_PUSH": "YOUR_GIT_ALLOW_FORCE_PUSH",
        "GIT_ALLOW_FLOW_HOOKS": "YOUR_GIT_ALLOW_FLOW_HOOKS",
        "GIT_SIGNING_KEY": "YOUR_GIT_SIGNING_KEY",
        "GIT_SIGNING_FORMAT": "YOUR_GIT_SIGNING_FORMAT",
        "GIT_AUTO_SIGN_COMMITS": "YOUR_GIT_AUTO_SIGN_COMMITS",
        "GIT_AUTO_SIGN_TAGS": "YOUR_GIT_AUTO_SIGN_TAGS"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

This server runs on your machine: we cannot test it remotely.

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.selfagency/git-mcp on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.selfagency/git-mcp on L’Agora](https://lagora.dev/badge/io.github.selfagency/git-mcp.svg?lang=en)](https://lagora.dev/en/entry/io.github.selfagency/git-mcp)

HTML

<a href="https://lagora.dev/en/entry/io.github.selfagency/git-mcp"><img src="https://lagora.dev/badge/io.github.selfagency/git-mcp.svg?lang=en" alt="io.github.selfagency/git-mcp on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

By the same author

io.github.selfagency/beans-mcp Local

Report this entry