The aim of the presented study was preparation, analysis of properties, and in vitro characterization of porous shape-memory scaffolds, designed for large bone defects treatment using minimally invasive surgery approach. Biodegradable terpolymers of l-lactide/glycolide/trimethylene carbonate (LA/GL/TMC) and l-lactide/glycolide/ε-caprolactone (LA/GL/Cap) were selected for formulation of these scaffolds. Basic parameters of shape memory behavior (i.e. recovery ratio, recovery time) and changes in morphology (SEM, average porosity) and properties (surface topography, water contact angle, compressive strength) during shape memory cycle were characterized. The scaffolds preserved good mechanical properties (compressive strength about 0.7 to 0.9 MPa) and high porosity (more than 80%) both in initial shape as well as after return from compressed shape. Then the scaffolds in temporary shape were inserted into the model defect of bone tissue at 37°C. After 12 min the defect was filled completely as a result of shape recovery process induced by body temperature. The scaffold obtained from LA/GL/TMC terpolymer was found the most prospective for the planned application thanks to its appropriate recovery time, high recovery ratio (more than 90%), and cytocompatibility in contact with human osteoblasts and chondrocytes.