 ATP in complexes with proteins , in general , requires the presence of a divalent cation , almost always magnesium , which binds to the ATP phosphate groups . The presence of magnesium greatly decreases the dissociation constant of ATP from its protein binding partner without affecting the ability of the enzyme to catalyze its reaction once the ATP has bound . The presence of magnesium ions can serve as a mechanism for kinase regulation . 
