Home / Market / git-mcp

git-mcp

A Git MCP server that doesn't suck

mcp★ 073 dlmcp-registryMIT configuration; upstream service license appliesInstall in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-git-mcp-d22970d32693611bef21": { "command": "npx", "args": [ "-y", "--package", "@selfagency/git-mcp@0.4.2", "git-mcp" ], "env": { "GIT_REPO_PATH": "${ENV_GIT_REPO_PATH}", "GIT_ALLOW_NO_VERIFY": "${ENV_GIT_ALLOW_NO_VERIFY}", "GIT_ALLOW_FORCE_PUSH": "${ENV_GIT_ALLOW_FORCE_PUSH}", "GIT_ALLOW_FLOW_HOOKS": "${ENV_GIT_ALLOW_FLOW_HOOKS}", "GIT_SIGNING_KEY": "${ENV_GIT_SIGNING_KEY}", "GIT_SIGNING_FORMAT": "${ENV_GIT_SIGNING_FORMAT}", "GIT_AUTO_SIGN_COMMITS": "${ENV_GIT_AUTO_SIGN_COMMITS}", "GIT_AUTO_SIGN_TAGS": "${ENV_GIT_AUTO_SIGN_TAGS}" } } }, "setup": { "fields": [ { "id": "ENV_GIT_REPO_PATH", "label": "GIT_REPO_PATH", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_GIT_ALLOW_NO_VERIFY", "label": "GIT_ALLOW_NO_VERIFY", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_GIT_ALLOW_FORCE_PUSH", "label": "GIT_ALLOW_FORCE_PUSH", "description": "Set to 'true' to expose a force parameter on push tools. Remote branch protection rules (GitHub/GitLab) are still enforced server-side regardless.", "required": false, "secret": false, "default": "" }, { "id": "ENV_GIT_ALLOW_FLOW_HOOKS", "label": "GIT_ALLOW_FLOW_HOOKS", "description": "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.", "required": false, "secret": false, "default": "" }, { "id": "ENV_GIT_SIGNING_KEY", "label": "GIT_SIGNING_KEY", "description": "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.", "required": false, "secret": true, "default": "" }, { "id": "ENV_GIT_SIGNING_FORMAT", "label": "GIT_SIGNING_FORMAT", "description": "Signing format for commits and tags. Accepted values: openpgp, ssh, x509.", "required": false, "secret": false, "default": "" }, { "id": "ENV_GIT_AUTO_SIGN_COMMITS", "label": "GIT_AUTO_SIGN_COMMITS", "description": "Set to 'true' to automatically sign all commits produced by this server.", "required": false, "secret": false, "default": "" }, { "id": "ENV_GIT_AUTO_SIGN_TAGS", "label": "GIT_AUTO_SIGN_TAGS", "description": "Set to 'true' to automatically sign all tags produced by this server.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.selfagency/git-mcp", "registryVersion": "0.4.2", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.selfagency%2Fgit-mcp/versions/0.4.2", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "@selfagency/git-mcp", "version": "0.4.2", "integrity": "sha512-j06nR82tIE4eIcGd1uMoQTD2aJpKLizVADxLrV4sU5z2nq+EXXzv/1jczf4QAfGZ2oYZuHYVaNpj5AWr4k4CMA==", "registryNameMatched": "io.github.selfagency/git-mcp", "checkedAt": "2026-11-04T17:37:06.007Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }