PITTSBURGH — Carlos Beltran will be all ears if the Mets want to make him an offer this offseason.

The All-Star outfielder didn’t leave New York on the best of terms with Mets management, but told The Post that wouldn’t preclude him from a return engagement with the club.

“Maybe I’ll see you, maybe I won’t,” Beltran said laughing when asked about a return to the Mets. “I’m going to listen to everybody and we’ll see what happens.”

According to sources, Beltran spoke with Mets COO Jeff Wilpon at the All-Star Game in July, and the two sides may have patched up old wounds. Beltran would only acknowledge on Saturday that he spoke with Wilpon, but declined to specify what was discussed.

“I have nothing against them,” said Beltran, whose Cardinals face the Pirates in Sunday’s Game 3 of the National League Division Series at PNC Park. The series is tied 1-1. “I would say that was unfortunate to go through that whole thing with my surgery, but I’m pretty good in letting things go.”

The rift occurred before the 2010 season, when Beltran underwent knee surgery and the Mets claimed he never received proper approval from the club. A war of words ensued, and both sides remained bitter as Beltran spent half the season rehabbing the knee.

Later that season, the Mets made an issue of Beltran’s absence from a team visit to Walter Reed Army Medical Center. Beltran had a meeting that day for the foundation he established and couldn’t attend.

Beltran, who was dealt to the Giants for Zack Wheeler near the trade deadline in 2011, is completing a two-year, $26 million contract with the Cardinals and could be just the short-term option general manager Sandy Alderson seeks to bolster his outfield.

The Mets will have some level of interest in the 36-year-old Beltran, according to a source, but also have concerns about his diminished range in right field and believe he might be better suited for a DH role in the American League.

This season, Beltran hit .296 with 24 homers and 84 RBIs for the Cardinals. On Thursday, he homered against A.J. Burnett to lead the Cardinals’ 9-1 victory in Game 1 of the series. The blast was the 15th of his postseason career.

Beltran, who hit 149 homers for the Mets over seven seasons, was asked if he could envision eventually returning to Citi Field for induction into the team’s Hall of Fame. Last Sunday, Mike Piazza received the honor.

“I don’t know, man. I don’t know if I’m a Hall of Famer or not,” Beltran said. “Piazza played many years there and he did a good job, so he deserves it. When I retire, we’ll see what happens.”

Beltran said he was happy to hear manager Terry Collins received a new contract from the Mets. Collins managed Beltran in 2011, helping facilitate his move from center to right field.

“I’m happy for him because he is a good guy,” Beltran said. “To me, he was good. He would communicate, had a plan. It’s not about treating me any different, but communication in this game is very valuable. I am happy for him. Hopefully they do well.”