A glucose-responsive metal–organic framework (MOF)-based insulin delivery nanosystem was developed via a one-pot process. The system relies on the MOF response to glucose stimulation and this can promote insulin delivery.