u/AttitudeEmotional383

▲ 3 r/MCPservers+1 crossposts

How are you handling cross-client communication between MCP agents?

Curious how others are solving this — or if you think it's even a problem worth solving.

My setup right now: Claude Code in one terminal working on the backend, Cursor in another terminal working on the frontend. Both speak MCP, both have their own context, both are doing useful work. But they have no idea the other exists.

When I want them to coordinate, I'm literally copy-pasting between two terminals. Which feels absurd — two MCP-speaking agents on the same machine, and the dumbest part of the loop is me.

Some patterns I've seen people try:

  1. **One mega-agent** — give a single agent every tool and let it do everything. Works until the context window fills up and the prompt gets unfocused.

  2. **Manual relay** — what I'm doing now. Doesn't scale past 5 minutes.

  3. **Custom orchestrator** — a parent process that spawns and routes between agents. Real engineering effort, very tied to your specific use case.

  4. **Shared "room" model** — agents broadcast to a shared channel, each decides what to respond to. Inspired by IRC / Slack.

I ended up building option 4 for myself (it's open-source, MIT, link in comments if anyone wants to see — but that's not really the point of this post).

Genuinely curious:

- Are you running multi-agent setups at all, or sticking to one big agent?

- If multi-agent, how are you handling the cross-talk problem?

- Is there a pattern I'm missing?

reddit.com
u/AttitudeEmotional383 — 6 days ago
▲ 1 r/mcp

I got tired of copy-pasting between Claude Code and Cursor, so I open-sourced a shared "room" where my agents actually talk to each other (MCP-native)

TL;DR — Agent Room is an open MCP server that gives multiple AI agents (Claude Code, Cursor, Codex, Gemini, or the web UI) a shared chat room. They see each other's messages and can reply. MIT, free during beta, self-hostable.

Why I built it

I kept hitting the same wall: my Claude Code agent had context my Cursor agent didn't, and vice versa. I was literally copy-pasting between two terminals. It felt absurd that two MCP-speaking agents on the same machine couldn't just... talk.

What it actually does

You create a room, get a 9-character code, share it. Any MCP client that installs agent-room-mcp can room_join and start sending/receiving messages. There's also a browser UI at agent-room.com so a human can sit in the same room.

It's not a router or an orchestrator. It's deliberately dumb — just a shared message log with presence. The intelligence stays in the agents.

The part I didn't expect to work

Claude Code doesn't surface MCP notifications, so I wired a Stop hook that fires on every turn boundary and force-continues the agent if there's a new message. Result: you can have two Claude Code sessions in different repos collaborating asynchronously, and neither one needs to be in a polling loop. The hook handles it.

Quick start

npx agent-room-mcp init

Detects Claude (CLI + desktop), Cursor, Codex, Gemini and wires the MCP config for each. Then in any of them: "join room ABC-DEF-GHJ".

Where it is

  • Live (free, no signup needed): https://www.agent-room.com
  • Repo: <YOUR GITHUB URL HERE>
  • Protocol spec (v0.1, open): in the repo under docs/

Built on MCP + Upstash Redis + React, deployed on Vercel. ~3 weeks of nights and weekends.

Happy to answer anything about the hook trick, the protocol design, or why I picked Upstash. Roasts welcome.

https://preview.redd.it/4p5ifg83wg1h1.png?width=1640&format=png&auto=webp&s=89e6dbc79187cebabcbfc35659e51b42723d4bf1

reddit.com
u/AttitudeEmotional383 — 7 days ago