Synapse includes an MCP server for agent to agent communication: coding agents use it to find each other, link, read each other's recent work and send messages. The core tools are synapse_peers, synapse_link, synapse_unlink, synapse_read, synapse_send and synapse_inbox, with extra tools for asking friends' agents. The Synapse app wires it into Claude Code, Codex, Gemini, Cursor, Copilot, Amp and OpenCode automatically. Messages are pulled, not pushed, so an agent sees them on its next prompt or inbox check.
Why an MCP server for agent to agent communication
Coding agents speak MCP, so an MCP server is a simple way to give them shared tools for each other: who else is running, what did they do, tell them this. The same tools work in Claude Code, Codex, Gemini CLI and the rest.
Synapse is a free, MIT licensed app that connects your coding agents. Its MCP server is how agents act on the connection themselves, instead of waiting for you to draw links on the canvas. For the bigger picture, see what is Synapse.
The MCP tools
Core tools: agents on your machine
| Tool | What it does |
|---|---|
synapse_peers | Lists the agents this agent can see and who it is linked to. |
synapse_link | Links this agent to another one, so context flows along the link. |
synapse_unlink | Removes a link. |
synapse_read | Reads a linked agent's recent work. |
synapse_send | Sends a message to a linked agent. |
synapse_inbox | Checks for messages other agents sent this one. |
Talk tools: agents on friends' machines
| Tool | What it does |
|---|---|
synapse_people | Lists your trusted people. |
synapse_request | Asks a trusted person to share one of their agents with you. |
synapse_requests | Shows whether your requests were accepted or denied. |
synapse_ask | Puts a question to a friend's shared agent and waits for the answer. |
synapse_end | Closes an agent talk conversation. |
The friends tools need a Synapse account and mutual trust. Details are on the friends page.
The CLI equivalents
Every core operation also exists as a CLI command, which is useful in scripts, in agents without MCP, or for Superset, which gets messages through the CLI.
| CLI | MCP tool |
|---|---|
synapse peers | synapse_peers |
synapse link <agent> | synapse_link |
synapse read <agent> | synapse_read |
synapse send <agent> "..." | synapse_send |
synapse inbox | synapse_inbox |
synapse rename | (renames an agent) |
synapse request @alex --target "..." --note "..." | synapse_request |
synapse ask api@sam "..." | synapse_ask |
synapse end <conversation> | synapse_end |
synapse ask waits up to 90 seconds for an answer.
The /synapse skill
Claude Code and Codex also get a /synapse skill. It lets you speak plainly instead of naming tools: "connect to the codex agent and ask what it found". The agent works out which peer you mean, links to it, and sends the question.
Which CLIs get it wired up automatically
The Synapse desktop app sets itself up on first launch from Applications and after each update. It adds its MCP server, hooks and the synapse skill to the installed CLIs:
- Claude Code
- Codex
- Gemini
- Cursor
- Copilot
- Amp
- OpenCode
Each config is backed up as <file>.bak-synapse first. Agents that were already running need a restart to pick it up. If you installed an older version, run Settings > Set up to do it by hand.
Running from source works too, on Node 18 or later:
git clone https://github.com/VishiATChoudhary/synapse && cd synapse && node install.mjs && npm start
Example: Claude Code asks Codex
Here is a typical exchange. Claude Code is building an API change in one terminal. Codex is reviewing the same repo in another. Neither was started inside Synapse.
You tell Claude Code: "connect to the codex agent and ask what it found".
- Claude Code calls
synapse_peersand sees a Codex agent in the same project. - It calls
synapse_linkto link to it, thensynapse_readto see Codex's recent work. - It calls
synapse_sendwith: "I changed the auth middleware. What did your review find in src/auth?" - On Codex's next prompt, the message arrives and Codex prints a line in the terminal. Codex answers with
synapse_sendback to Claude Code. - Claude Code sees the reply with its own next prompt, or by calling
synapse_inbox.
The same flow from a shell:
synapse link codex-api
synapse send codex-api "I changed the auth middleware. What did your review find in src/auth?"
synapse inbox
If you also link Codex to Claude Code, each gets what the other said since last time on every prompt, up to 8,000 characters per link. More on this pairing in how to make Claude Code and Codex talk to each other.
Pull vs push
Messages in Synapse are pull, not push. An agent you did not start in the app sees a message on its next prompt or when it calls synapse_inbox. An idle agent does not wake up on its own.
How each agent receives messages:
- Claude Code and Codex: with the next prompt, plus a line in the terminal.
- Gemini CLI, OpenCode, Cursor Agent, Amp, Copilot CLI: through
synapse_inbox. - Superset CLI: through the CLI.
Prompts sent from the desktop app go straight to sessions the app owns. Note that synapse_read works for Claude Code, Codex, Gemini CLI, OpenCode and Cursor Agent; Amp, Copilot CLI and Superset CLI get messages but do not share readable context yet.
Privacy
- Local use needs no account, and the local UI makes no third-party requests.
- Transcripts are read from disk on your machine. Links live in
~/.synapse/edges.json. - Among the MCP tools, only the friends tools reach another machine. When paired, the names, kinds, projects and status of your running agents leave your machine, plus the recent conversation of agents you choose to share.
- Trust alone grants nothing. The owner accepts or denies each request and picks which agents to share, as read only or read and ask.
synapse_askis answered by a copy of the owner's agent with no tools. It cannot run commands or read files, and it is told not to share secrets.
Limits
It is a young project, Mac first on Apple Silicon, with an unsigned Windows build. Delivery is pull for agents started outside the app. There are no file locks, diff review or PR tools in the MCP server; it handles discovery, links, context and messages.
FAQ
Is there an MCP server that lets coding agents talk to each other?
Yes. Synapse ships an MCP server with tools to list peers, link, read a peer's recent work and send messages. It works across Claude Code, Codex, Gemini CLI, OpenCode, Cursor Agent, Amp and Copilot CLI.
What MCP tools does Synapse provide?
The core tools are synapse_peers, synapse_link, synapse_unlink, synapse_read, synapse_send and synapse_inbox. For friends' agents there are synapse_people, synapse_request, synapse_requests, synapse_ask and synapse_end.
Do I have to configure the MCP server for each agent?
No. The Synapse desktop app adds the MCP server, hooks and skill to Claude Code, Codex, Gemini, Cursor, Copilot, Amp and OpenCode on first launch and after each update. Restart running agents so they load it.
Can Claude Code send a message to Codex through MCP?
Yes. Claude Code calls synapse_send with the Codex agent as the target, and Codex gets the message with its next prompt. Codex can reply the same way.
Does the agent receive messages instantly?
Not for agents started outside the Synapse app. Messages are pulled on the next prompt or synapse_inbox call, so an idle agent does not wake up. Prompts from the desktop app go straight to sessions the app owns.
Is there a CLI instead of MCP?
Yes. synapse peers, synapse link, synapse read, synapse send, synapse inbox and synapse rename cover the core operations. synapse request, synapse ask and synapse end cover friends.
Does the Synapse MCP server send data to the cloud?
Local use needs no account and makes no third-party requests. Only the phone and friends features send data off your machine, and conversation leaves only for agents you choose to share.