Systems and methods for the delivery of linear accelerator radiotherapy in conjunction with magnetic resonance imaging in which components of a linear accelerator may be placed in shielding containers around a gantry, may be connected with RF waveguides, and may employ various systems and methods for magnetic and radio frequency shielding.