This is a simple C++ script to convert dump files from Mifare Classic Tool Android app to LibNfc binary formats. Conversion can be done in both sided.
g++ converter.cpp -o converter
converter -bin -f mct_dump -o libnfc_dump
converter -mct -f libnfc_dump -o mct_dump