can magnesium chloride and iodine react together?
Magnesium chloride and Iodine with form an equilibrium.  This is a bit of a simplification of the reactions but the dissociated chlorides and free iodine will reversibly react to form iodide and triiodide ions and chlorine.
$$\ce{Cl- + 1/2 I2 &lt;=&gt; 1/2 Cl2 + I-} $$
$$\ce{MgCl2 + I2 &lt;=&gt; MgI2 + Cl2} $$
$$\ce{I- + I2 &lt;=&gt; I3-} $$
$$\ce{MgI2 + 2I &lt;=&gt; Mg(I3)2} $$
The amount of products of this reaction though will not be very appreciable, but yes a very literal sense magnesium chloride and iodine will react.