Free agent pitcher Johnny Cueto passed his physical with the Giants on Thursday, and officially inked his six-year deal, the club announced.