The bottom-up construction of cell-sized compartments programmed with DNA that are capable of sensing the chemical and physical environment remains challenging in synthetic cell engineering. Here, we construct mechanosensitive liposomes with biosensing capability by expressing the E. coli channel MscL and a calcium biosensor using cell-free expression.