Skip to main content

RepoPatch

io.github.kitepon/repopatch-mcp

v0.1.0Updated Dec 6, 2026local · Docker

Write-scoped GitHub MCP (5 tools) for targeted diff commits on feature branches and draft PRs.

Install

Needs 1 secret. Replace 3 placeholders with your own values.

Run in your terminal. Replace 3 placeholders.

claude mcp add repopatch-mcp -e 'ALLOWED_REPOS=<your-allowed-repos>' -e 'REPOPATCH_TOKEN_SHA256=<your-repopatch-token-sha256>' -e 'GITHUB_TOKEN=<your-github-token>' -- docker run -i --rm -e ALLOWED_REPOS -e REPOPATCH_TOKEN_SHA256 -e GITHUB_TOKEN ghcr.io/kitepon/repopatch-mcp:0.1.0

Configuration

3 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • GITHUB_TOKEN
    Env var· required· secret
    Write-scoped fine-grained PAT (Contents: R/W, Pull requests: R/W)
  • ALLOWED_REPOS
    Env var· required
    Comma-separated allowlist of owner/name or owner/* repositories (empty refuses all)
  • REPOPATCH_TOKEN_SHA256
    Env var· required
    SHA-256 hex digest of the shared Bearer token

Listed in the official MCP Registry since Dec 6, 2026. Mirrored daily; last checked Dec 6, 2026.