PHILADELPHIA (AP) Bryce Harper delivered another clutch hit and then waited for a video review to celebrate.
Roman Quinn led off the inning with a single against Seth Lugo (1-2), and Andrew McCutchen followed with a single. After Rhys Hoskins struck out, Harper ripped an 0-2 pitch to right. Quinn slid headfirst ahead of Michael Conforto's throw. The Phillies gathered outside their dugout until a video review confirmed the safe call before jumping and air-fiving each other.
''It was definitely close,'' Harper said. ''I was worried but once he said safe, I was very excited and very happy about it. One of the weirder walk-offs I've had, for sure.''
The Phillies had a strong sense of urgency after being swept in a three-game series by the Orioles.
Harper called those losses ''an embarrassment.''
''This was an important win for us,'' manager Joe Girardi said.
J.T. Realmuto hit a go-ahead, three-run homer but Hector Neris (1-0) couldn't protect a one-run lead in the ninth. He allowed a single and walk before striking out Pete Alonso and Dominic Smith. Robinson Cano followed with an RBI single to tie it at 5.
Realmuto connected for his eighth homer off Walker Lockett, who started after two-time NL Cy Young Award winner Jacob deGrom was scratched because of neck tightness.
Realmuto's drive in the fifth gave the Phillies their first lead, and the ball bounced off a cardboard cutout of a toddler in the left-field stands. Realmuto already has a career-best for homers in a month with seven and he's driven in 20 runs in just 15 games. The two-time All-Star catcher can become a free agent after the season.
Fans who gather outside the ballpark have been chanting ''Sign J.T.!'' throughout his at-bats this season. Harper has been vocal about his desire to see his teammate get a long-term contract. Harper has looked up to the suites where team executives sit and made a check-writing gesture after scoring on a few of Realmuto's homers.
Lockett gave up five runs and seven hits in six innings.
''I was glad to get through six and save the bullpen a little bit,'' Lockett said. ''Couple mistakes. Not as sharp as I would like. But it was OK.''
Phillies starter Spencer Howard lasted just 3 1/3 innings, allowing four runs - three earned - and seven hits. He left because of a blister on his finger but said he expects to make his next start.
Smith and Cano hit consecutive solo homers in the third to give the Mets a 4-2 lead. Smith barely cleared the fence in right but Cano's shot hit the scoreboard on the facing of the second deck.
Alec Bohm and Quinn lined consecutive RBI singles in the second to tie it at 2-2. It was the first career RBI for Bohm, who was called up Thursday.
Mets manager Luis Rojas said he doesn't think deGrom has a long-term injury and the hard-throwing righty anticipates making his next start. He even considered not missing this one.
''I debated on trying to go out there, and I think talking over it, it was, `Let's make this hopefully a one-start thing and not really aggravate something, or feeling this, change my arm slot and hurt something else,''' deGrom said. ''These were all discussions we had. So hopefully it's a one start thing, but it's basically day by day right now. I love going out there and pitching and competing. And when you're not able to, it really does frustrate you.''
Mets: Optioned RHP Drew Smith to the team's alternate site.
Phillies: Called up LHP JoJo Romero and optioned LHP Austin Davis.
Mets: INF/OF Jeff McNeil wasn't in the starting lineup after crashing into a wall and being carted off the field Thursday. McNeil said he's feeling better and tests revealed only a bone bruise. ... Cano (left groin) was activated from the injury list and started at designated hitter. ... SS Amed Rosario was back in the lineup after a stomach bug kept him out three games.
Phillies: INF/OF Scott Kingery said he's been bothered by back and shoulder issues since returning from a bout with coronavirus. Kingery was out of the lineup for the third straight game and is hitting just .100 (4 for 40).
LHP Steven Matz (0-3, 8.20 ERA) takes the mound for the Mets on Saturday and RHP Aaron Nola (1-1, 2.79) goes for the Phillies. Nola has 22 strikeouts in his last two starts.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
Copyright 2020 STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.