ServerInfo

data class ServerInfo(val name: String, val version: String, val mode: McpExecutionMode, val javaVersion: String, val startTime: Instant = Instant.now())

Value object containing information about the MCP server.

Constructors

Link copied to clipboard
constructor(name: String, version: String, mode: McpExecutionMode, javaVersion: String, startTime: Instant = Instant.now())

Properties

Link copied to clipboard

the Java runtime version

Link copied to clipboard

the execution mode (SYNC or ASYNC)

Link copied to clipboard

the server name

Link copied to clipboard

the server start time (default: current instant)

Link copied to clipboard

the server version

Functions

Link copied to clipboard

Returns a list of banner lines summarizing server information.