These data suggest that the anti-inflammatory effects of MEL on mastitis caused by K. pneumoniae is related to inhibition of the production of IL-1β, IL-6, and TNF-α in BMECs. Here, TNF is linked to mastitis.