The 35-year-old is well known to Town fans from his loan spell with the club and was available after being freed by Wembley foes Bradford City.
"Matt was always our number one keeping target this summer and I'm delighted to get him," said boss Aidy Boothroyd.
Source: Cobblers Mad
Source: FOOTYMAD