Using multiomic spatial analyses and experimental validation, we identify MGAT1, a glycosyltransferase, as a pivotal factor governing tumor immune response. Here, MGAT1 is linked to neoplasm.