ExperimentalExperimentaltaskExperimentaltaskExperimentalsignalAn abort signal used to communicate if the request was cancelled from the sender's side.
Optional ExperimentalauthInformation about a validated access token, provided to request handlers.
Optional ExperimentalsessionThe session ID from the transport, if available.
Optional Experimental_Metadata from the original request.
OptionalprogressToken?: string | numberIf specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
Optionalio.modelcontextprotocol/related-task?: { taskId: string }If specified, this request is related to the provided task.
ExperimentalrequestThe JSON-RPC ID of the request being handled. This can be useful for tracking or logging purposes.
Optional ExperimentaltaskOptional ExperimentalrequestThe original HTTP request.
ExperimentalsendSends a notification that relates to the current request being handled.
This is used by certain transports to correctly associate related messages.
ExperimentalsendSends a request that relates to the current request being handled.
This is used by certain transports to correctly associate related messages.
Optional ExperimentalcloseCloses the SSE stream for this request, triggering client reconnection. Only available when using StreamableHTTPServerTransport with eventStore configured. Use this to implement polling behavior during long-running operations.
Optional ExperimentalcloseCloses the standalone GET SSE stream, triggering client reconnection. Only available when using StreamableHTTPServerTransport with eventStore configured. Use this to implement polling behavior for server-initiated notifications.
Extended handler extra with task ID and store for task operations.