MRI for Cancer. Other names for this test: magnetic resonance imaging, MRI, magnetic resonance, MR, and nuclear magnetic resonance (NMR) imaging. MRI helps doctors find cancer in the body and look for signs that it has spread. MRI also can help doctors plan cancer treatment, like surgery or radiation. MRI is painless and you don’t have to do anything special to get ready for this test.