Companies that help build President Trump’s wall along the Mexican border would be banned from doing business with the city under a proposal announced Tuesday by Public Advocate Letitia James.

James, a trustee of the city’s largest pension fund, said she would introduce a bill prohibiting the city from signing contracts with firms involved in the wall project.

She’s also planning to examine divesting pension funds from the companies.

“Companies have a choice — help build the wall, a monument to racism and xenophobia, or do business in New York City. We won’t allow you to do both,” James said at a press conference in Foley Square.

“The same cranes President Trump uses for his wall, cannot simply be turned around to build our schools.”

James’ bill wouldn’t just include companies directly involved with construction, but also those handling its “maintenance and management.”

Any company partaking in construction “will be subject to massive protests, negative publicity, and possible litigation,” James’ office said in a written statement.

Hundreds of companies have expressed an interest in being a part of the Trump wall project.

Eighteen companies, with more than $800 million in past and current contracts with the city, responded to a pre-solicitation notice from the Trump Administration for the “design and build of several prototype wall structures in the vicinity of the United States border with Mexico,” according to the public advocate.