GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Cloudflare Worker remote transport for agentsync. MCP 2026-07-28, dual-era, stateless.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://agentsync-remote.{account}.workers.dev/mcp/{token}地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。
在终端中运行这条命令
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}"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agentsync-remote": {
"type": "http",
"url": "https://agentsync-remote.{account}.workers.dev/mcp/{token}"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://agentsync-remote.{account}.workers.dev/mcp/{token}地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。
菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 jarmstrong158 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
这个地址需要填入你自己的账户信息,所以我们无法替你检查
这个地址需要填入你自己的账户信息,所以我们无法替你检查
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(0.2.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。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
只显示了开头部分;其余内容请在仓库中阅读