# Docker 公式 mcp/git コンテナ化リポジトリ インスペクター (`docker-hub-git-oci`)

> クリーンなコンテナー サンドボックス内で Git の差分、非難、コミット履歴、ブランチ分析を実行します。

- **Canonical URL:** https://syndipath.com/ja/mcp/docker-hub-git-oci
- **Runtime:** `oci` | **Transport:** STDIO | **License:** MIT | **Package:** `mcp/git`
- **Upvotes:** 421 | **GitHub Stars:** 2740 | **Weekly Installs:** 19800
- **Security Note:** OCI コンテナー イメージ (mcp/git) を確認しました。ホストを汚染せずに docker run -i --rm 経由でステートレスに実行します。

## Quick CLI Setup
```bash
# Pull verified OCI container image
docker pull mcp/git

# Run STDIO MCP container interactively
docker run -i --rm mcp/git
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "docker-hub-git-oci": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "mcp/git"
      ]
    }
  }
}
```

## Exposed MCP Tools
- `docker_hub_git_oci_execute(query: string, options?: object)`: Runs Git diff, blame, commit history, and branch analysis inside a clean container sandbox.
- `docker_hub_git_oci_list_items(filter?: string, limit?: number)`: Lists structured workspace artifacts and capability metadata over JSON-RPC 2.0.
