Glioblastoma (GBM) is one of the most challenging malignant brain tumors to treat. Herein, we describe a nanoenzyme hemostatic matrix strategy with the tumor cavity in situ application that simultaneously serves as photothermal agent and induces immunogenic cell death after GBM surgical resection to enhance the antitumor immunity and delay tumor recurrence. The hemostatic matrix system (Surgiflo@PCN) contains Surgiflo, a multispace structure that can be used to penetrate different shapes of tumor cavities to prevent postoperative tumor cavity hemorrhage. As well, porous palladium-copper nanoclusters (PCNs) have adjustable enzyme-like activities (oxidase, peroxidase, and catalase) responsible for formation of reactive oxygen species (ROS) under near-infrared (808 nm) laser irradiation. When the Surgiflo@PCN entered the resected tumor cavity, the first action was the direct killing of glioma cells via ROS and photothermal therapy (PTT). The second action was the induction of immunogenic cell death by PCN-enhanced oxidative stress and PTT, which reversed the immunosuppressive tumor microenvironment and enhanced the antitumor immune response. This eradicated residual glioma cells and prevented recurrence. The collective findings demonstrate that Surgiflo@PCN kills glioma cells directly through ROS and PTT and enhances antiglioma immunity and kills glioma cells indirectly. The "one-stone, two-birds" strategy could become an effective photothermal immunotherapy in GBM patients.