MIAMI — In need of a hero, the Mets found an unlikely one in Clay Holmes on Saturday.

Holmes, who had lasted six innings in a start only once since June 7, was taking the mound after getting thrust into a relief appearance three days earlier. The Mets were, and remain, desperate.

Access the Mets beat like never before

Join Post Sports+ for exciting subscriber-only features, including real-time texting with Mike Puma about the inside buzz on the Mets. Try it free

The veteran right-hander delivered a gem, ensuring the regular season finale will carry meaning for the Mets on Sunday.

Holmes pitched six scoreless innings, and the bullpen handled the rest in a 5-0 victory over the Marlins at loanDepot park.

The Mets (83-78) began the day tied with Cincinnati for the NL’s third and final

See Full Page