Mayor Bill de Blasio made a rare admission Tuesday — telling Fox Business anchors that the city could do more to get violent vagrants off the streets.

Fox host David Asman asked the mayor if laws that are “meant to protect the mentally ill but end up endangering innocent citizens” should be changed.

De Blasio said he doesn’t believe in changing the laws but, “If someone is a threat to themselves or others they can be taken off the street. We do that routinely.” He added, “I think there’s more scenarios where we can do that.”

“We’re training police to work with social service providers to get out there and actually – more aggressively and creatively – get people off the street,” de Blasio said.

The homelessness crisis is so dire that a group of Upper West Side residents are paying $140,000 a year to have private security guards to patrol their neighborhood after a shelter moved in, The Post has learned.