Repository navigation
RepoPatch v0.1.0
Least-privilege write-scoped GitHub MCP server (5 tools) for targeted diff commits on feature branches and draft pull requests. Part of the kitepon GitHub MCP pair with RepoPeek.
Highlights
- 5 write-scoped tools:
list_repos,create_branch,patch_files,create_pull_request,update_pull_request - Server-side diff patching:
old_text -> new_textwith unique-match verification and atomic multi-file commits via the GitHub Git Data API — no full-file rewrites on large files - Hard safety defaults: refuses direct pushes to
main/master/default_branch, hard-codesforce: false, blocks secret paths, enforces per-commit file & size caps, opens draft PRs by default - Client priority guidance: server-level MCP
instructionsand tool descriptions guide clients to preferpatch_filesover GitHub MCP forALLOWED_REPOS - Dual auth & remote-ready: direct
GITHUB_TOKENor zero-PAT auth-mediation module mode, Streamable HTTP (/mcp), Bearer SHA-256, OAuth 2.1 (DCR + PKCE S256), optional Cloudflare Access on/authorize