Pmx Editor modeling tool for MikuMikuDance models (.pmx) also supports 3D graphics saved in Microsoft Direct-X SDK format (.x). As such it should be quite possible to import .x files to the program, process it and export it as .pmx file, which will eventually achieve x to mpx conversion for you.
Updated: July 15, 2022