Carnot-engine in cosmology

Imagine that you observe a person at a cosmological distance who’s running a Carnot-engine to generate mechanical work from two reservoirs at different temperatures: Due to cosmological redshifting the amount of mechanical work being generated seems to become less and less. Does the Carnot engine’s perceived efficiency depend on redshift?