Pep Guardiola's Manchester City reign started with a 2-1 win over Sunderland.
Sergio Aguero fired home a fourth-minute penalty after Patrick van Aanholt had brought down Raheem Sterling.
Jermain Defoe thought he had rescued a point for Sunderland when he finished with aplomb in the 71st minute before McNair, under pressure from Kelechi Iheanacho, turned the ball past Vito Mannone four minutes after coming on for his debut.
"The first games are always difficult," said former Barcelona and Bayern Munich manager Guardiola. "We spoke during the week about what we had to do like a team and we did it."
Enter a name and e-mail address and we will e-mail this website link too them.