There is the smallest midi interface for Mesa Boogie amps.
http://eng.emcustom.eu/midi-interface.html
Just replace original footswitch with midi interface and one midi cable and one cable from interface to amp footswitch socket.
No external power needed.