The 49ers and Colton McKivitz have agreed to a three-year, $45 million contract that keeps the right tackle in San Francisco through the 2028 season. The deal includes $27 million guaranteed, agents Doug Hendrickson and CJ LaBoy confirmed to ESPN on Monday.