McGee returned to Durham for the 2022 season, pitching to a 6–9 record with a 5.43 earned run average (ERA) in 27 games (22 starts).[3] On September 29, 2022, McGee was selected to the 40-man roster and promoted to the major leagues for the first time.[5] He made his major-league debut with the Rays on October 2,[6] pitching three innings while allowing one unearned run on four hits.[7] The following day, McGee was designated for assignment following the promotion of Kevin Herget.[8]
Seattle Mariners
On October 5, 2022, McGee was claimed off waivers by the Boston Red Sox.[7] On November 9, McGee was acquired by the Seattle Mariners in exchange for cash considerations.[9] McGee was optioned to the Triple-A Tacoma Rainiers to begin the 2023 season.[10] On April 30, McGee made his Mariners debut, tossing 6+2⁄3 scoreless innings against the Toronto Blue Jays while allowing only one hit and one walk.[11] On May 22, it was announced that McGee would likely undergo Tommy John surgery, ending his season.[12] Following the season on October 31, McGee was removed from the 40–man roster and sent outright to Triple–A Tacoma.[13] He elected free agency on November 6.[14]
Milwaukee Brewers
On November 28, 2023, McGee signed a two-year minor league contract with the Milwaukee Brewers organization.[15]