mtp-connect: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/mtp-connect - from package: libmtp-examples

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/mtp-connect - from package: mtp-tools

You may install the required package with command apt-get install {package}
Error in other languages:
mtp-connect: bevel nie gevind nie
mtp-connect: comandă negăsită
mtp-connect: comando não encontrado
mtp-connect: commande introuvable
mtp-connect: command not found
mtp-connect: käsku ei ole
mtp-connect: không tìm thấy lệnh
mtp-connect: komanda nerasta
mtp-connect: Kommando nicht gefunden.
mtp-connect: kommandot finns inte
mtp-connect: komut yok
mtp-connect: nie znaleziono polecenia
mtp-connect: níor aimsíodh an t-ordú
mtp-connect: no se encontró la orden
mtp-connect: no s'ha trobat l'ordre
mtp-connect: opdracht niet gevonden
mtp-connect: parancs nem található
mtp-connect: perintah tidak ditemukan
mtp-connect: príkaz nenájdený
mtp-connect: příkaz nenalezen
mtp-connect: команда не найдена
mtp-connect: командата не е открита
mtp-connect: 命令找不到
mtp-connect: コマンドが見つかりません