As the Mets shuffled through nearly every possible bullpen option in an attempt to contain the Phillies on Sunday, the hope was that Justin Wilson could continue his recent stretch of solid outings.

But Wilson — like the rest of the bullpen — struggled to disarm Philadelphia’s hot bats as the Mets dropped the series finale 10-7 at Citi Field.

Wilson started the seventh inning after the Mets made it a one-run game in the bottom of the sixth. He gave up a leadoff single to Jean Segura before battling through 10 pitches to strike out Corey Dickerson. Wilson followed with another strikeout, this time of Rhys Hoskins, before Scott Kingery blasted a full-count, two-run homer to make it 9-6.

Tyler Bashlor promptly came out of the Mets’ bullpen to replace him. Sunday’s outing brought Wilson’s ERA up to 2.48.

“Really, they just made him throw a lot of pitches,” Mets manager Mickey Callaway said. “And then on about his 30th pitch, he gives up a homer. But the kid has had a point nine ERA since the All-Star break, he’s been one of the best pitchers in baseball. Every now and again, you’re going to give up a run or two.”

The 32-year-old lefty reliever was a reliable option for all of August and carried it over into his first two appearances in September, allowing only 10 hits in just over 13 innings with one earned run, before Sunday. Wilson earned a win in the Mets’ 11-5 victory over the Phillies on Aug. 30 to bring his record to 4-1.

Wilson signed a two-year, $10 million contract in the offseason but started the year on the 10-day injured list with left elbow soreness. He returned in early May before being shelved a few days later with the same issue, but he was successful through his rehab assignments and returned in early July.

In 38 games this season, Wilson has recorded 34 strikeouts and allowed just eight runs (seven earned) in just over 32 innings.