The increased CSF IL-17 or IFN-γ in C. neoformans or tuberculous meningitis was minimized by anti-fungal or anti-tuberculous therapies, respectively. Here, IL17A is linked to meningeal tuberculosis.