Matt Cain has been cleared to return to the Giants' starting rotation on Friday after missing two turns due to a mild hamstring strain.