A superconducting magnet for the superconducting magnetic energy storage system (SMES) fabricated by NbTi monolithic conductor is cooled down and operated at the temperature of liquid helium. The large-scale superconducting magnet with four parallel solenoids was designed, fabricated and tested for the high storage energy density SMES. The superconducting magnet stores 2 MJ of energy with a current of 490 A and a peak magnetic field of 5.4 T. Two GM cryo-coolers cool the whole system to realize zero evaporation of liquid helium. The high temperature superconducting current leads of Bi2223 are used and cooled through one GM cryocooler. The ZnO resistor is used to protect the superconducting magnet. In the paper, the system of superconducting magnet is introduced in detail for the superconducting magnetic energy storage system.