McGuire to leave in three-player swap deal