The primary mechanism of action for AMPs involves disrupting the microbial cell membrane. This disruption can occur through several pathways, such as forming pores in the membrane, disrupting membrane integrity, and interfering with intracellular functions. Some AMPs also have immunomodulatory functions, enhancing the body's adaptive immune response by recruiting immune cells to the site of infection.