ExperimentalOptional Experimental_Metadata from the original request.
Optionalio.modelcontextprotocol/related-task?: { taskId: string }If specified, this request is related to the provided task.
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.
Optional ExperimentalauthInformation about a validated access token, provided to request handlers.
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.
ExperimentalrequestThe JSON-RPC ID of the request being handled. This can be useful for tracking or logging purposes.
Optional 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 ExperimentalsessionThe session ID from the transport, if available.
ExperimentalsignalAn abort signal used to communicate if the request was cancelled from the sender's side.
Optional ExperimentaltaskOptional ExperimentaltaskExperimentaltask
Extended handler extra with task store for task creation.