mcp.schema.notification

Members list

Type members

Classlikes

final case class CancelledNotification(params: Option[Json]) extends Notification

This notification can be sent by either side to indicate that it is cancelling a previously-issued request.

This notification can be sent by either side to indicate that it is cancelling a previously-issued request.

The request SHOULD still be in-flight, but due to communication latency, it is always possible that this notification MAY arrive after the request has already finished.

This notification indicates that the result will be unused, so any associated processing SHOULD cease.

A client MUST NOT attempt to cancel its initialize request.

Attributes

Companion
object
Source
CancelledNotification.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Notification
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
CancelledNotification.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class InitializedNotification() extends Notification

This notification is sent from the client to the server after initialization has finished.

This notification is sent from the client to the server after initialization has finished.

Attributes

Companion
object
Source
InitializedNotification.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Notification
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
InitializedNotification.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class LoggingMessageNotification(level: LoggingLevel, logger: Option[String], data: Json) extends Notification

Notification of a log message passed from server to client. If no logging/setLevel request has been sent from the client, the server MAY decide which messages to send automatically.

Notification of a log message passed from server to client. If no logging/setLevel request has been sent from the client, the server MAY decide which messages to send automatically.

Attributes

Companion
object
Source
LoggingMessageNotification.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Notification
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
LoggingMessageNotification.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ProgressNotification(progressToken: ProgressToken, progress: Int, total: Option[Int], message: Option[String]) extends Notification

An out-of-band notification used to inform the receiver of a progress update for a long-running request.

An out-of-band notification used to inform the receiver of a progress update for a long-running request.

Attributes

Companion
object
Source
ProgressNotification.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Notification
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ProgressNotification.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class PromptListChangedNotification() extends Notification

An optional notification from the server to the client, informing it that the list of prompts it offers has changed. This may be issued by servers without any previous subscription from the client.

An optional notification from the server to the client, informing it that the list of prompts it offers has changed. This may be issued by servers without any previous subscription from the client.

Attributes

Companion
object
Source
PromptListChangedNotification.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Notification
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
PromptListChangedNotification.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ResourceListChangedNotification() extends Notification

An optional notification from the server to the client, informing it that the list of resources it can read from has changed. This may be issued by servers without any previous subscription from the client.

An optional notification from the server to the client, informing it that the list of resources it can read from has changed. This may be issued by servers without any previous subscription from the client.

Attributes

Companion
object
Source
ResourceListChangedNotification.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Notification
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ResourceListChangedNotification.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ResourceUpdatedNotification(uri: String) extends Notification

A notification from the server to the client, informing it that a resource has changed and may need to be read again. This should only be sent if the client previously sent a resources/subscribe request.

A notification from the server to the client, informing it that a resource has changed and may need to be read again. This should only be sent if the client previously sent a resources/subscribe request.

Attributes

Companion
object
Source
ResourceUpdatedNotification.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Notification
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ResourceUpdatedNotification.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class RootsListChangedNotification() extends Notification

Attributes

Companion
object
Source
RootsListChangedNotification.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Notification
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
RootsListChangedNotification.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ToolListChangedNotification() extends Notification

Attributes

Companion
object
Source
ToolListChangedNotification.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Notification
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
ToolListChangedNotification.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type