McpClientStatusPacket

data class McpClientStatusPacket(val enabled: Boolean, val port: Int, val url: String, val hasKey: Boolean, val showToolLogs: Boolean) : CustomPacketPayload(source)

C2S packet that reports the client MCP status after a config change.

Constructors

Link copied to clipboard
constructor(enabled: Boolean, port: Int, url: String, hasKey: Boolean, showToolLogs: Boolean)

Types

Link copied to clipboard
object Companion

Packet type and codec constants.

Properties

Link copied to clipboard

whether the client MCP endpoint is enabled

Link copied to clipboard

whether the client has a non-blank API key configured

Link copied to clipboard
val port: Int

the TCP port the client MCP server is bound to

Link copied to clipboard

whether in-game MCP tool call notifications are enabled

Link copied to clipboard
val url: String

the reachable URL of the client MCP endpoint (empty if not running)

Functions

Link copied to clipboard
open override fun type(): CustomPacketPayload.Type<out CustomPacketPayload>