As the search paths in your Terminal environment are not automatically exported to the shell environment created for an KM Execute Shell Script action, you need to either:
- specify the full path to the mpc executable, or
- export the path to the folder containing the executable – see the last couple of posts in this thread, for example: Path to excutables in shell scripts - #5 by JimmyHartington