My (limited!) understanding of magnesium in the brewing process is that Mg is required for certain yeast enzymes to function efficiently, and that 10-20 ppm is a good target for my water.
My water report gives me 1 ppm Mg, so I've been adding a few grams of MgSO4 to bring my brewing water up...