io.github.Yantrakar/gitpro
Manages per-repository Git identities, SSH keys, and commit signing, with identity-scoped preflight and execution for commits and pushes.
Supports GitHub account identity selection and identity-scoped GitHub pull request creation as part of agent workflows.
Supports GitLab account identity matching and per-host/owner configuration for separate GitLab accounts, including names, emails, SSH keys, and signing.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
gitpro
The right Git identity, SSH key and signature for every repository.
gitpro.dev · PyPI · VS Code · made by Yantrakar

Work on a company repository, commit with your work email. Switch to a personal project, use your personal identity. Gitpro chooses by remote URL, not by where you happened to clone the repository.
Useful when you have more than one GitHub/GitLab account, separate work and personal keys, or keep finding the wrong email on your commits.
Try it
Requires Linux or macOS, Git 2.36+, Python 3.9+ and OpenSSH. Install from PyPI with pipx.
pipx install gitpro
gitpro setupSetup offers to look through your repos and proposes your identities. Accept, edit or answer the questions yourself; no TOML editing is needed. One preview shows everything, including the commit guard and, with Claude Code, its hook and MCP server. One yes applies it all. Setup never changes your repos.
flowchart LR
S["gitpro setup"] --> HC{"Config <br/>exists?"}
HC -->|no| L["Read your repos, <br/>SSH config and <br/>editor recents, <br/>if you agree"]
L --> Q["Propose <br/>identities; you <br/>accept or edit"]
Q --> I
HC -->|yes| I["Inspect config, <br/>Git and SSH files, <br/>keys, guard, <br/>agent hook, MCP"]
I -->|all current| OK["Nothing <br/>to do"]
I -->|something to do| PV["One preview, <br/>each part with <br/>its undo"]
PV --> ASK{"Apply <br/>all?"}
ASK -->|no| NONE["Nothing <br/>written"]
ASK -->|yes| AP["Write it, print <br/>the public keys <br/>to register"]
AP --> NX["Next: <br/>gitpro scan"]Then:
gitpro why # inside a repository: the expected identity and anything overriding it
gitpro scan # repos that need a fix, with the command for eachAlready have a config? gitpro setup brings this machine up to date with it.
gitpro setup -n only shows what is left to do. Prefer editing files? The
user guide covers the full TOML format.
Related MCP server: ChangeWarden
What you get
Work/personal separation: names, emails, SSH keys and signing per host/owner.
Answers, not guesswork:
gitpro whyexplains mismatches and suggests a fix.A safety net: optional hooks can block wrong-identity commits and pushes.
Editor and container support: see your identity in VS Code and carry it into dev containers.
Gitpro generates ordinary Git and SSH configuration; it needs no background service. Changes can be previewed, existing hand-written files are backed up, and key uploads are never part of setup.
Using VS Code?
The extension shows the current identity and helps find repository-level overrides. It runs the same commands as the terminal. Install the extension.
Go further when you need to
AI agents get the same answers through the MCP server and the Claude Code hook: see agent workflows.
I want to… | Start here |
Understand matching, SSH keys or signing | |
Find wrong identities or forgotten work | |
Use dev containers | |
Configure team policy, CI or AI assistants | |
Look up a command or undo changes | |
Troubleshoot or contribute |
Problems and questions
Run gitpro report to draft an issue with the versions and a redacted gitpro why; it shows
you the draft and opens nothing until you say yes. Or open an issue at github.com/Yantrakar/gitpro/issues.
Report a security problem privately with gitpro report --security, as the
security policy describes, not in a public issue.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Git-backed platform for skills, tools, and context for AI agents
Git-native policy layer for AI agents: check_action verdicts against rules approved via PR.
Git collaboration for AI agents and people: tasks, hand-offs, reviews, teams, shared memory.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to perform full Git operations including branching, committing, pushing, stashing, rebasing, and more, with safety features and support for advanced workflows like Git Flow and LFS.1MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI coding agents to request bounded GitHub changes through a default-deny policy, independent human approval, one-time execution with a GitHub App credential, and verifiable receipts.1-
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to perform scoped, policy-enforced GitHub operations with allowlisted repositories and tools, protected branches, approval gates, dry runs, secret redaction, and a tamper-evident audit log.MIT
- FlicenseAqualityBmaintenanceEnables coding agents to inspect repository state, create and amend commits, rewrite history and manage stacked branches, worktrees, and pushes against any Git remote.10507 npm-