ch.linkyard.mcp.protocol
package ch.linkyard.mcp.protocol
Members list
Type members
Classlikes
case class Cancelled(requestId: RequestId, reason: String, _meta: Option[JsonObject]) extends Notification
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Notificationclass Objecttrait Matchableclass AnyShow all
object Cancelled
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Completion
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Completion.type
enum CompletionReference
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object CompletionReference
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CompletionReference.type
enum Content
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Content
object Elicitation
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Elicitation.type
case class Initialize(capabilities: ClientCapabilities, clientInfo: PartyInfo, protocolVersion: String, _meta: Option[JsonObject]) extends Request
object Initialize
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Initialize.type
case class Initialized(_meta: Option[JsonObject]) extends Notification
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Notificationclass Objecttrait Matchableclass AnyShow all
object Initialized
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Initialized.type
enum LoggingLevel extends Ordered[LoggingLevel]
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalstrait Ordered[LoggingLevel]trait Comparable[LoggingLevel]class Objecttrait Matchableclass AnyShow all
object LoggingLevel
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
LoggingLevel.type
trait McpResponse
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
trait Notification
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Cancelledclass Initializedclass LoggingMessageclass ProgressNotificationclass ListChangedclass ListChangedclass Updatedclass ListChangedclass ListChangedShow all
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Ping
case class ProgressNotification(progressToken: ProgressToken, progress: Double, total: Option[Double], message: Option[String], _meta: Option[JsonObject]) extends Notification
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Notificationclass Objecttrait Matchableclass AnyShow all
object ProgressNotification
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ProgressNotification.type
enum ProgressToken
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object ProgressToken
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ProgressToken.type
case class Prompt(name: String, title: Option[String], description: Option[String], arguments: Option[List[PromptArgument]], _meta: Option[JsonObject])
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Prompt
case class PromptArgument(name: String, title: Option[String], description: Option[String], required: Option[Boolean])
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object PromptArgument
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PromptArgument.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object PromptMessage
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PromptMessage.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object PromptReference
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PromptReference.type
trait Request
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Completeclass Createclass Initializeclass SetLevelclass Pingclass GetPromptclass ListPromptsclass ListResourceTemplatesclass ListResourcesclass ReadResourceclass Subscribeclass Unsubscribeclass ListRootsclass CreateMessageclass CallToolclass ListToolsShow all
enum RequestId
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object RequestId
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class Resource(uri: String, name: String, title: Option[String], description: Option[String], mimeType: Option[String], size: Option[Long], annotations: Option[Annotations], _meta: Option[JsonObject])
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Resource
object Resources
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Resources.type
enum Role
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Role
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Root
object Sampling
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Sampling.type
case class Tool(name: String, title: Option[String], description: Option[String], inputSchema: JsonSchema, outputSchema: Option[JsonSchema], annotations: Option[Annotations], _meta: Option[JsonObject])
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Types
type ClientRequest = Ping | Initialize | ListPrompts | GetPrompt | ListResources | ListResourceTemplates | ReadResource | Subscribe | Unsubscribe | ListTools | CallTool | SetLevel | Complete
type ServerNotification = Cancelled | ProgressNotification | ListChanged | Updated | ListChanged | ListChanged | LoggingMessage
Givens
Givens
In this article