Protocol

sealed interface Protocol : McpAttributes.Mcp(source)

The version of the Model Context Protocol in use. This is a RECOMMENDED attribute.

Example: "2025-06-18"

Inheritors

Types

Link copied to clipboard
data class Version(val version: String) : McpAttributes.Mcp.Protocol

Properties

Link copied to clipboard
open override val key: String

Attribute key

Link copied to clipboard
abstract val value: Any

Attribute value.

Functions

Link copied to clipboard
open fun String.concatKey(other: String): String

Joins two attribute-key segments with a . separator.