Here the authors show MAIT cells confer IFN-γ-mediated protection from lethal infection in a mouse model of Legionella infection, which can be enhanced by synthetic MR1 ligands. This evidence concerns the gene MR1 and infection.