The synthesis of M-N-C catalysts typically involves pyrolysis of metal, nitrogen, and carbon precursors at high temperatures. Common methods include the use of metal-organic frameworks (MOFs), polymers, and various carbon sources. The process results in the formation of active sites where the metal atoms are coordinated with nitrogen atoms within the carbon matrix.