Is that possible to provide the \mpdim command to get (La)TeX dimensions inside the metapost environment ?
\mpdim