Precisely constructed porous composites containing catalytically active nanoparticles can stabilize unstable nanoparticles, thus improving catalytic activity and longevity while preventing agglomeration of active nanoparticles. Herein, we report the confined incorporation of highly active metal nanoparticles within a metal-organic framework support and efficient catalytic performances in the reduction of organic pollutants, such as methylene blue (MB) and 4-nitrophenol (4-NP). UiO-66-based porous composites (M@UiO-66, M = Pt or Ag) containing well-dispersed metal nanoparticles are constructed via the one-step thermal treatment of UiO-66 implanted with metal ions (UiO-66/M