Assigning mute to midi keys/pc keyboard

Is it possible to assign the mixers/tracks mute/solo functions to midi keys ie on Maschine, Midi keyboard or even the keyboard and will it also work with linked channels?

Thanks in advance for help

M