Design and in situ synthesis of a Cu-based porous framework featuring isolated double chain magnetic character.