Mayor de Blasio is accusing Gov. Cuomo of “political posturing” for questioning the city’s ability to manage the homeless crisis, saying it’s the state that has come up short.

“The city has gotten 20,000 people out of shelter and into housing in the last year and a half. That is handling the crisis,” de Blasio said Monday after a street paving announcement on the Upper East Side.

“That’s political posturing. It’s just as simple as that,” the mayor said.

“Now it is a big problem, and it will take a long time to address it more fully,” he went on. “The City of New York is doing this work. It’s time for the state to step up.”

Asked to comment, Cuomo spokeswoman Dani Lever referred to a statement issued last week saying the governor would announce plans in early 2016 to step in with management expertise and resources to help the city deal with the crisis.

The governor’s office says it’s already helping the city cope with near-record homelessness by providing $906 million in the current fiscal year, which includes $340 million from the feds.

City officials have said the state’s support is well below that and has barely budged since fiscal 2011.