GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Cloudflare Worker remote transport for agentsync. MCP 2026-07-28, dual-era, stateless.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:
https://agentsync-remote.{account}.workers.dev/mcp/{token}ที่อยู่มีส่วน {…} ที่มีแต่คุณรู้ (เช่นบัญชีของคุณ) ให้คัดลอกไปแก้ก่อน
พิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http agentsync-remote 'https://agentsync-remote.{account}.workers.dev/mcp/{token}'ที่อยู่มีส่วน {…} ที่มีแต่คุณรู้ (เช่นบัญชีของคุณ) ให้คัดลอกไปแก้ก่อน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"agentsync-remote": {
"url": "https://agentsync-remote.{account}.workers.dev/mcp/{token}"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ที่อยู่มีส่วน {…} ที่มีแต่คุณรู้ (เช่นบัญชีของคุณ) ให้คัดลอกไปแก้ก่อน
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"agentsync-remote": {
"type": "http",
"url": "https://agentsync-remote.{account}.workers.dev/mcp/{token}"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
https://agentsync-remote.{account}.workers.dev/mcp/{token}ที่อยู่มีส่วน {…} ที่มีแต่คุณรู้ (เช่นบัญชีของคุณ) ให้คัดลอกไปแก้ก่อน
ชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub jarmstrong158 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ต้องใส่ค่าของบัญชีคุณในที่อยู่ก่อน จึงตรวจแทนไม่ได้
ต้องใส่ค่าของบัญชีคุณในที่อยู่ก่อน จึงตรวจแทนไม่ได้
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.0) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
_Part of the xylem stack._
A Cloudflare Worker MCP server that makes claude.ai on your phone a peer in the agentsync coordination mesh — the same claims.json, the same agentsync branch, the same overlap and compare-and-swap rules as local agentsync, with no git and no local clone.
Your laptop's Claude Code (local agentsync) and your phone's claude.ai (agentsync-remote) claim work against the one shared claims.json. Two transports, one mesh. A local peer and this remote peer are indistinguishable in claims.json except by their agent id.
Sibling, not a fork. This is a second *transport* onto the same
coordination file as local agentsync
— not a variant of it. See
DESIGN.mdfor howgit push-as-CAS
becomes GitHub-contents-API-as-CAS.
Seven tools over Streamable HTTP MCP:
| Tool | What it does |
|---|---|
survey | The whole board: every peer's claim, your conflicts, the mailbox. |
claim | Claim work; blocked if it overlaps an active peer (CAS-safe). |
check_conflicts | Re-check your claim against peers, optionally on one branch. |
update_status | Move your claim through planning / in-progress / done. |
release | Mark your claim done (done never blocks peers). |
history | Recent commits on the coordination branch (local + remote interleaved). |
mailbox | Human-in-the-loop notes: ask from the desktop, answer from the phone. |
Self-host this Worker in your own Cloudflare account. Every step is a click path — you never touch a terminal.
Click the button above. Cloudflare will:
agentsync-remote into your GitHub account,There are no databases or other resources to provision — this Worker keeps no state of its own (everything lives in your GitHub repo), so the deploy is just the Worker itself.
During the deploy dialog Cloudflare shows the Worker's variables. Set:
| Variable | Set it to |
|---|---|
REPO | Your coordination repo, as owner/name (the repo whose agentsync branch will hold claims.json). This is the one you must change. |
AGENT_ID | Leave as jonny-mobile, or pick an id for this peer. |
BRANCH | Leave as agentsync unless you want a different coordination branch. |
CLAIMS_PATH | Leave as claims.json. |
Finish the deploy. (If you skipped setting REPO here, you can set it later in the dashboard — see below.)
The Worker reads two secrets. These are not part of the deploy dialog — you add them once in the dashboard after the first deploy.
First, make the GitHub token (this is the GH_PAT value):
GitHub → Settings → Developer settings → Fine-grained personal access tokens → Generate new token:
REPO).Then add both secrets to the Worker:
Cloudflare dashboard → Workers & Pages → your Worker → Settings → Variables and Secrets → Add → type Secret → add each, then Deploy:
| Secret | Value |
|---|---|
AUTH_TOKEN | A long random string you invent. It locks the endpoint — treat it like a password. |
GH_PAT | The fine-grained GitHub token you just made. |
While you're on this screen, confirm the `REPO` variable points at your coordination repo (set it here if you skipped it in the deploy dialog).
Until
AUTH_TOKENis set the Worker answers every request with404(it
fails closed). Until
GH_PATis set the tools return a clear error naming the
missing secret. This is by design — an unconfigured endpoint looks like it
doesn't exist.
Find your Worker's URL: Workers & Pages → your Worker shows it, in the form https:// . .workers.dev.
claude.ai (web) → Settings → Connectors → Add custom connector. Paste your Worker URL with /mcp/ and your AUTH_TOKEN appended:
https://<your-worker-name>.<your-subdomain>.workers.dev/mcp/<AUTH_TOKEN>
The token in the path *is* the auth — there is no separate login.
Ask Claude: "call survey". You should get the coordination board back (empty claims on a fresh mesh — the Worker bootstraps the branch and file for you, so a brand-new empty repo needs no manual setup).
The connector URL embeds your AUTH_TOKEN in the path (…/mcp/ ). Anyone who has that URL can call your Worker and read/write your coordination file. Treat the whole URL like a password:
AUTH_TOKEN in Settings → Variables and Secrets and redeploy; every old …/mcp/ URL immediately returns 404. Update the connector in claude.ai with the new URL.GH_PAT is likewise a credential — scope it to *only* your coordination repo with *only* Contents: Read and write, so a leak can't reach anything else.
This is a deliberate design choice, not an oversight. claude.ai custom connectors do not reliably send custom headers, so an Authorization: header — the obvious alternative — cannot be depended on. Putting the credential in the path is what makes the connector work at all.
Be clear about the price, because it is not the same as a header:
/mcp/***. The leak surface is everything *around* the Worker, which is exactly what you cannot audit.Practical guidance:
AUTH_TOKEN, update the connector.openssl rand -hex 32). The comparison is constant-time in both content *and* length, so length is not observable — but entropy is still your only defence against guessing.This is the whole point. The laptop and the phone coordinate through one file.
On the PC (local agentsync, Claude Code):
> agentsync claim --task "refactor auth" --touches src/auth --branch feature/auth
{"status": "claimed", ...} # writes claims["laptop"] on the agentsync branch
On the phone (claude.ai + agentsync-remote):
You: call survey
Claude: laptop is active — task "refactor auth", touches src/auth, branch feature/auth.
You: claim task "tidy auth helpers", touches src/auth/helpers.ts Claude: blocked. Overlap with an active peer claim: laptop — "refactor auth" — shared_files: ["src/auth/helpers.ts"] Narrow touches, wait, or re-call with force=true.
You: mailbox "Taking src/auth/helpers.ts once you land the refactor — ok?" to "laptop" Claude: posted.
Back on the PC, the desktop agent (or you) reads the note via survey / mailbox, answers it, and releases:
> agentsync mailbox "go for it, helpers are stable now"
agentsync release --note "refactor landed"
{"status": "released"} # laptop's claim -> status "done"
### ⚠️ Known gap: the mailbox is currently WRITE-ONLY across tiers
The "Back on the PC" step above does not work yet. This Worker's
mailbox()writes a top-levelnotes[]array intoclaims.json, and the
local Python agentsync server has no concept of `notes` — it exposes no
mailboxtool, and itssurvey()returns onlyme,branch,partners
and
stale_claims. A note posted from the phone lands in the file correctly
and is simply never surfaced to a desktop peer.
That matters more than a missing feature normally would, because the
repository-level agent instructions tell agents to raise judgment calls
*through this mailbox*. An escape hatch that silently swallows the question
is worse than no escape hatch: the agent believes it has asked and waits, or
proceeds, on a question nobody will ever see.
Until the local side lands, read the mailbox from the remote peer
(
mailboxwith nomessage, orsurvey), or readclaims.jsonon the
coordination branch directly.
The local-side change required (in the Python
agentsyncpackage — a
separate repo, deliberately not modified here):
1. Parse and preserve `notes`. The claims-file reader must round-trip the
top-level
noteskey. Today an unrecognised key risks being dropped on
the next local write, which would *delete* remote peers' notes. Preserving
unknown top-level keys is the minimum safe change and should land first,
independently.
2. Surface notes in `survey()` — add a
notesfield alongside
partners/stale_claims, defaulting to[].
3. Add a local `mailbox(message=None, to=None)` tool mirroring this one:
append
{from, to, message, at}under the same compare-and-swap the local
claim writes already use, and cap retention at the 200 most recent notes
(this Worker evicts oldest-first at that bound — the two sides must agree,
or they will fight over the file).
The on-disk shape is already compatible in both directions: this Worker only
emits
noteswhen non-empty, so aclaims.jsonwi
ตัดมาแค่ช่วงต้น อ่านต่อใน repo