Cas12a-based systems, which detect specific nucleic acids via collateral cleavage of reporter DNA, display huge potentials for rapid diagnosis of infectious diseases. Here, the Manganese-enhanced Cas12a (MeCas12a) system is described, where manganese is used to increase the detection sensitivity up to 13-fold, enabling the detection of target RNAs as low as five copies. MeCas12a is also highly specific, and is able to distinguish between single nucleotide polymorphisms (SNPs) differing by a single nucleotide. MeCas12a can detect severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) in clinical samples and distinguish between SARS-CoV-2 and Middle East respiratory syndrome coronavirus (MERS-CoV) RNA in simulated samples, thus offering an attractive alternative to other methods for the diagnosis of infectious diseases including COVID-19 and MERS.