This study focused on detecting streptomycin (STR) residues using a luminescent aptasensor encapsulated with aptamer. Utilizing MOF-74-Co with peroxidase-like activity, luminol was enclosed in its pores. The specific STR aptamer acted as a gatekeeper, ensuring excellent performance. Upon exposure to STR, the aptamers detached, releasing luminol and amplifying the luminescent signal through MOF-74-Co catalytic activity. A linear relationship between fluorescence intensity and STR concentration (50 nM ∼ 5 × 10