# MCP Oficiální Git Instalatérství, Diff, Blame & Log Server (uvx) (`git-worktree-diff-mcp`)

> Oficiální server Python MCP odhalující místní stav git, rozdíly v potvrzení, porovnání větví a historii souborů bez přístupu k síti.

- **Canonical URL:** https://syndipath.com/cs/mcp/git-worktree-diff-mcp
- **Runtime:** `pypi` | **Transport:** STDIO | **License:** MIT | **Package:** `mcp-server-git`
- **Upvotes:** 653 | **GitHub Stars:** 6120 | **Weekly Installs:** 49600
- **Security Note:** HTTP-200 ověřeno na PyPI (mcp-server-git); běží uvnitř izolovaného Astral uvx efemérního virtuálního prostředí.

## Quick CLI Setup
```bash
# Run isolated Python tool via Astral uvx
uvx mcp-server-git --repository .

# Alternative: run via pipx
pipx run mcp-server-git --repository .

# Add to Claude Code CLI
claude mcp add git-worktree-diff-mcp -- uvx mcp-server-git --repository .
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "git-worktree-diff-mcp": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "."
      ]
    }
  }
}
```

## Exposed MCP Tools
- `git_worktree_diff_mcp_execute(query: string, options?: object)`: Official Python MCP server exposing local git status, commit diffs, branch comparisons, and file history without network access.
- `git_worktree_diff_mcp_list_items(filter?: string, limit?: number)`: Lists structured workspace artifacts and capability metadata over JSON-RPC 2.0.
