mcp-huddle
v0.6.0Persistent multi-agent chat MCP server with web dashboard.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
room_create
Create a new discussion room. Returns room_id. auto_spawn: False (default) — no agents spawned; you invite manually via room_invite. True — spawn every enabled registry agent not marked "auto": false, with a default reviewer brief built from `goal`. The per-spec "auto" flag curates the auto-spawn roster without disabling an agent outright — it stays reachable via an explicit dict auto_spawn, room_invite, or a wake-path request (all three igno…
| Parameter | Type | Description |
|---|---|---|
name * | string | |
owner * | string | |
owner_pid * | integer | |
auto_spawn | ||
cwd | string | |
goal | string | |
session_id | string |
room_invite
Owner-only roster escape hatch — add an agent to an existing room. Requires `by` to equal the room's owner. Regular participants must not expand the roster; orchestration is the owner's responsibility. If `agent_name` matches an enabled spawn-registry entry, this also seeds its `agent_meta` (via `bus.register_external_agent`) so a later `kind=request` addressed to it is picked up by `_wake_agents_for_request` and triggers a fresh spawn. It is NOT spawned immediately — invite only reserves the wake slot. Non-registry (external/human) names are added to `par…
| Parameter | Type | Description |
|---|---|---|
agent_name * | string | |
room_id * | string | |
by | string |
room_info
Get room metadata (participants, status, cwd, etc.).
| Parameter | Type | Description |
|---|---|---|
room_id * | string |
room_reclaim
Re-stamp the room's owner_pid after your session resumed with a new PID. On session resume the OS PID changes; the zombie-watchdog would otherwise auto-close the room once the old owner_pid no longer exists. Call this with your current PID (and session_id) to keep ownership. Owner-only.
| Parameter | Type | Description |
|---|---|---|
owner * | string | |
owner_pid * | integer | |
room_id * | string | |
session_id | string |
room_round_advance
Open a new discussion round (owner-only). Bumps the room's round counter, posts a visible "Round N" divider so every agent sees the boundary, and stamps subsequent messages with the new round. Read just that round later with messages_read(round=N) / summarize(round=N). Drive rounds by: advance → dispatch fresh workers seeded with round N-1 state → collect their kind=result posts → advance again.
| Parameter | Type | Description |
|---|---|---|
owner * | string | |
room_id * | string | |
label | string |
room_list
List all rooms (open and closed).
message_post
Post a message to a room. Returns assigned message_id. kind values: request — question/task, expects a reply (auto-notifies addressee) comment — observation, no reply expected ack — "received, working on it" busy — "occupied, will reply later" result — delivering output (to=originator) final — orchestrator's closing word, nobody replies system — system/human override (highest priority) close — room is closing Anti-loop rule (put this in your agent prompt): Reply ONLY to kind=request addressed t…
| Parameter | Type | Description |
|---|---|---|
agent * | string | |
body * | string | |
kind * | string | |
room_id * | string | |
idempotency_key | ||
meta | ||
reply_to | ||
to |
messages_read
Read chat history as plain text (token-efficient for LLMs). since_id: only return messages with id > since_id (delta read). until_id: only return messages with id <= until_id (0 = up to newest). since_id+until_id give a fixed window for paging a large room. limit: max messages to return (default 20 = fresh context window). max_chars: truncate each body to this many chars (0 = full). Default caps fat summaries so a read can't overflow you; truncation is head+tail (keeps the conclusion). Re-read one msg with limit=1&max_chars=0. ro…
| Parameter | Type | Description |
|---|---|---|
room_id * | string | |
kind | string | |
limit | integer | |
max_chars | integer | |
round | integer | |
since_id | integer | |
until_id | integer |
room_summarize
Get a cheap (no-LLM) digest: counts, open requests, and each agent's LATEST position — the "where does everyone stand" view between rounds. Scope: round=N → that round, round=-1 → current round, else since_id (0=all). Use instead of messages_read to catch up without re-reading everything.
| Parameter | Type | Description |
|---|---|---|
room_id * | string | |
round | integer | |
since_id | integer |
status_set
Report your current lifecycle phase to the room. Agents may report thinking, working, or responding. The server owns queued, starting, completed, unavailable, rate_limited, and stuck transitions. expires_in_sec > 0 keeps the underlying lease behavior for callers that want an automatic online reset.
| Parameter | Type | Description |
|---|---|---|
agent * | string | |
phase * | string | |
room_id * | string | |
detail | string | |
expires_in_sec | integer | |
session_id | string | |
task_id |
room_status
Return an actionable lifecycle snapshot for orchestrators. ``wait_recommended`` is true while an agent is starting/working/responding or while a request still has one or more expected replies. A live process is never treated as completed merely because its output log is quiet.
| Parameter | Type | Description |
|---|---|---|
room_id * | string |
propose_resolution
Propose a resolution to end the discussion. Returns resolution_id. All participants must call resolution_vote(..., 'ack') to accept. Any 'reject' vote reopens discussion.
| Parameter | Type | Description |
|---|---|---|
agent * | string | |
room_id * | string | |
text * | string |
resolution_vote
Vote on a proposed resolution. vote: 'ack'|'reject'. All ack → room becomes 'resolved' (read-only for discussion).
| Parameter | Type | Description |
|---|---|---|
agent * | string | |
resolution_id * | string | |
room_id * | string | |
vote * | string |
notify_register
Register a file path to be notified when a kind=request is addressed to you. Useful for externally-launched agents (not auto_spawn'd by huddle): register a path, then have a hook poll it. On every matching request huddle writes JSON to notify_file_path: {"room_id", "from_agent", "kind": "request", "msg_id"}
| Parameter | Type | Description |
|---|---|---|
agent * | string | |
notify_file_path * | string | |
room_id * | string |