MPC commands not working

I am trying to make my rotary encoder mute volumio however the “mpc toggle” command does not seem to work. Also mpc next and many other commands do not seem to be working.

I am trying to upgrade MPD at the moment but maybe there is something I should know.

Any ideas?