I know this isn't what you asked for (kinda like the other posts), but I gave up on MTP a long time ago. I imagine things have changed with MTP somewhat over the years, but I still keep hearing problems, so I haven't bothered trying it again.
I found that adb was much faster in transferring files than MTP (when MTP actually worked). It has relatively simple commands, with adb push being used to push files from the computer to the phone, and adb pull to, well, pull files from the phone.
Code:
adb pull <remote-location>
adb push <local-location> <remote-location>
adb is included in the
android-tools program.