agent-maildir
v0.1.1Durable, local mailbox tools for agents running in different command-line harnesses.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mailbox_status
Show which mailbox agents this session is bound to, their unread counts, the orchestrator lease, and live listeners.
mailbox_join
Join the mailbox as the holder of a role: register this client's agent id (<harness>-<role> by default), subscribe it to role.<role> and any project topics, and bind the MCP session. Claude Code can also confirm live push; other clients use the mailbox tools to poll.
| Parameter | Type | Description |
|---|---|---|
role * | string | Role this session holds, e.g. reviewer |
agent | string | Agent id override; defaults to claude-<role> |
project | array | Project names to subscribe to as project.<name> |
mailbox_bind
Bind this session to a registered mailbox agent id so its messages are pushed here. Unread messages are delivered immediately.
| Parameter | Type | Description |
|---|---|---|
agent * | string | Registered agent id, e.g. claude-reviewer |
mailbox_inbox
List unread (unacknowledged) messages for a bound agent.
| Parameter | Type | Description |
|---|---|---|
agent | string |
mailbox_read
Read one message in full by id, including already acknowledged ones.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
agent | string |
mailbox_ack
Archive a handled message and send its sender an acknowledgement. Call only after the requested action is done, rejected, or deferred.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
agent | string | |
note | string | |
status | string |
mailbox_publish
Send a message to a direct recipient, a topic, or both, from a bound agent. Use reply_to when answering a received message.
| Parameter | Type | Description |
|---|---|---|
subject * | string | |
allow_no_subscribers | boolean | |
authority | string | |
body | object | JSON content, e.g. {summary, requestedAction, evidence} |
broadcast | boolean | Send to every registered agent except the sender |
from_agent | string | |
reply_to | string | |
to | array | Direct recipient agent ids |
topic | string | |
type | string |