Step 1: Break down the chemistry. A struvite calculus, the classic infection stone formed in alkaline urine by urease-producing organisms, has the formula magnesium ammonium phosphate hexahydrate.
Step 2: Extract the metal ion. From MgNH4PO4 6H2O the metal cation is magnesium, paired with ammonium and phosphate.
Step 3: Eliminate alternatives. Calcium drives oxalate and phosphate stones, while sodium and potassium are not structural cations of struvite. So neither calcium-based option fits.
The defining cation of triple phosphate stones is clear.\[\boxed{\text{Magnesium}}\]