A 2D layered microporous isonicotinate-supported manganese(ii) metal-organic framework was found to exhibit a reversible crystal-to-amorphous transformation upon the removal and uptake of certain guest molecules. Unsaturated metal centers, generated in the dynamic framework upon activation, were found to facilitate the selective adsorption of CO2versus N 2.