Collectively, we demonstrated that MGLL functioned as a CB2-dependent switch in regulating the activation of TAMs, exhaustion of CD8+ T cells and subsequent development of cancers. The gene discussed is MGLL; the disease is cancer.