MIAMI — In the hitters’ meeting before the game, Jeff McNeil let his teammates know he was going to put them ahead, 1-0 Sunday against the Marlins.

Mickey Callaway told McNeil, “I want to see an 11-pitch at-bat from you and then you hit a homer.’’

McNeil countered with a smile, saying: “I’ll do it on the first pitch.’’

All-Star Sandy Alcantara was on the mound and McNeil delivered that first-pitch home run as the Mets took that 1-0 lead and turned it into a 6-2 victory over the shoddy Marlins Sunday at Marlins Park and their first road series victory in 102 days.

That also was against the Marlins.

A lot has happened since — most of it bad — to the 42-51 Mets.

Something good has happened, too. McNeil leads all of baseball with a .349 average and shows no signs of letting up.

“He’s fascinating once you get to know him, as a human being and as a hitter,’’ Todd Frazier told The Post about McNeil after the Mets finally got to leave town with winning smiles. “He reminds me of a Juan Pierre kind of hitter, puts the bat on the ball, not as fast but he is a table setter. He battles his butt off.’’

A scout at the game also drew a McNeil lefty-hitter comparison and get ready for this one: “He’s got a little George Brett in him,’’ the scout said. “He doesn’t have Brett’s power, but the way he kind of leans back and hunches his back, the way he is able to put the barrel on the ball, it’s a little bit like Brett.’’

McNeil does not lack confidence and when I mentioned what the scout said, he smiled and said of the Brett comparison, “I can see that.’’

Noted Frazier, “That’s good, their stances are the same.’’

McNeil also has been compared to Ichiro, the way he can hit the ball where it is pitched. That is some pretty elite company.

The home run was the second leadoff home run of McNeil’s career. He also hit one against the Yankees on July 3. On this day, the right fielder also cut down Curtis Granderson at the plate to end the second inning.

For all of McNeil’s bravado, he can be hard on himself and that is something the veteran Frazier is trying to get McNeil to understand and to lighten up a bit on as his career moves forward.

“It’s good to be hard on yourself,” Frazier said, “just don’t make it detrimental to your approach.

“He takes every at-bat to heart, which is good in a way. He got the home run, but he was still frustrated at the other at-bats. I told him once, ‘You understand that you are going to get your hits no matter what, and once you understand you can take your 1-for-4 days and know that tomorrow is a new day. And when you do roll off and [go] 0-for-4, don’t take it so much to heart and understand how good a hitter you are,’ he is going to be that much better off.

“I tell him, ‘You are the best hitter in baseball right now if we are looking at batting average,’ ’’ Frazier said. “I’m not saying you’re better than [Mike] Trout, but batting average, you are the best hitter in baseball. Pinch yourself. That’s unbelievable.’

“He’s like, ‘I have to do better.’ You should see him after the game when he’s sitting at his locker and I know he is reflecting. All that is fine, but I’ll tell him, ‘You got two hits today, get up and take a shower. What you are doing right now we will take every day of the week. We know you are going to get on base.’

“The sky is the limit for him because he can put the ball wherever he wants.’’

With McNeil at leadoff, Michael Conforto batting second, Pete Alonso third and Dom Smith fourth, followed by Robinson Cano, who homered for the second straight day, the offense is picking up a bit.

It’s been a terrible year for the Mets, but Jeff McNeil is hitting gold.