The present disclosure provides, in some embodiments, compositions, kits, systems, and methods for reducing bacteria on a surface (e.g., a medical device) and preventing and/or treating a bacterial infection (e.g., urinary tract infection) in a subject using IdsD protein or a fragment thereof.