roundtable-mcp
Run a structured, turn-based debate between two coding agents in a shared room, then produce a spec file.
Create or join a named room as either the lead or peer seat via CLI flags or environment variables.
Check room status: whose turn it is, current round, and whether the room has closed.
Read the transcript incrementally, either from your last read position or after a given message number.
Block and wait for the peer's next message (returns idle after 55s so you can keep waiting, or closed when the room ends).
Post messages to the room, tagged as brief, challenge, question, or decision; turn-taking and round budget are enforced.
As lead, write the final plan/spec file, including a Dissent section, then close the room.
Generate Markdown or standalone HTML transcripts of any room afterwards.
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., "@roundtable-mcp Have two agents debate the database migration plan and write a spec."
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.
roundtable
A shared room where two coding agents argue through a plan before you build it.
bun add -g roundtable-mcpPublished on npm as roundtable-mcp.
Pairs with Parallelo,
which starts a room from the VS Code sidebar — but nothing here needs it, and
the server never learns what an agent is.
You give the room a topic. Two agents — running in the same repository, in separate terminals — take turns posting to a transcript on disk. One holds the lead seat and drives; the other holds the peer seat and pushes back. When they converge, or the round budget runs out, the lead writes a spec file and closes the room.
It does not know what an agent is
The room has two seats. It never learns which model or CLI is sitting in one. Anything that speaks MCP can take either seat, including two instances of the same thing:
lead | peer | works |
Claude Code (Opus 5) | Codex | yes |
Claude Code (Opus 5) | Claude Code (Opus 5) | yes |
Copilot CLI | Claude Code | yes |
The seat and the room id are the only contract. Each seat is a separate process with its own server, so there is no special case for two of the same agent — the server cannot tell.
Related MCP server: agentroom
Install
bun add -g roundtable-mcpUse it
Pick a room name, then register the server with each agent — the same room, different seats.
Claude Code, in the terminal that will lead:
claude mcp add roundtable -- roundtable \
--room cache-design --seat lead --agent "opus-5" \
--topic "Should the cache be write-through" --budget 12and in the terminal that will take the peer seat:
claude mcp add roundtable -- roundtable \
--room cache-design --seat peer --agent "opus-5" \
--topic "Should the cache be write-through" --budget 12For an agent configured by file rather than CLI, the stdio entry is the usual
shape — only --seat differs between the two:
{
"mcpServers": {
"roundtable": {
"command": "roundtable",
"args": ["--room", "cache-design", "--seat", "peer", "--agent", "codex"]
}
}
}Every flag also reads from the environment (ROUNDTABLE_ROOM,
ROUNDTABLE_SEAT, ROUNDTABLE_AGENT, ROUNDTABLE_TOPIC, ROUNDTABLE_BUDGET,
ROUNDTABLE_CWD), which is easier when the agent's config format is awkward.
Then paste prompts/lead.md into one terminal and prompts/peer.md into the
other, with {{TOPIC}} filled in. The seed prompts are not optional — see
below.
The seed prompts are the load-bearing part
MCP has no push. A server cannot wake an agent up. An agent only acts while its own loop is running, and by default an agent answers once and then goes idle waiting for a human.
Two things make a conversation out of that, and you need both:
wait_for_messageblocks. The server holds the call open until the other seat posts. The waiting agent is parked inside a tool call — its turn is still alive. When the other seat posts, the call returns and it keeps going.The prompt has to say "loop". The protocol cannot make an agent call
wait_for_messageagain.prompts/lead.mdandprompts/peer.mdsay it explicitly. Skip them and you get exactly one exchange, then silence.
Waits return after 55 seconds with {"idle": true} rather than blocking
forever, because MCP clients cap how long a single tool call may run. The
prompts tell the agent to call again on idle.
Tools
Both seats get room_status, read_room, wait_for_message, and post. Only
the lead gets close_room.
The server enforces the rest, so an agent cannot talk its way around it:
Turn taking. Posting out of turn is refused with an instruction to call
wait_for_message. Neither seat can monologue.Round budget. Each lead post spends one round. At zero, the lead's posts are refused and it is told to write the spec and close.
Closure. After
close_room, posts are refused and any parkedwait_for_messagereturns{"closed": true}.
Seats are set by the flag the server was launched with, not by anything the agent says, so neither can claim the other's authority.
What lands on disk
.roundtable/<room>/
room.json topic, budget, created
closed.json appears when the room ends
messages/
0001-....json one file per messageEvery message is its own file, written to a temp name and renamed into place. Renames are atomic and nothing is ever mutated after it is written, so two processes share a room without a lock. Round, turn, and closure are derived from those files rather than stored, so there is no shared mutable state to corrupt when an agent dies mid-turn.
The transcript is plain JSON in your repo. Read it, diff it, delete it. Add
.roundtable/ to .gitignore if you would rather not keep it.
Where the spec goes
SPEC-<room>.md at the root of the checkout, which is the one file a room
leaves behind. seed takes --spec to put it somewhere else:
roundtable seed --room cache-design --topic "..." --budget 12 \
--cwd <worktree> --spec docs/specs/cache-design.mdThe path is relative to the checkout, and the directories in it are created
when the spec is written — a seat has no file tools, so if the server did not
make them nobody could. An absolute path, or one climbing out of the checkout
with .., falls back to the default rather than writing there: the room is a
plan about this repository. Whatever is settled at seed time is what the lead's
brief tells it to write, so there is never a second place that believes
something different about where the plan is.
What you get out
The lead writes a spec file itself, with its own file tools — the server never writes your content. The prompt asks for the problem, the decision, the reasoning, the steps, and a Dissent section holding anything the peer still disagrees with, in its own words. That section is the point: two agents left alone will converge into agreement, and the disagreement they flattened on the way there is usually the part worth your attention.
Things worth knowing before you run it
Two agents will talk forever. They do not get bored and they do not run out of refinements. The round budget is not a safety rail, it is the termination condition. Twelve is a lot; eight is usually plenty.
It costs double. Two premium agents reasoning over the same codebase. A room is worth it for a decision you would otherwise get wrong, not for choosing a variable name.
Both seats share the working directory. If they both start editing files you have two agents writing to one worktree. Rooms are for planning; give the implementation to one agent afterwards.
The peer has no context from your session. It reads the same
CLAUDE.md/AGENTS.mdin the same repo, but it did not see your conversation. The opening brief is the only handoff, so put the constraints in it.
Reading a room afterwards
The transcript is one JSON file per message, which is right for two processes
sharing a directory without a lock and wrong for anyone who wants to know what
was said. transcript renders it:
roundtable transcript --room <name> --cwd <worktree> # Markdown, to stdout
roundtable transcript --room <name> --cwd <worktree> --out r.html # a standalone pageMarkdown for a terminal or an editor; HTML for a self-contained file with no
network dependency, readable in light or dark. Neither is written into the
worktree unless you name a path with --out — the spec stays the room's only
output.
It works on an open room too, and says so at the end instead of claiming a close that has not happened.
Development
bun install
bun run build
bun run smoke # spawns two servers, checks they actually wake each otherThe smoke test runs the same agent label in both seats on purpose.
Licence
MIT
Available Tools
6 toolsclose_roomA
End the discussion. Write the agreed plan to the spec file named in room_status first, then call this. Defaults to that path.
Inputs: reason, spec_path.
postA
Post to the room. Each post you make consumes one round of the budget. Use it to set the brief, push back on the peer, or ask a narrower question.
Inputs: text (required), kind.
read_roomA
Read the messages posted so far. Returns everything you have not already been shown unless you pass since.
Inputs: since.
room_statusA
Where the discussion stands: whose turn it is, which round of the budget you are on, and whether the room has closed.
Inputs: no named parameters.
wait_for_messageA
Block until the peer posts, then return their message. Returns {"idle": true} if nothing arrives before the timeout — call it again. Returns {"closed": true} when the room is over, which is your signal to stop. This is how you stay in the conversation; do not end your turn while the room is open.
Inputs: timeout_seconds.
write_specA
Write the plan. This is the only way anything leaves this room, and the only file you can create -- you have no file-writing tools and you are not here to implement anything. Call it once you have converged, then close_room.
Inputs: text (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a distinct role in the conversation lifecycle, but read_room and wait_for_message both involve retrieving messages, which could cause occasional confusion. The descriptions clearly separate backlog reading from blocking for the next peer message, so an agent can disambiguate with care.
Most tools follow a clear verb_noun pattern like read_room, write_spec, and close_room. The deviations are minor: post is a bare verb and room_status is noun-only, so the overall naming is readable and mostly consistent.
Six tools is well-scoped for a collaborative roundtable workflow. Each tool covers a necessary part of the interaction: reading, waiting, posting, checking status, writing the spec, and closing the room.
The tool surface covers the full lifecycle of the domain: observe the conversation, participate, monitor state, produce the agreed artifact, and end cleanly. There are no obvious dead ends for an agent operating inside this room-based workflow.
Maintenance
Related MCP Connectors
Shared room for AI agents: messages, a jobs board, files and owner approvals before acting.
Agent rooms: agents collaborate on shared goals while humans watch — docs, contests, paid slots.
One shared project for a team's coding agents: decisions, a task board and handoffs.
Meeting rooms for your agents. They can share context with each other and work together.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to debate styleguides, rules, decisions, or specs in a shared room until they reach consensus, producing a versioned artifact and a transcript of the negotiation.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to plan, split, and build one project together through shared tasks, file leases, a versioned contract, and urgent interrupts over MCP.MIT

AgentCoworkofficial
AlicenseNot gradedqualityBmaintenanceEnables coding agents from different repositories to join shared rooms over MCP, discuss requirements, align API contracts, and debug together while keeping code on developer machines and using their own LLMs.MIT- AlicenseNot gradedqualityBmaintenanceEnables Claude Code and Codex agents to message each other directly through a shared local room, with blocking send/wait calls, file claims, auto-wake hooks, and a turn cap so users no longer copy-paste between windows. A live browser board lets users watch the exchange and inject their own instructions at any time.1MIT