NEW YORK >> Mets right-hander Matt Harvey has had elbow-reconstruction surgery, and he will miss the entire 2014 season.

Dr. James Andrews performed the operation that repaired a partial tear of the ulnar collateral ligament in Harvey’s right elbow on Tuesday. Recovery from Tommy John surgery typically takes about a year.

The 24-year-old Harvey learned of the injury in August. The National League’s starter in the All-Star game at Citi Field initially said he could strengthen the muscles around the ligament and avoid surgery.

Harvey went 9-5 with a 2.27 ERA and 191 strikeouts in 178 1-3 innings this year.