In conclusion, our study showed that Gps could increase the proportion of thymic T lymphocytes and their subsets to reduce the risk of MRSA pneumonia after morphine-induced immunosuppression, which mainly affects the cAMP-CREM/CREB-IL-2 pathway. The gene discussed is NBEAL2; the disease is Methicillin-Resistant Staphylococcus Aureus Pneumonia.