McpAuthRequiredException
class McpAuthRequiredException(val serverUrl: String, val resourceMetadataUrl: String?, val scope: String?) : McpException(source)
The server requires authorization (HTTP 401) and no usable credentials are configured. resourceMetadataUrl (RFC 9728) and scope come from the WWW-Authenticate challenge and feed McpOAuth.discover.