Sessions are transport-bound
Breadbox creates a session automatically for every MCP connection — no setup required.- Streamable HTTP — the session is keyed to the
MCP-Session-Idvalue from the client’sinitializerequest. Every tool call over that connection is attributed to the same session. - stdio (
breadbox mcp-stdio) — the session is keyed to a per-process ID generated when the server starts. All tool calls in the process share one session.
clientInfo (name and version) from the initialize handshake.
There is no
create_session tool. Write tool input schemas do not have session_id or reason fields. If you have agent code written against an older version of Breadbox that passes these fields, they are silently ignored.Attaching a label to a call
To record why a specific write happened, pass an optionalreason string in the _meta block alongside the tool arguments:
_meta.reason and stamps it on the activity log entry for that call. It is optional — the server never rejects a call for omitting it. Read calls accept _meta.reason too; use it when you want to annotate a read in the audit log.
Viewing session history
Open Settings → MCP in the admin dashboard to see session history grouped by connection, with the tool calls each session made, their timestamps, and anyreason labels attached.