MCP directory
GM

Git Mcp

by github.com/selfagency · v0.4.2 · updated Oct 14, 2026

A Git MCP server that doesn't suck

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @selfagency/[email protected]

Environment variables

  • GIT_REPO_PATH

    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

    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

    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

    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_KEYsecret

    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_SIGNING_FORMAT

    Signing format for commits and tags. Accepted values: openpgp, ssh, x509.

  • GIT_AUTO_SIGN_COMMITS

    Set to 'true' to automatically sign all commits produced by this server.

  • GIT_AUTO_SIGN_TAGS

    Set to 'true' to automatically sign all tags produced by this server.

More from github.com/selfagency

More MCP servers