That ended an eight-match winless run for Southampton and helped them climb to within a point of safety with three games left.
"There's a lot of positives to take from that. The dressing room is buzzing and hopefully that provides a good bit of momentum," McCarty told Southampton's website.
"I thought we played well and there's a lot of positives to take as we prepare for the Everton game."
Southampton, who finished no lower than eighth in the last four seasons, will be seeking their third away league win of the campaign when they travel to Everton.
(Reporting by Aditi Prakash in Bengaluru, Editing by Ed Osmond)
