The fabrication of functional nanoplatforms for combating multidrugresistant bacteria is of vital importance. Among them, silver nanoparticles (Ag NPs) have shown an antibacterial effect; however, the remainder cores of Ag NPs after use might have a toxic effect on humans. Thus, Ag ions based materials have been fabricated to substitute Ag NPs for antibacterial applications. Nevertheless, the always-on release state leads to the low biocompatibility, which limits their biomedical applications. In addition, the single effect also restricts their antibacterial ability. Herein, a powerful surface-adaptive, on-demand antimicrobial nanoplatform is fabricated by coating hyaluronic acid (HA) on Ag ions loaded photosensitive metal-organic frameworks to exhibit a strong synergistic effect. The nanoplatform shows good biocompatibility with nontargeted cells, as negatively charged HA can prevent the release of Ag ions. While in the presence of targeted bacteria, the secreted hyaluronidase can degrade HA on the nanoplatform and produce positively charged nanoparticles, which display increased affinity to bacteria and show a strong synergistic antibacterial effect owing to the released Ag ions and generated reactive oxygen species under visible light irradiation. Importantly, due to the outstanding on-demand antimicrobial performance, the nanoplatform also shows great effects on treating multidrug-resistant bacteria infected wounds in mice models.