McGleish scored twice for the Cobblers in 14 appearances while at Sixfields.
One player who is staying is Ron Robert Zieler. The on loan keeper from Man Utd has extended his loan until the end of January.
Zieler was hoping to play for the reserves in midweek but that game was postponed as Town keep the Sixfields pitch covered ahead of the home game with Huddersfield on Saturday.