Mets TV analyst Nelson Figueroa has been fired from his job with SNY, The Post has learned.

Figueroa was let go Friday morning after he showed up Thursday in what was described by sources as a state not fit to work. Figueroa allegedly demanded to still appear on SNY’s evening program, “Baseball Night in New York,” but was not permitted to appear.

An SNY spokeswoman confirmed that Figueroa is no longer working at the network. She declined to provide further details.

Figueroa, 45, had been a Mets analyst since 2015, when he replaced Bobby Ojeda. Before this season, Figueroa was demoted as the No. 1 studio analyst, replaced by Todd Zeile, on the Mets’ pregame and postgame shows. Figueroa still appeared on the program, but mostly did spots on SNY’s ancillary programming, such as “SportsNite”.

SNY already was down one analyst. Ron Darling has been out after surgery to have a mass removed from his chest. As a result, Zeile was shifted to game analyst.

Darling is expected to return to the booth this month. Former Mets general manager Jim Duquette is another SNY studio analyst.

Messages left for Figueroa were not immediately returned. His agent, Maury Gostfrand, declined to comment.

Figueroa, a Brooklyn native, is popular among his co-workers and there was shock over the news. Besides SNY, Figueroa has worked in studio for MLB Network.

Figueroa pitched for the Mets for two out of his nine years in the majors. He was 20-35 with a 4.55 ERA.