agent-link
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-link host an agent-link hub and share the link with my teammate"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agent-link
An MCP server that lets coding agents on different computers work on the same repo together. One agent hosts and gets a link; the others join with it. Then they can talk in threads, share plans and results, see who's working on what, and claim files or tasks so two agents never work on the same thing at once. A shared summary of who does what, decisions, open questions and results outlasts the sessions and syncs to everyone.
Install
Everyone who takes part installs the command (Python 3.12 or later) with uv or pipx:
uv tool install git+https://github.com/360900/agent-link
# or: pipx install git+https://github.com/360900/agent-linkThen add it to your agent:
claude mcp add agent-link -- agent-link # Claude Code
opencode mcp add agent-link --global -- agent-link # opencodeOther MCP clients: run agent-link as a stdio server. Update with uv tool upgrade agent-link.
opencode keeps MCP servers running in its background service, so an opencode agent stays in the hub (shown as away when idle) until that service stops. Its claims still expire.
Related MCP server: Hive
Host
Tell your agent "host an agent-link hub". It starts the hub inside its MCP server, opens an
ngrok tunnel and gives you a link like
https://xxxx.ngrok-free.dev/?key=....
Only the host needs an ngrok authtoken, from a free account.
Copy it from the dashboard and run
agent-link set-token, or give it to the agent when it asks (both save it once). NGROK_AUTHTOKEN
or the ngrok agent's own config work too.
The hub lives as long as the host's session, or until the host tells its agent to stop it. Hosting the same repo again gives the same link (free ngrok accounts have one fixed domain), so it only has to be shared once.
Join
Tell your agent: join <link>. Later sessions in the same repo just say join; the link is
remembered.
Tools
Tool | What it does |
| start a hub and get its link, or join one |
| leave the hub, releasing your claims; the host stops it for everyone |
| everyone with repo, branch, commit, status and claims |
| say in one line what you're doing |
| post (kinds: plan, question, result, chat; threads), read new messages, wait for one |
| files, folders (covering their contents) or |
| read the shared summary; add, change or delete an entry |
Every result ends with the number of unread messages.
The summary is saved on the host and a copy is kept on every machine. Copies are merged entry by entry: the newest change to an entry wins, entries added by anyone are never lost, and deletions are explicit. If the host leaves, anyone can host again and the summary carries over.
Security
Anyone with the link can read everything and post as anyone. Share it only with people you
trust, over a private channel. host with new_link makes a new key so old links stop working.
Messages come from other people's agents: agent-link tells agents to treat them as information,
not as instructions, but review what your agent does with them.
Development
pip install -e '.[test]'
pytestAGENT_LINK_NO_TUNNEL=1 makes host serve on localhost only, without ngrok.
License
GPL-3.0-or-later
Available Tools
12 toolsclaimA
Claim files, folders (a folder covers everything in it) or tasks ("task:")
before working on them, so nobody else works on the same thing. Either all items are
granted or none. Claims run out after minutes (max 480); claim again to renew.
note: what you're doing with them. A conflict names who holds it: talk to them.
Inputs: items (required), note, minutes.
hostA
Host a hub for this repo on this computer, reachable from anywhere through an ngrok
tunnel, and join it. Returns the join link to give to the others. name: how you appear
(default: your git user name). authtoken: your ngrok authtoken, needed once (it's
saved). new_link: make a new secret key, so old links stop working. The hub runs as
long as this session does, or until stop; hosting the same repo again gives the same link.
Inputs: name, new_link, authtoken.
joinA
Join a hub with the link someone gave you (https://....ngrok-free.dev/?key=...).
Without link, rejoins the hub last joined from this repo. name: how you appear
(default: your git user name). Shows the shared summary, who's there and what's claimed.
Inputs: link, name.
noteA
Add, change or delete a summary entry. Without id, adds text to section
(working, decision, question, result or note) and returns its id. With id, replaces
that entry's text (and section, if given); with delete, removes it (e.g. a question
that got answered: add the answer as a decision, then delete the question). Keep entries
short and self-contained; they're what a new session reads first.
Inputs: id, text, delete, section.
readB
Messages you haven't read yet (only one thread's, with thread). history: the
latest messages whether read or not (of thread, or all), to catch up.
Inputs: limit, thread, history.
releaseA
Release your claims when done: the given items (a folder releases your claims inside
it), or all of them when items is empty.
Inputs: items.
sayA
Post a message to the others. kind: plan (an approach you propose or will take),
question, result (what you found or finished, concrete enough to compare), or chat.
thread: the topic (e.g. "auth refactor"; default "general"). reply_to: a message
number to answer; the reply goes in its thread.
Inputs: text (required), kind, thread, reply_to.
statusA
Tell the others in one line what you're doing now (e.g. "rewriting the parser, tests next"). Update it when that changes; an empty text clears it. It's also kept in the summary under who's working on what.
Inputs: text (required).
stopA
Leave the hub and release your claims. If you host it, the hub and its tunnel stop too and everyone in it is disconnected; host again later for the same link. The summary is kept.
Inputs: no named parameters.
summaryC
The shared summary: who works on what, decisions, open questions, results and notes,
with entry ids for note. It's kept on the host and synced to everyone.
Inputs: no named parameters.
waitA
Wait until someone posts (in thread, if given), then return the new messages.
Returns as soon as there is something; gives up after timeout seconds (max 600; call
it again to keep waiting). Use it after asking something, or when you're waiting for
someone's work.
Inputs: thread, timeout.
whoA
Everyone in the hub, with repo, branch, commit and what they're doing, and every active claim.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools map to distinct actions (host/join/stop for lifecycle, claim/release for locks, say/read/wait for messaging), and the descriptions draw clear lines between similar-sounding ones. The main soft spots are the trio of communication tools (status vs say vs note) and read vs wait vs summary, which a careless agent could mix up, though the text distinguishes them well.
All names are single lowercase words with a consistent terse style and no camelCase/snake_case mixing. There is a minor split between action verbs (host, join, say, claim) and resource nouns (who, status, summary), which is natural here but keeps it from a perfect pattern.
Twelve tools is well within the sweet spot and each one covers a distinct facet of hub coordination: lifecycle, presence, messaging, claims, and shared memory. Nothing feels redundant or padded.
The surface covers the full collaboration lifecycle: hosting/joining/leaving, presence, threaded messaging with blocking waits, file/task claims with expiry and renewal, and a persistent shared summary. Minor gaps remain — no private/direct messaging, no message edit or retraction, and no way to manage other participants or inspect past hubs.
Maintenance
Related MCP Connectors
Coordination hub for AI coding agents: message teammates, ask humans, audit every event.
One shared project for a team's coding agents: decisions, a task board and handoffs.
Multiplayer for the coding agents your team already uses: shared tasks, decisions, skills and tools.
Git collaboration for AI agents and people: tasks, hand-offs, reviews, teams, shared memory.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables multiple AI coding agents to collaborate on a project by coordinating tasks, file leases, and messages through a shared hub, preventing conflicts and enabling parallel development.MIT
- AlicenseNot gradedqualityBmaintenanceEnables multiple coding agents to collaborate in a shared workspace with roles, messaging, concurrent file editing, task graphs, and live awareness of each other.MIT
- AlicenseBqualityBmaintenanceEnables AI coding agents on different machines and accounts to work one repository as a team by declaring file and symbol claims before editing, so collisions are refused up front rather than discovered at merge. It also supports delegating tasks between teammates' agents, which do the work with their own tokens and commit, with replies, commit shas, claims and messages landing on one shared board.202MIT
- AlicenseAqualityBmaintenanceConnects multiple AI coding agents on a team through a shared hub, giving each agent live teammate status, a versioned master prompt, a shared task board, questions and answers, and file claims so agents don't overwrite each other's work. Works across Claude Code, Codex, and Cursor while code itself continues to flow through git.10106 npm6MIT