mcpServer/forfeited
Experimental
A stdio MCP server’s connection was forfeited in one loaded session (deadline, framing desync, notification-write timeout, or cancel-write failure). Delivered to every experimental connection that has not opted the method out, initiator or not. The holder decides the strategy; the reconnect capability is the independent mcpServer/reconnect verb (ADR 74052 D2).
Parameters
Section titled “Parameters”Type: McpServerForfeitedParams
mcpServer/forfeited params (ADR 74052 D2): one notice per forfeit,
fire-and-forget — serve waits for no reply. The holder’s strategy
decides what happens next, through mcpServer/reconnect (D3) or never.
| Field | Type | Stability | Presence | Description |
|---|---|---|---|---|
consecutiveFailedReconnects |
integer |
Experimental | required | Consecutive failed reconnects for this server in this session: 0 on the first forfeit; the crash-loop signal for the holder’s strategy. Reset on a successful reconnect (ADR D4). u8: the counter rides A’s McpForfeitEvent field of the same type. |
reason |
McpForfeitReason | Experimental | required | The trigger that forfeited the connection. |
server |
string |
Experimental | required | The forfeited server’s name. |
sessionId |
string |
Experimental | required | The loaded session whose server forfeited. |
Source
schema/msp/experimental/msp.schema.json#/notifications/mcpServer~2Fforfeited
{ "description": "A stdio MCP server's connection was forfeited in one loaded session (deadline, framing desync, notification-write timeout, or cancel-write failure). Delivered to every experimental connection that has not opted the method out, initiator or not. The holder decides the strategy; the reconnect capability is the independent mcpServer/reconnect verb (ADR 74052 D2).", "params": { "$ref": "#/$defs/McpServerForfeitedParams" }, "x-msp-descriptor": "mcpServer/forfeited", "x-msp-stability": "experimental"}