Metal-organic frameworks (MOFs) are frequently utilized as sensing materials. Unfortunately, the low conductivity of MOFs hinder their further application in electrochemical determination. To overcome this limitation, a novel modification strategy for MOFs was proposed, establishing an electrochemical determination method for cyanides in Baijiu. Co and Ni were synergistically used as the metal active centers, with meso-Tetra(4-carboxyphenyl)porphine (TCPP) and Ferrocenecarboxylic acid (Fc-COOH) serving as the main ligands, synthesizing Ni/Co-MOF-TCPP-Fc through a hydrothermal method. The prepared MOF exhibited improved conductivity and stable ratio signals, enabling rapid and sensitive determination of cyanides. The screen-printed carbon electrodes (SPCE) were suitable for in situ and real-time determination of cyanide by electrochemical sensors due to their portability, low cost, and ease of mass production. A logarithmic linear response in the range of 0.196~44 ng/mL was demonstrated by this method, and the limit of detection (LOD) was 0.052 ng/mL. Compared with other methods, the sensor was constructed by a one-step synthesis method, which greatly simplifies the analysis process, and the determination time required was only 4 min. During natural cyanide determinations, recommended readouts match well with GC-MS with less than 5.9% relative error. Moreover, this electrochemical sensor presented a promising method for assessing the safety of cyanides in Baijiu.