deleteTerminatesSession

Decide how to answer an HTTP DELETE to the MCP endpoint (basic/transports §Session Management / §Backward Compatibility). The stable revisions (2025-03-26 / 2025-06-18 / 2025-11-25) carry protocol-level sessions a client tears down via DELETE + Mcp-Session-Id. The draft removed protocol-level sessions ("Removal of protocol-level sessions"), so there is nothing to terminate: a draft-negotiated server "SHOULD respond as follows: HTTP GET or DELETE to the MCP endpoint: respond with 405 Method Not Allowed."

Returns true when DELETE should drive session termination (stable revisions), false when it must be answered with 405 (the draft) — mirroring the version gate getOpensSseStream already applies to GET.

@safe
bool
deleteTerminatesSession