Malignant bone tumors result in high rates of disability and death and are difficult to treat in terms of killing tumors and repairing bone defects. Compared with other hyperthermia strategies, magnetic hyperthermia has become an effective therapy for treating malignant bone tumors due to its lack of depth limitations. However, tumor cells express heat shock protein (HSP) to resist hyperthermia, which reduces its curative effect. Competitive ATP consumption can reduce HSP production; fortunately, the basic principle of starvation therapy by glucose oxidase (GOx) is consuming glucose to control ATP production, thereby restricting HSP generation. We developed a triple-functional magnetic gel (Fe3O4/GOx/MgCO3@PLGA) as a magnetic bone repair hydrogels (MBRs) with liquid‒solid phase transition capability to drive magneto-thermal effects to simultaneously trigger GOx release and inhibit ATP production, reducing HSP expression and thereby achieving synergistic therapy for osteosarcoma treatment. Moreover, magnetic hyperthermia improves the effect of starvation therapy on the hypoxic microenvironment and achieves a reciprocal strengthening therapeutic effect. We further demonstrated that in situ MBRs injection effectively suppressed tumor growth in 143B osteosarcoma tumor-bearing mice and an in-situ bone tumor model in the rabbit tibial plateau. More importantly, our study also showed that liquid MBRs could effectively match bone defects and accelerate their reconstruction via magnesium ion release and enhanced osteogenic differentiation to augment the regeneration of bone defects caused by bone tumors, which generates fresh insight into malignant bone tumor treatment and the acceleration of bone defect repair.