Magneto turns the aliens inside out and if they're somehow not metallic? (Which they totally seemed to be.) He uses Manhattan itself to shotgun the portal.
The Avengers are in a different position. The sentinels used mystique's mutation to adapt to any opponent they face. Will that work on them? I have no clue.