# GitHub 공식 MCP 서버(OCI 컨테이너) — PR 차이점, 작업 및 코드 검색 (`github-mcp-server`)

> 풀 요청 차이점, 작업 워크플로 로그, 코드 검색 경고 및 저장소 검색을 제공하는 공식 GitHub Go 컴파일된 OCI 컨테이너입니다.

- **Canonical URL:** https://syndipath.com/ko/mcp/github-mcp-server
- **Runtime:** `oci` | **Transport:** STDIO | **License:** MIT | **Package:** `ghcr.io/github/github-mcp-server`
- **Upvotes:** 1480 | **GitHub Stars:** 18940 | **Weekly Installs:** 156000
- **Security Note:** 확인된 OCI 컨테이너 이미지(ghcr.io/github/github-mcp-server) 호스트 오염 없이 docker run -i --rm을 통해 상태 없이 실행됩니다.

## Quick CLI Setup
```bash
# Pull verified OCI container image
docker pull ghcr.io/github/github-mcp-server

# Run STDIO MCP container interactively
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=${GITHUB_PERSONAL_ACCESS_TOKEN} ghcr.io/github/github-mcp-server
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "github-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/github/github-mcp-server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}"
      }
    }
  }
}
```

## Exposed MCP Tools
- `github_mcp_server_execute(query: string, options?: object)`: Official GitHub Go-compiled OCI container providing pull request diffs, Actions workflow logs, code scanning alerts, and repository sea.
- `github_mcp_server_list_items(filter?: string, limit?: number)`: Lists structured workspace artifacts and capability metadata over JSON-RPC 2.0.
