agent-maildir

v0.1.1
io.github.shafty023/agent-maildir Checked 2 days ago Published 26 days ago

Durable, 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.

ParameterTypeDescription
role *stringRole this session holds, e.g. reviewer
agentstringAgent id override; defaults to claude-<role>
projectarrayProject 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.

ParameterTypeDescription
agent *stringRegistered agent id, e.g. claude-reviewer

mailbox_inbox

List unread (unacknowledged) messages for a bound agent.

ParameterTypeDescription
agentstring

mailbox_read

Read one message in full by id, including already acknowledged ones.

ParameterTypeDescription
message_id *string
agentstring

mailbox_ack

Archive a handled message and send its sender an acknowledgement. Call only after the requested action is done, rejected, or deferred.

ParameterTypeDescription
message_id *string
agentstring
notestring
statusstring

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.

ParameterTypeDescription
subject *string
allow_no_subscribersboolean
authoritystring
bodyobjectJSON content, e.g. {summary, requestedAction, evidence}
broadcastbooleanSend to every registered agent except the sender
from_agentstring
reply_tostring
toarrayDirect recipient agent ids
topicstring
typestring