McGee announced his retirement from professional baseball Friday, Marc Topkin of the Tampa Bay Times reports.
The Nationals released McGee on Sunday.
McGee was designated for assignment by the Nationals on Friday, Mark Zuckerman of MASNSports.com reports.
McGee was claimed off waivers by the Nationals on Tuesday, Matt Weyrich of NBC Sports Washington reports.
McGee was designated for assignment by the Brewers on Sunday.
The Brewers signed McGee to a major-league contract Friday, Ken Rosenthal of The Athletic reports.