Skip to main content

Module mail_mcp

Module mail_mcp 

Source
Expand description

Messaging as tools: the three an agent needs to reach any session, served over MCP by supercode message mcp (which supercode teams connect --install registers with each harness at user scope).

They are Claude Code’s native pair (ListAgents, SendMessage) plus the one a harness without an injection door needs:

  • list_agents — every session this machine can reach (LiveSessions).
  • send_message — crate::mail_send::send, the one send every sender uses.
  • read_messages — the caller’s unread mail, each with how to answer it.

The sender is never an argument: the MCP server is started by the session that uses it, so resolve_caller finds that session in the server’s own process ancestry, exactly as for supercode message send.

Functions§

registry
The registry supercode message mcp serves.