Magnesium phosphate
Magnesium phosphate is a general term for salts of magnesium and phosphate appearing in several forms and several hydrates:
Amorphous magnesium phosphate is also claimed.
Safety
Magnesium phosphates are listed on the U.S. FDA's Generally recognized as safe list of substances.