SCOTTSDALE, Ariz. — Retired first baseman Aubrey Huff, a key force behind the Giants’ drought-breaking World Series championship in 2010, has been told he will not be invited to a 10-year reunion at Oracle Park this season because of a series of social-media posts the Giants considered vulgar.

“Earlier this month, we reached out to Aubrey Huff to let him know that he will not be included in the upcoming 2010 World Series Championship reunion,” the Giants said Monday night in a statement.

“Aubrey has made multiple comments on social media that are unacceptable and run counter to the values of our organization. While we appreciate the many contributions that Aubrey made to the 2010 championship season, we stand by our decision.”

The Giants sent the statement to The Chronicle after they gave it to the Athletic, which first reported the Giants’ decision.

Huff has not been shy about tweeting his conservative political views, but several recent posts drew widespread criticism and even outrage.

In one, he smiled as he held up a paper shooting-range target full of bullet holes and said, “Getting my boys trained up on how to use a gun in the unlikely event @BernieSanders beats @realDonaldTrump in 2020. In which case knowing how to effectively use a gun under socialism will be a must. By the way, most of the head shots were theirs. @NRA @WatchChad #2ndAmendment.”

In an even more decried tweet, responding to another that suggested the United States should invade Iran and bring some of their attractive women here, Huff said, “Let’s get a flight over and kidnap about 10 each. We can bring them back here as they fan us and feed us grapes, amongst other things.” He later deleted the tweet, which he said was intended as a joke.

Huff last month tweeted criticism of the Giants for hiring a woman to coach, Alyssa Nakken, terming it political correctness, but the team said it decided not to invite Huff to the reunion before the Nakken tweet.

Huff did not immediately return a request for comment but told the Athletic he was “shocked” and “disappointed.”

“If it wasn't for me, they wouldn’t be having a reunion,” he said. “But if they want to stick with their politically correct, progressive (b.s.), that’s fine.”

Henry Schulman is a San Francisco Chronicle staff writer.