The move is a positive one for McGuinness himself, with Luton looking to bounce back up to the Premier League.
The centre-back made 86 appearances for Cardiff, and he leaves them on a high. He scored and helped Cardiff to keep a clean sheet in his last appearance against Bristol Rovers in the League Cup last week.