The Washington Nationals may have to confront the menace of Matt Harvey for years to come, but that troubling thought had been excised from their minds as they floated out of Citi Field on Friday night. What they care about now, in the desperate present, is accumulating victories. They will creep toward contention by any means, and that meant surviving Harvey and mauling the New York Mets’ bullpen.

The Nationals withstood Harvey’s brilliance for seven innings, and when mediocrity streamed from the Mets’ bullpen gates, they erased a three-run deficit and charged to a 6-4 victory. Ryan Zimmerman lashed a two-out, three-run double in the eighth. In the ninth, Ian Desmond, already the only hitter who had bloodied Harvey, shot a double down the right field line to score Jayson Werth with the go-ahead run.

The Nationals for so much of the year had stalled whenever they fell behind. Now, they had endured Harvey, clawed back and stolen a game on the road.

“That might have been our biggest win of the year right there,” Manager Davey Johnson said. “Our guys battled. That’s what we’re capable of. It was a big, uplifting win. Everybody’s been down on what they’re capable of doing, and so this was a good jump-start.”

Kurt Suzuki hit a sacrifice fly to provide an insurance run, and Johnson turned the ninth inning over not to Rafael Soriano, who had pitched three consecutive days, but to erstwhile closer Drew Storen. He had struck out 11 of the previous 21 hitters he faced, and back in the role he cherishes, Storen retired all three batters he saw.

Storen’s second save of the season finalized the latest Nationals victory that nudged them just above .500. They will try again to establish momentum Saturday behind Taylor Jordan, who will arrive from Class AA Harrisburg to make his major league debut.

“Overall, this is probably the biggest game of the year for the team,” said Ross Detwiler, who allowed two earned runs over five innings.

When they gather in the visitors’ clubhouse Saturday morning, the Nationals may still be glowing from their largest comeback of the season. Harvey retired the first 14 batters he faced, struck out 11 and surrendered only three hits. Afterward, Desmond was asked if he could tell Harvey had no-hit stuff after a few innings. “No,” he replied. “This morning when I woke up, I thought he had no-hit stuff.”

Harvey was overwhelming for seven innings, electrifying Citi Field with 98-mph fastballs and angry sliders. He lowered his ERA to 2.00. His departure filled the stadium with dread. The Mets, leading 4-1 when Harvey exited, still needed six outs. Detwiler and Ross Ohlendorf had hung tough, especially Detwiler in the fourth, when he loaded the bases and escaped with minimal damage.

“All we wanted to do was just stay close,” Johnson said.

The first reliever to come through the Mets’ bullpen gates was David Aardsma. Roger Bernadina cracked a single up the middle, which Suzuki and pinch-hitter Chad Tracy followed with two outs. Mets Manager Terry Collins summoned lefty Josh Edgin to face Denard Span, who entered hitting .136 against left-handers. Span lined a 1-1, 93-mph fastball to right-center field for a double, his second extra-base hit of the night.