PORT ST. LUCIE — The tentacles of the Astros’ illegal sign-stealing scheme touched the Mets with Carlos Beltran’s departure as manager last month, but didn’t stop there.

J.D. Davis and Jake Marisnick, who won a World Series with Houston in 2017 — when MLB says the team used a video feed to steal catchers’ signals — delivered a contrite message Friday, a day after the Astros addressed the matter at their spring training complex.

Davis said he was “ashamed” to have been part of the scheme. Marisnick apologized to fans, players and MLB.

Davis had previously joked about the matter in December, citing his anemic .226 batting average in 2017 as proof he didn’t know what pitches were coming.

“I spoke a little bit prematurely,” Davis said before a workout at Clover Park. “I spoke before or during the MLB investigation, and so I was a rookie [in 2017] and was going up and down the system and I was fighting for my life. MLB called and I cooperated with them and made my statements, and back to the December comment in the interview I spoke prematurely.”

Davis’ comments came after Astros players largely avoided taking responsibility for the scheme. Davis indicated as a young player with the Astros he was in no position to speak up.

Related Video Video length 1 minute 14 seconds 1:14 Astros owner Jim Crane: Sign-stealing 'didn't impact the game' Astros owner Jim Crane: Sign-stealing 'didn't impact the game'

“Everybody who was a part of the 2017 Astros, they feel regrettable about that decision,” Davis said. “Looking back as a young guy, being exposed to that in 2017 and looking back and getting a full season now, of course it’s regrettable and you feel ashamed to be a part of it.”

Marisnick, who arrived to the Mets in a trade with Houston during the offseason, said he felt “terrible” about the situation.

“There was a line and it was definitely crossed and I want to say sorry to the fans, Major League Baseball, my peers and anybody else who was affected by this,” Marisnick said. “When I come in here I don’t want to be a distraction to the Mets clubhouse.”

Marcus Stroman was among the players who lashed out at the Astros, ripping the team on Twitter last month. Marisnick indicated he’s already spoken to the pitcher and anticipates further conversations with teammates.

“Rightfully so, [Stroman] was angry and there’s a lot of people who are angry about this,” Marisnick said. “I’ve had a small conversation with him and I am not going to get into details on it and I am sure we’ll talk as the season goes on. I have to go in there and earn the respect and earn their trust.”

Marisnick was asked if he felt the Astros’ World Series title is tainted.

“You look at that team and how talented that team is and it’s hard to say that team would have won the World Series with or without that,” Marisnick said. “But I can see why people would view it that way.”

A.J. Hinch and Alex Cora were fired as managers in Houston and Boston, respectively, after MLB issued its report last month. Beltran, who was named in the report — and subsequently has been identified as the “Godfather” in the scheme — departed as Mets manager after just 77 days.

“I didn’t really think much of the [sign stealing], going up there fresh and being part of a major league clubhouse and a major league guy,” Davis said. “Maybe what they did was the norm. I had no idea. I had never been in another big league clubhouse to compare the two. Looking back on the details of it, it’s terrible. It’s terrible for the game of baseball.

“Anybody who gets crowned the World Series champion, it’s not only a big deal, but it’s a big deal for the baseball world and how they have earned it and they have gone through the 162 games and through the playoffs. To have the incident is very unfortunate.”