The present study shows that an integrated MST1–p38MAPK–MK2/MSK1–CREB signalling axis in DCs directs the generation of the Th17 subset in both autoimmune and fungal infection inflammation. Here, CREB1 is linked to fungal infectious disease.