Scientists developed the Mangrove Threat Index to predict and prevent degradation of vulnerable mangrove ecosystems.