ServerDefinition

The server definition for an MCP descriptor. Contains the schema version and inline content for the MCP server configuration.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The JSON content containing the MCP server definition, conforming to the MCP protocol specification.

Link copied to clipboard

The schema version of the server definition based on the MCP protocol specification. If not specified, the version is auto-detected from the content.

Functions

Link copied to clipboard
inline fun copy(block: ServerDefinition.Builder.() -> Unit = {}): ServerDefinition
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String