A novel nanodot-using protein has been synthesized for the live cell imaging and drug delivery of melatonin in breast cancer cells. Its unique properties hold potential for various biomedical applications in the field of bioimaging and drug delivery.