Any process in which mRNA is transported to, or maintained in, a specific location within the oocyte and/or syncytial embryo that contributes to the specification of the anterior/posterior axis.
intracellular mRNA localisation involved in anterior/posterior axis specification