Do some searches, there are lots of similar posts in this forum.
The general idea is that smaller mantis species (N. wennerae, most Gonodactylus/Gonodactylaceus species, Haptosquilla species, etc) can do fine in a 10 gal. See Roy's list (a sticky in this forum) for specifics. Larger species (Odontodactylus species, Gonodactylaceus ternatensis, Gonodactylus chiraga) need correspondingly larger tanks (adult O. scyllarus need 30-40 gallons).
In general, standard marine predator setups apply. Good water quality (no ammonia, nitrite, low nitrate) with a protein skimmer and 10-20x/hr flow are necessary. Live rock, deep sand bed and refugiums are useful for nutrient control and export. Some species really benefit from a PVC "cave"; others will make their own using available materials. Lighting depends on species but if you aim for a tank that will support zoanthids/mushrooms (PC lighting in the 3-5 W/gal range) you should be fine. Mantis are notoriously messy eaters, generating a lot of waste for their size. Plan accordingly.
Have fun,
Dan