McpServerPayloadHandler

Handles MCP status packets arriving from the client.

Functions

Link copied to clipboard
fun handleStatusPacket(data: McpClientStatusPacket, context: ServerPlayNetworking.Context)

Formats the client's MCP status into a chat message for the player.

Link copied to clipboard
fun handleToolCallPacket(data: McpClientToolCallPacket, context: ServerPlayNetworking.Context)

Handles client-side MCP tool-call telemetry packets.