ReadonlyserverResolved path to the server binary or JS entry-point
ReadonlyserverHuman-readable label for log messages
ReadonlyrequestPer-request timeout (milliseconds)
ReadonlysetStore or clear the spawned child process
ReadonlysetMark the connection as (dis)connected
ReadonlyonRoute an incoming newline-delimited JSON-RPC message line
ReadonlyrejectReject and clear all in-flight pending requests with an error
Adapter passed by MCPConnection to stdio spawn helpers. Lets the helpers read the few connection-level fields they need and mutate process state without pulling in the whole connection class.