We engineer membrane interfaces where molecular separation, chemical reaction and switchable transport happen in the same place.