I looked into this a while back, and it doesn’t exist. That’s the JST SM connector (I sure do wish people would stop calling all of JST’s product by brand only, since they make dozens of connector families!), and it has no board-mount counterpart. However, SM female connectors with just a few pins will fit onto normal headers, and if you really want a nicer fit, the JST NH headers are designed to mate with the same contacts. (NH female and SM female use the same crimp contacts, just in a different housing.)
I’d either use NH headers, or just solder WAGO (or similar) spring terminals onto the PCB and insert the stripped wires directly into that — it’ll be much more reliable than soldering stranded wire directly into a PCB. WAGO 233-503 is 2.54mm pitch, but if you need a lower profile connector (at the expense of larger pitch), look at, for example, 2086-1223, and lower still, 2060-473.