Scott Rice’s magical rookie ride is over. The southpaw reliever who spent his first 14 seasons in professional career toiling in the minors will undergo season-ending surgery for a sports hernia.

Rice said the procedure is tentatively scheduled for Tuesday in Philadelphia.

The Mets promoted left-hander Sean Henn from Triple-A Las Vegas to replace Rice in the bullpen. Henn last pitched in the majors in 2009 for the Orioles.

“I couldn’t have asked for a better rookie season” Rice 31 said. “The opportunity Sandy (Alderson) Terry (Collins) and the entire Mets organization gave me – I’m so thankful.”

Rice revealed he first felt pain when the Mets were in Atlanta in mid-June. He managed the discomfort but it grew unbearable in the last week to the point where he has trouble walking.

Sunday in Washington he required two hours of attention from the training staff to prepare for his appearance. He allowed two runs on two hits in one-third of an inning.

Rice made his final appearance of the season Tuesday in Atlanta and said he couldn’t walk after the game. The pain did not diminish when he woke up the next morning and he decided he could not continue pitching this season.