Just hours before the Mets landed Yoenis Cespedes on a three-year deal, David Wright was defending the slugger’s honor.

The Mets’ captain wanted those who were leaking rumors about Cespedes being a bad clubhouse guy to put their names behind the claims.

Because he couldn’t feel more differently.

“I will put my name behind the statement that Yo was a good teammate on the field and a great teammate off the field,” Wright said in an exclusive phone interview with The News Friday afternoon. “And I hope we find a way to bring him back.

“With that said, and I have said this before, I trust Sandy (Alderson),” Wright added of the Mets general manager. “He took a team that was finishing last in the division and made a National League champion. He deserves our trust.”

That trust was well placed as Alderson found a way to get the deal done, convincing Cespedes to return on a three-year, $75 million deal, even when the Nationals had a five-year $100 million offer on the table.