McCann, 30, was offered a new deal by United, but put pen to paper with Peterborough, a team he has been linked with since the end of the campaign, on Monday morning.
He was a regular in the Iron side last season and has been capped 21 times by Northern Ireland, scoring three goals.