class RubyLLM::MCP::Transports::Support::HTTPClient

def self.build_connection

def self.build_connection
  HTTPX.with(
    pool_options: {
      max_connections: RubyLLM::MCP.config.max_connections,
      pool_timeout: RubyLLM::MCP.config.pool_timeout
    }
  )
end

def self.connection

def self.connection
  Thread.current[CONNECTION_KEY] ||= build_connection
end