'The authorization with OAuth 2.1 of the Model Context Protocol (MCP) is enabled, but ROOT_URL does not use HTTPS. The authorization stays disabled. Set ROOT_URL to the public HTTPS URL of the instance.'
);
}
// The middleware has to be registered before the transport mounts its
// The middleware has to be registered before the transport mounts its
// route, so that an unauthorized request gets the status 401 of the
// route, so that an unauthorized request gets the status 401 of the
// specification instead of an error of the protocol
// specification instead of an error of the protocol