class ActiveMcp::Server::Fetcher
def initialize(base_uri: nil, auth: nil)
def initialize(base_uri: nil, auth: nil) @base_uri = base_uri if auth @auth_header = "#{(auth[:type] == :bearer) ? "Bearer" : "Basic"} #{auth[:token]}" end end
def initialize(base_uri: nil, auth: nil) @base_uri = base_uri if auth @auth_header = "#{(auth[:type] == :bearer) ? "Bearer" : "Basic"} #{auth[:token]}" end end