The underdogs took the lead on 16 minutes when a mistake by Manny Smith let in Fleetwood's Gareth Evans who planted a delicious chip over a stranded Bartosz Bialkowski.
The Sky Bet League One side then took the lead on 39 minutes when, after Joss Labadie's header hit the woodwork, Danny Haynes pounced for his first goal for the Magpies.
County extended their lead on 73 minutes when the impressive McGregor marked his debut with a goal after his deflected shot from 22 yards flew into the net.
After Smith received a second yellow card for a foul on David Ball on 84 minutes, County were left to sweat when Ball scored in the 88th minute but they just held on for the win.
- Sports & Recreation
- Manny Smith
- Joss Labadie