Self-hosted Cloudflare Worker remote transport for agentsync (streamable-HTTP).
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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). UntilGH_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://<your-worker-name>.<your-subdomain>.workers.dev.
claude.ai (web) → Settings → Connectors → Add custom connector. Paste your
Worker URL with /mcp/ and your AUTH_TOKEN appended:
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/<AUTH_TOKEN>). 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/<old-token> 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):
On the phone (claude.ai + agentsync-remote):
Back on the PC, the desktop agent (or you) reads the note via survey /
mailbox, answers it, and releases:
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/agentsync-remote)<a href="https://allmcps.com/mcp/agentsync-remote"><img src="https://allmcps.com/api/badge/agentsync-remote?style=directory" alt="Agentsync (remote) on AllMCPs" /></a>