logRejected

private fun logRejected(kind: McpServer.Reject, ex: HttpExchange)

The ONLY channel a refusal has, the wire carrying nothing — so it prints every field that decides one. Once per Reject kind: whoever needs this reads it while setting the client up, and past that the same line is a scanner's to repeat.