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_KEYEnv var· optional· secretDefault 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_PATHEnv var· optionalDefault 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_VERIFYEnv var· optionalSet 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_PUSHEnv var· optionalSet 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_HOOKSEnv var· optionalSet 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_FORMATEnv var· optionalSigning format for commits and tags. Accepted values: openpgp, ssh, x509.
Show 2 moreShow fewer
GIT_AUTO_SIGN_COMMITSEnv var· optionalSet to 'true' to automatically sign all commits produced by this server.GIT_AUTO_SIGN_TAGSEnv var· optionalSet to 'true' to automatically sign all tags produced by this server.
Links
Listed in the official MCP Registry since Oct 14, 2026. Mirrored daily; last checked Nov 26, 2026.