Our findings show that MAIT cells are activated and proliferate locally in response to Legionella infection, leading to enhanced immune protection in vivo that is dependent on IFN-γ and GM-CSF. Here, CSF2 is linked to legionellosis.