Skip to main content

Git MCP

io.github.selfagency/git-mcp

v0.4.2Updated Oct 14, 2026stdio · npm

A Git MCP server that doesn't suck

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add git-mcp -- npx -y @selfagency/[email protected]

Configuration

8 settings.

  • GIT_SIGNING_KEY
    Env var· optional· secret
    Default signing key: a GPG key ID, an SSH public key path, or empty to use git's configured user.signingkey. Used when GIT_AUTO_SIGN_COMMITS or GIT_AUTO_SIGN_TAGS is enabled.
  • GIT_REPO_PATH
    Env var· optional
    Default repository path for all tool requests. Can also be set via the --repo / --repo-path CLI argument. If omitted, each tool call must supply repo_path explicitly.
  • GIT_ALLOW_NO_VERIFY
    Env var· optional
    Set to 'true' to expose a no_verify parameter on commit and push tools, passing --no-verify to Git and bypassing pre-commit / pre-push hooks.
  • GIT_ALLOW_FORCE_PUSH
    Env var· optional
    Set to 'true' to expose a force parameter on push tools. Remote branch protection rules (GitHub/GitLab) are still enforced server-side regardless.
  • GIT_ALLOW_FLOW_HOOKS
    Env var· optional
    Set to 'true' to allow git_flow to execute git-flow-next-compatible hook and filter programs discovered from git config or repository hook locations.
  • GIT_SIGNING_FORMAT
    Env var· optional
    Signing format for commits and tags. Accepted values: openpgp, ssh, x509.
Show 2 more
  • GIT_AUTO_SIGN_COMMITS
    Env var· optional
    Set to 'true' to automatically sign all commits produced by this server.
  • GIT_AUTO_SIGN_TAGS
    Env var· optional
    Set to 'true' to automatically sign all tags produced by this server.

Listed in the official MCP Registry since Oct 14, 2026. Mirrored daily; last checked Nov 26, 2026.