We report here on the molecular self-assembly of 7, 7', 8, 8' tetracyanoquinodimethane (TCNQ) (schematic representation of the molecule on figure 1(b)) on a single-crystal Cu(111) surface, followed by deposition of Fe and Mn, and on the formation of an ordered metal–organic coordination network of Fe (or Mn)–TCNQ units, which contains magnetic ions separated by 0.9 nm.