git-mcp
A Git MCP server that exposes the full Git workflow including CRUD operations, generalized topic actions, and classic feature/release/hotfix/support aliases. It provides documentation lookup, URI-addressable read-only views of status and logs, bundled agent skills for AI workflows, external VCS awareness for GitButler and Jujutsu, history rewriting, repository analytics, pull request management across multiple providers, and support for worktrees and multi-repo configurations.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Perform Git CRUD operations and manage feature branches
- Search git-scm.com documentation and fetch man pages via LLM
- Create, list, and merge pull requests on GitHub or GitLab
- Rewrite commit history safely with reword and squash operations
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@selfagency/git-mcp 0.4.2
{
"version": "0.4.2",
"transport": "stdio",
"identifier": "@selfagency/git-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "GIT_REPO_PATH",
"format": "string",
"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."
},
{
"name": "GIT_ALLOW_NO_VERIFY",
"format": "string",
"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."
},
{
"name": "GIT_ALLOW_FORCE_PUSH",
"format": "string",
"description": "Set to 'true' to expose a force parameter on push tools. Remote branch protection rules (GitHub/GitLab) are still enforced server-side regardless."
},
{
"name": "GIT_ALLOW_FLOW_HOOKS",
"format": "string",
"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."
},
{
"name": "GIT_SIGNING_KEY",
"format": "string",
"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."
},
{
"name": "GIT_SIGNING_FORMAT",
"format": "string",
"description": "Signing format for commits and tags. Accepted values: openpgp, ssh, x509."
},
{
"name": "GIT_AUTO_SIGN_COMMITS",
"format": "string",
"description": "Set to 'true' to automatically sign all commits produced by this server."
},
{
"name": "GIT_AUTO_SIGN_TAGS",
"format": "string",
"description": "Set to 'true' to automatically sign all tags produced by this server."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"git-mcp": {
"command": "npx",
"args": [
"-y",
"@selfagency/git-mcp@0.4.2"
],
"env": {
"GIT_REPO_PATH": "<YOUR_GIT_REPO_PATH>",
"GIT_ALLOW_NO_VERIFY": "<YOUR_GIT_ALLOW_NO_VERIFY>",
"GIT_ALLOW_FORCE_PUSH": "<YOUR_GIT_ALLOW_FORCE_PUSH>",
"GIT_ALLOW_FLOW_HOOKS": "<YOUR_GIT_ALLOW_FLOW_HOOKS>",
"GIT_SIGNING_KEY": "<YOUR_GIT_SIGNING_KEY>",
"GIT_SIGNING_FORMAT": "<YOUR_GIT_SIGNING_FORMAT>",
"GIT_AUTO_SIGN_COMMITS": "<YOUR_GIT_AUTO_SIGN_COMMITS>",
"GIT_AUTO_SIGN_TAGS": "<YOUR_GIT_AUTO_SIGN_TAGS>"
}
}
}
}Cline
{
"mcpServers": {
"git-mcp": {
"command": "npx",
"args": [
"-y",
"@selfagency/git-mcp@0.4.2"
],
"env": {
"GIT_REPO_PATH": "<YOUR_GIT_REPO_PATH>",
"GIT_ALLOW_NO_VERIFY": "<YOUR_GIT_ALLOW_NO_VERIFY>",
"GIT_ALLOW_FORCE_PUSH": "<YOUR_GIT_ALLOW_FORCE_PUSH>",
"GIT_ALLOW_FLOW_HOOKS": "<YOUR_GIT_ALLOW_FLOW_HOOKS>",
"GIT_SIGNING_KEY": "<YOUR_GIT_SIGNING_KEY>",
"GIT_SIGNING_FORMAT": "<YOUR_GIT_SIGNING_FORMAT>",
"GIT_AUTO_SIGN_COMMITS": "<YOUR_GIT_AUTO_SIGN_COMMITS>",
"GIT_AUTO_SIGN_TAGS": "<YOUR_GIT_AUTO_SIGN_TAGS>"
}
}
}
}VS Code
{
"servers": {
"git-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@selfagency/git-mcp@0.4.2"
],
"env": {
"GIT_REPO_PATH": "<YOUR_GIT_REPO_PATH>",
"GIT_ALLOW_NO_VERIFY": "<YOUR_GIT_ALLOW_NO_VERIFY>",
"GIT_ALLOW_FORCE_PUSH": "<YOUR_GIT_ALLOW_FORCE_PUSH>",
"GIT_ALLOW_FLOW_HOOKS": "<YOUR_GIT_ALLOW_FLOW_HOOKS>",
"GIT_SIGNING_KEY": "<YOUR_GIT_SIGNING_KEY>",
"GIT_SIGNING_FORMAT": "<YOUR_GIT_SIGNING_FORMAT>",
"GIT_AUTO_SIGN_COMMITS": "<YOUR_GIT_AUTO_SIGN_COMMITS>",
"GIT_AUTO_SIGN_TAGS": "<YOUR_GIT_AUTO_SIGN_TAGS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"git-mcp": {
"command": "npx",
"args": [
"-y",
"@selfagency/git-mcp@0.4.2"
],
"env": {
"GIT_REPO_PATH": "<YOUR_GIT_REPO_PATH>",
"GIT_ALLOW_NO_VERIFY": "<YOUR_GIT_ALLOW_NO_VERIFY>",
"GIT_ALLOW_FORCE_PUSH": "<YOUR_GIT_ALLOW_FORCE_PUSH>",
"GIT_ALLOW_FLOW_HOOKS": "<YOUR_GIT_ALLOW_FLOW_HOOKS>",
"GIT_SIGNING_KEY": "<YOUR_GIT_SIGNING_KEY>",
"GIT_SIGNING_FORMAT": "<YOUR_GIT_SIGNING_FORMAT>",
"GIT_AUTO_SIGN_COMMITS": "<YOUR_GIT_AUTO_SIGN_COMMITS>",
"GIT_AUTO_SIGN_TAGS": "<YOUR_GIT_AUTO_SIGN_TAGS>"
}
}
}
}Let your agent find its tools
Find servers like git-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.