A biocompatible insulin delivery device is provided comprising an insulin reservoir sealed with a glucose-responsive plug or membrane. The plug functions to release insulin from the reservoir in response to a hyperglycemic glucose concentration and to prevent insulin release from the reservoir in response to hypoglycemic glucose concentration. In one embodiment, the plug is made of a biocompatible polymeric matrix comprising an inorganic component, a stimulus-responsive component and a catalytic component.