git-mcp
io.github.selfagency/git-mcp
About git-mcp
git-mcp is an MCP server published by the GitHub account selfagency. A Git MCP server that doesn't suck
It runs on your own machine: your AI client starts it from the npm package @selfagency/git-mcp at version 0.4.2.
It asks for one secret: GIT_SIGNING_KEY. Give it a key with the least access that still works.
Version 0.4.2 was published on 14 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 6 pass, 1 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
GIT_REPO_PATH | No | No | 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 | No | No | 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 | No | No | 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 | No | No | 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_KEY | No | Yes | 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 | No | No | Signing format for commits and tags. Accepted values: openpgp, ssh, x509. |
GIT_AUTO_SIGN_COMMITS | No | No | Set to 'true' to automatically sign all commits produced by this server. |
GIT_AUTO_SIGN_TAGS | No | No | Set to 'true' to automatically sign all tags produced by this server. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/selfagency/git-mcp |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: GIT_SIGNING_KEY |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account selfagency |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @selfagency/git-mcp@0.4.2 runs nothing at install |
| Code red flags | Pass | Read 15 files in @selfagency/git-mcp@0.4.2: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Warn | Tells the AI to hide something from the user (skills/git-mcp-workflow/references/workflow-playbooks.md: "…ktree whose baseline is already failing without telling the user --- ## 6. Stash-driven context switch…"). Read the context: a security tool may quote these on purpose. |
Popularity & health: 55 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
0 forks, 22 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.selfagency/git-mcp |
|---|---|
| Publisher | GitHub account selfagency |
| How the name is verified | Name verified via GitHub account selfagency. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @selfagency/git-mcp 0.4.2 (stdio) |
| Version | 0.4.2 |
| Published | |
| Last updated | |
| Source repository | https://github.com/selfagency/git-mcp |
| Website | None linked |
| Category | Coding & design (assigned by keyword rule, not by hand) |
Related servers in Coding & design
- arkgate7/7When the agent writes a bad import, the write doesn’t land. The…
- closure_drift4/4Before an agent tags a release: does that version label already…
- buddie7/7Checks agent reports: quotes against source snapshots, repo/PR/CI…
Mergetrain6/7Queue parallel-agent worktree branches, test together, serialize…- Foremerge3/4Coordinate parallel coding agents, above Git
- GitEasy MCP4/4Plain-English git for agents: 22 tools to branch, commit, push and…