A 3D breathing MOF was synthesized for light-driven acceleration of the site-selective C(sp3)–H activation. The 1D channels of the assembled MOF can encapsulate reaction substrates via a breathing process that were observed by single-crystal X-ray analyses.