# gitpro MCP server

> Lets an AI client inspect Git identities, SSH keys, and repository configurations to ensure correct commit signatures and user details.

- Repository: https://github.com/Yantrakar/gitpro
- Page: https://hostedmcp.org/servers/yantrakar/gitpro
- Transport: stdio
- Stars: 0
- License: MIT
- Latest version: 0.4.6

## Install

### Claude Code

```sh
claude mcp add gitpro -- uvx gitpro
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "gitpro": {
      "command": "uvx",
      "args": [
        "gitpro"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "gitpro": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "gitpro"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"gitpro","type":"stdio","command":"uvx","args":["gitpro"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "gitpro": {
      "command": "uvx",
      "args": [
        "gitpro"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add gitpro -- uvx gitpro
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.gitpro]
command = "uvx"
args = ["gitpro"]
```

### Gemini CLI

```sh
gemini mcp add -s user gitpro uvx -- gitpro
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "gitpro": {
      "command": "uvx",
      "args": [
        "gitpro"
      ]
    }
  }
}
```

## FAQ

### How does gitpro choose which identity to use?

Gitpro selects identities based on the remote URL rather than the local directory where the repository was cloned.

### Can gitpro prevent me from making commits with the wrong email?

Yes, it provides an optional safety net through hooks that can block commits and pushes using the wrong identity.

### Does gitpro require a background service to run?

No, it generates standard Git and SSH configurations and does not need a running background process.
