Well, I have no idea personally about MDMA, but many, many drugs are very dangerous to those organs and neurons. For example, any anti-fungal is pretty toxic to you too. Or Chemo. Acetaminophen (Tylenol) is not easy on your liver.
Everything in medicine has a risk factor that must be weighed against the benefits.