It depends on the species of mantis and the species of urchin. I've seen O. scyllarus smash and eat urchins and some neogonodactylids kill urchins and live in their tests. Generally, they have to be really hungry for this to happen, but it can happen.
Roy