GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Pack, inspect, and apply portable Git change bundles across offline repositories.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"gitferry": {
"command": "npx",
"args": [
"-y",
"gitferry",
"mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add gitferry -- npx -y gitferry mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"gitferry": {
"command": "npx",
"args": [
"-y",
"gitferry",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"gitferry": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gitferry",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub mayank1307 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.2) เข้า registry 3 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
v0.4.2 is released. npm package · v0.4.2 release and downloads · MCP Registry
Portable git-change bundles for air-gapped repos. Pack your unpushed commits, staged/unstaged changes, and untracked files into a single shareable file on one machine — carry it across the air gap (USB, secure file transfer, email, or QR codes across a webcam) — validate and apply it to the same repo on another machine. No shared remote, no network, no sync required.
machine A (has your changes) machine B (same repo, no sync)
┌─────────────────────────┐ ┌─────────────────────────┐ │ $ gitferry pack │ ──────▶ │ $ gitferry apply │ │ → repo-main-a1b2c3d │ USB / │ ✓ checksums verified │ │ .gitferry │ scp / │ ✓ same repo confirmed │ │ │ email │ ✓ 2 commits replayed │ │ commits + worktree │ │ ✓ staged/unstaged │ │ + untracked, checksummed│ │ state restored │ └─────────────────────────┘ └─────────────────────────┘
See SCENARIOS.md for every situation this is built for — air-gapped environments, client-site work, WIP handoffs, offline review, and more. See INSTALL.md for offline installation on other devices.
Quick MCP install (Claude Code): claude mcp add --transport stdio gitferry -- npx --yes --package=gitferry@0.4.2 gitferry-mcp, then restart your client and confirm the pack_changes, inspect_bundle, and apply_bundle tools appear. Codex, VS Code, JSON config, and offline setup are in MCP server below.
git format-patch / git bundle?You can — gitferry *uses* them under the hood. What raw git doesn't give you:
.gitignore) — git diff never sees themformat-patch/diff/am/apply choreography--binary patches for tracked files, verbatim bytes for untracked)--portable and a machine with only git + unzip applies it by hand (instructions are inside every bundle; the compact default needs node's one-liner to unwrap first)Requires Node.js 22 or newer and Git 2.32 or newer. Install the published CLI and MCP server from npm:
npm install -g gitferry@0.4.2
gitferry --version
For MCP-only use, skip the global install and use the pinned npx configuration in MCP server.
Installation and MCP registration are separate steps. Installing the npm package makes gitferry and gitferry-mcp available in your terminal. Registering the server tells Codex, Claude Code, or another MCP client how to launch it. With npx, the client downloads the pinned package on first launch, so a global install is optional. Reading this README or installing the package alone does not register the server.
Download gitferry.cjs, gitferry-mcp.cjs, and SHA256SUMS from the public v0.4.2 release. These standalone files include their JavaScript dependencies; transfer them to the offline machine with Node and Git. See INSTALL.md for checksum verification and setup.
To build the same standalone executables from a source checkout:
npm run bundle # → dist/gitferry.cjs + dist/gitferry-mcp.cjs
node dist/gitferry.cjs pack # runs without any install or node_modules
gitferry pack # asks what should travel (Enter = uncommitted); base = merge-base with upstream
gitferry pack --only staged # skip the question: all | uncommitted | staged | unstaged | committed | repo gitferry pack --only repo # whole-repo snapshot: every tracked file as-is — seed/sync another machine gitferry pack --base origin/main # explicit base gitferry pack -o changes.gitferry --no-untracked
The interactive picker only appears in a terminal; in scripts (no TTY) pack takes everything unless --only or --no-* flags say otherwise. Selections mean: all = commits + staged + unstaged + untracked · uncommitted = everything except commits · staged = index edits only · unstaged = worktree edits + untracked · committed = unpushed commits only · repo = a snapshot of every tracked file as it is on disk (no history) — apply seeds a bare directory or syncs an existing checkout, skipping identical files and touching drifted ones only with --force.
gitferry inspect changes.gitferry # verify + preview, touches nothing
gitferry apply changes.gitferry --dry-run gitferry apply changes.gitferry
When even USB is off the table, the screen itself is the channel: one machine plays the bundle as a looping sequence of QR codes, the other watches with any webcam.
# machine A (sender)
gitferry show changes.gitferry # QR loop right in the terminal gitferry show changes.gitferry --browser # bigger + denser, in a local browser page gitferry show changes.gitferry --color # experimental: 3x density, 3 chunks per image in R/G/B
gitferry read # opens a local camera page, reassembles the bundle gitferry apply changes.gitferry
Every QR frame carries its chunk number / total plus a transfer id, so the receiver knows exactly which pieces it still needs — it shows the missing numbers live and keeps collecting as the loop repeats (order doesn't matter; missed frames come around again). The file is only written once every numbered chunk arrived and the whole-file sha256 matches, so a completed read is proof nothing was skipped or corrupted. Both pages live on 127.0.0.1; no network between the machines is used or needed.
Point the sender's webcam back at the receiver and the loop gets smart. The read page displays a small progress QR of its own (tiny payload, high error correction, so it scans easily). If the show --browser machine also has a camera watching the receiver's screen, then after each loop the sender re-shows only the chunks that are still missing, dropping from the first-loop rate (default 4 fps) to a slower retry rate (default 1 fps, --retry-fps) so the stragglers are easy to catch — and stops automatically once the receiver's code says *complete*. No camera on the sender's side? Everything simply loops at full speed like before.
Throughput is roughly chunk × fps: defaults give ~0.3 KB/s in the terminal, ~0.6 KB/s in the browser, ~1.8 KB/s with --color — meant for patch-sized bundles, not megabyte piles (pack --no-untracked helps keep them small). The default is deliberately a coarse, easy-scan code (150 bytes ≈ QR version 8, 49×49 modules): webcams reading another screen fail on fine modules long before they fail on frame count. Raise --chunk (up to 2900) if your camera and screens are good.
Apply order: commits (git am -3, full author/date/message preserved) → staged patch (index + worktree) → unstaged patch (worktree only) → untracked files (never overwrites existing files unless --force).
On conflicts you get standard git conflict markers and clear instructions (git am --continue / --abort, .rej files as last resort) — application is not transactional, so review the error and recovery instructions before continuing.
| Flag | Command | Effect |
|---|---|---|
--base | pack | commit the bundle applies onto |
--only | pack | all / uncommitted / staged / unstaged / committed / repo — non-interactive selection |
--no-commits / --no-worktree / --no-untracked | pack | trim what's captured (combinable with --only) |
--portable | pack | plain-zip bundle (~30% bigger) for targets with only git + unzip |
--dry-run | apply | validate + show the plan, change nothing |
--force | apply | override same-repo, clean-tree, and overwrite guards |
-C | pack/apply | run against another directory |
--chunk / --fps | show | QR payload size (default 150 ≈ version-8 code; raise for speed, lower for even easier scanning) and first-loop display speed |
--retry-fps | show | slower rate for re-loops of missing chunks once the receiver's progress QR is seen (default 1) |
--browser / --color | show | browser-page display; experimental 3× density via R/G/B channels |
--no-open / --port | show/read | don't auto-open the local page / pin its port |
-o / --force | read | output path / overwrite an existing file |
GitFerry runs locally over stdio. Your MCP client starts the process, and it works with repositories on that same machine. No GitFerry account, API key, hosted service, or source upload is required. URL-only MCP clients need a separate bridge and cannot connect directly to this local server.
Register with the CLI for your client (requires Codex CLI or Claude Code, respectively):
# Codex
codex mcp add gitferry -- npx --yes --package=gitferry@0.4.2 gitferry-mcp codex mcp get gitferry
claude mcp add --transport stdio gitferry -- npx --yes --package=gitferry@0.4.2 gitferry-mcp claude mcp get gitferry
Choose your client's registration command, reconnect or start a new session, and verify that pack_changes, inspect_bundle, and apply_bundle are available. mcp get confirms the saved configuration; tool discovery in the connected client confirms the server is working. See Codex setup for the TOML alternative and agent-assisted installation to delegate setup.
Use this configuration for the published 0.4.2 package in clients that accept mcpServers JSON. The explicit executable matters because this package supplies both a CLI and an MCP server:
{
"mcpServers": { "gitferry": { "command": "npx", "args": ["--yes", "--package=gitferry@0.4.2", "gitferry-mcp"] } } }
For a source checkout, build with npm ci && npm run bundle and use:
{
"mcpServers": { "gitferry": { "command": "node", "args": ["/absolute/path/to/gitferry/dist/gitferry-mcp.cjs"] } } }
If you installed the package globally, the server command is gitferry-mcp. For a downloaded offline bundle, point node directly at /absolute/path/to/gitferry-mcp.cjs. See client setup for Codex, Claude Code, and VS Code examples and Windows launch instructions.
| Tool | Action | Key arguments |
|---|---|---|
pack_changes | Writes a portable bundle from local changes | cwd, optional output, base, only, portable and include flags |
inspect_bundle | Reads and validates a bundle without changing a repository | bundlePath |
apply_bundle | Previews or applies a bundle to a local target | cwd, bundlePath, dryRun, force, includeUntracked |
Use absolute paths. Start with: *“Pack the uncommitted changes in /absolute/path/to/repo into /absolute/path/to/transfer.gitferry.”* On the receiving machine: *“Inspect this bundle, then dry
ตัดมาแค่ช่วงต้น อ่านต่อใน repo