# MCP Server oficial Git Plumbing, Diff, Blame & Log Server (uvx) (`git-worktree-diff-mcp`)

> Serverul oficial Python MCP care expune starea git locală, diferențele de comitere, comparații de ramuri și istoricul fișierelor fără acces la rețea.

- **Canonical URL:** https://syndipath.com/ro/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 verificat pe PyPI (mcp-server-git); alergați în interiorul unui virtualenv efemer Astral uvx izolat.

## 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.
