NEW YORK (AP) Blake Swihart hit an inside-the-park home run in the 10th inning and the Boston Red Sox stopped the New York Mets' seven-game winning streak, holding on for a 6-4 victory Friday night.

The Red Sox, visiting the Mets for the first time since 2001, scored three times in the 10th. Swihart led off with a drive that appeared to clear the center field wall and bounce back into play, but the ball was ruled in play.

The NL East-leading Mets rallied in the bottom half when reliever Junichi Tazawa walked four straight batters with two outs to force home a run. Craig Breslow replaced Tazawa and retired Yoenis Cespedes on a fly ball for his first save.

More from FoxSports

Tommy Layne (1-1) got the win. Carlos Torre (5-6) took the loss.

Mets ace Matt Harvey pitched six shutout innings, giving up two hits and striking out eight. He left with a2-0 lead.

David Oritz and Jackie Bradley Jr. homered off Logan Verrett in Boston's three-run seventh.

Swihart opened the 10th with a long fly that seemed to clear the orange line at the top of the wall. There was no indication from the umpires that it was a home run, and the ball caromed back past center fielder Juan Lagares.

Swihart kept running as shortstop Ruben Tejada ran far into the outfield to retrieve the ball. Approaching third base, Swihart got the green light from coach Brian Butterfield, and the fleet-footed catcher easily beat second baseman Wilmer Flores' relay throw.

Josh Rutledge added a sacrifice fly and Xander Bogaerts had an RBI double later in the 10th.

Travis d'Arnaud and Michael Cuddyer each had RBI singles for New York, which had scored 73 runs during its winning streak - a team record for a seven-game span.

Mets captain David Wright went 2 for 5 in his first game at Citi Field since April. He returned from a long stint on the disabled list earlier in the week during a sweep in Philadelphia.

The crowd gave Wright a standing ovation when he came to bat for the first time.

Boston rookie Henry Owens gave up one earned run in five innings.

TRAINER'S ROOM

Red Sox: OF Hanley Ramirez (shoulder) was a last minute scratch. Interim manager Torey Lovullo indicated that Ramirez was dealing with right shoulder fatigue and was day-to-day. Earlier in the season, Ramirez sprained his left shoulder.

Mets: INF Daniel Murphy didn't start. Manager Terry Collins indicated that several other regulars would be given a day off over the weekend. Collins also indicated there was a ''good shot'' that Wright would sit on Saturday.

UP NEXT

Red Sox: Joe Kelly (7-6, 5.18 ERA) is coming off his longest outing of the year and has thrown three consecutive quality starts for the first time all season. Kelly is 1-0 against the Mets in three career appearances.

Mets: Jacob deGrom (12-6, 2.29 ERA) looks to rebound from the worst start of his career. DeGrom allowed a career-high seven runs in just 2 2-3 innings against Philadelphia.