Miami’s Sandy Alcantara (4-9) tossed six innings, allowing nine hits and four runs.
Jeurys Familia loaded the bases in the seventh with one out and a 5-1 lead. Seth Lugo entered and got a called strike three on Brian Anderson and Starlin Castro bounced out to end the threat.
“We had the bases loaded with Familia right there, but we had a tough day at the plate,” Miguel Rojas said.
Alonso hit a sacrifice fly in the eighth to cap the scoring for the Mets.
Miami’s Garrett Cooper hit his 10th home run of the season in the ninth.
McNeil led off the game with a home run, his eighth, on the first pitch thrown by Alcantara. It was McNeil’s second leadoff homer of the season. He also knocked in a run in the sixth on a fielder’s choice. He is hitting .402 (35 for 87) with five home runs and 18 RBIs in his past 21 games.
Rojas, who went 3 for 5, tied the game at 1 with an RBI single in the second.
The Mets scored twice in the fourth on a ground out by Hechavarria and a base hit by Conforto.
“It could have gotten really ugly right there, but (Alcantara) was able to limit the damage,” Marlins manager Don Mattingly said.
McNeil’s groundout extended the lead to 4-1.
“I think I was throwing a pretty good game,” Alcantara said. “They got a lot of soft contact off of me for runs, but I never give up. I want to continue attacking the hitters”
Cano’s sixth home run of the season went over the right-field wall in the seventh for a 5-1 lead.
It was the first time Cano has homered in consecutive games since Sept. 2-3, 2017, while with Seattle.
Mets shortstop Amed Rosario did not start for what he believes was for not running out a fly ball that dropped during Saturday’s game.
“I think it was because of the consequences of me not running out that flyball,” Rosario said through a translator.
Callaway said: “I wouldn’t call it disciplinary.”
The Mets were leading 4-2 in the eighth when Rosario hit a fly ball to right-center that was misplayed by the Marlins’ outfielders, dropping in for a single.
“He knows that he needs to be on second in that situation and a few guys hit him up right after it happened,” Callaway said.
Rosario entered Sunday’s game in the seventh and doubled in his only at-bat.
Marlins: IF Martin Prado (hamstring) began a rehab assignment with Double-A Jacksonville on Sunday. … RHP Tayron Guerrero (finger) continued his rehab by throwing a scoreless inning for Class A Jupiter.
Mets: RHP Zack Wheeler (6-6, 4.69 ERA) opens a two-game set at Minnesota on Tuesday. Wheeler allowed six runs in five innings in his previous start against Philadelphia on July 7.
Marlins: RHP Jordan Yamamoto (3-0, 1.24) begins a three-game series against San Diego on Tuesday. Yamamoto has the third-best ERA in the majors since making his debut on June 12.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP_Sports