gitpro
Read-only MCP server that shows which git name, email and SSH key a repo will use
- Pricing
- Open source
- Platforms
- CLI, macOS, Linux
- Runs
- Locally
- Version
- 0.4.6
- Listing updated
- 3 days ago
About gitpro
gitpro is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
The MCP server is the agent-facing half of gitpro, a tool that picks a Git identity from a repository's remote URL rather than from the folder it was cloned into. The server only answers questions: which identity a repository uses, why, and whether a commit would be blocked. Tools named on the site include why, setup, scan, audit, env and report, and fix commands wait for your approval.
It matters because coding agents run git commit, git push and gh pr create on their own. gitpro also ships a Claude Code PreToolUse hook that denies a call made under the wrong identity and never grants anything, and gitpro audit can find commits made as the wrong identity, fixing unpushed ones with --fix.
Gitpro writes ordinary git and SSH config with no daemon, previews every change and backs up hand-written files. It requires Linux or macOS, Git 2.36 or newer and Python 3.9 or newer, and is MIT-licensed. Hosts tested include GitHub, GitLab, Bitbucket, Azure DevOps, Codeberg and Gitea.
Install
Run in a terminal
claude mcp add gitpro -- uvx gitproAdd to claude_desktop_config.json
{
"mcpServers": {
"gitpro": {
"command": "uvx",
"args": [
"gitpro"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"gitpro": {
"command": "uvx",
"args": [
"gitpro"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"gitpro": {
"type": "stdio",
"command": "uvx",
"args": [
"gitpro"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"gitpro": {
"command": "uvx",
"args": [
"gitpro"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"gitpro": {
"command": "uvx",
"args": [
"gitpro"
]
}
}
}Tools this server provides (6)
Taken from the project documentation; the running server may differ.
- why
- Explain which identity a repository uses and what overrides it
- setup
- Show what setup would change
- scan
- Find repositories that need a fix
- audit
- Find commits made as the wrong identity
- env
- Show the environment
- report
- Draft an issue report
What it does
- Identity by remote URL
- Matches name, email and SSH key to the repository's remote.
- Explains mismatches
- The why check shows the expected identity and what overrides it.
- Commit guard
- Optional hooks refuse commits or pushes made as the wrong identity.
- Agent hook
- A Claude Code hook that only denies, never grants.
- History audit
- Finds commits made as the wrong identity or by an agent.
- Plain config
- Writes ordinary git and SSH files with previews and backups.
Good for
- Check which identity a repo would commit as before an agent pushes
- Keep work and personal GitHub accounts separate
- Find commits that went out under the wrong email
- Block an AI agent from committing as the wrong person
Pricing
Open source
Free and MIT-licensed
Prices change. Check gitpro.dev before you buy.
gitpro FAQ
Does the MCP server change anything?
No. It is read-only, and fix commands wait for your approval.
What platforms does it need?
Linux or macOS, Git 2.36 or newer, Python 3.9 or newer and OpenSSH.
How do I start it?
Run `gitpro mcp` or `uvx gitpro mcp` after installing with pipx.
Does it run in the background?
No. It generates plain git and SSH configuration and needs no background service.
Is gitpro free?
Yes. gitpro is open source, so you can use and self-host it for free.
How do I add gitpro to Claude Code?
Run this command in your terminal: claude mcp add gitpro -- uvx gitpro
What are the best alternatives to gitpro?
The closest alternatives to gitpro are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to gitpro

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools