With the urgent demand for energy revolution and consumption under China's “30–60” dual carbon target, a configuration-scheduling dual-layer optimization model considering energy storage and demand response for the multi-microgrid–integrated energy system is proposed to improve new. With the urgent demand for energy revolution and consumption under China's “30–60” dual carbon target, a configuration-scheduling dual-layer optimization model considering energy storage and demand response for the multi-microgrid–integrated energy system is proposed to improve new. With the urgent demand for energy revolution and consumption under China's “30–60” dual carbon target, a configuration-scheduling dual-layer optimization model considering energy storage and demand response for the multi-microgrid–integrated energy system is proposed to improve new energy. To address the collaborative optimization challenge in multi-microgrid systems with significant renewable energy integration, this study presents a dual-layer optimization model incorporating power-hydrogen coupling. Firstly, a hydrogen energy system coupling framework including photovoltaics. Therefore, this study proposes a capacity optimization configuration method for multi-microgrids with shared hydrogen storage.