Mechanistically, we demonstrated that tumor cell–autonomous SHP2 regulates CD8+ T-cell cytotoxicity downstream of multiple growth factors via regulation of PD-L1 and MHC class I. Our studies also identify the ability of 3D culture environment with ECM signaling to promote PD-L1 via SHP2. The gene discussed is CD8A; the disease is neoplasm.