A system for automatically connecting tubing to a medical fluid machine includes at least one fluid container including a tube having a cap on an end of the tube, a shuttle configured to receive the tube, a driving mechanism configured to translate the shuttle, a cap removal device configured to remove the cap from the end of the tube, and a control unit programmed to cause (i) the driving mechanism to translate the shuttle holding the tube in a first direction towards the cap removal device so that the cap removal device can engage the tube cap, (ii) the driving mechanism to translate in a second direction away from the cap removal device so that the cap removal device removes the cap from the end of the tube, and (iii) the driving mechanism to translate the shuttle in the first direction with the cap removed from the tube so that the tube can be mated with the medical fluid machine.