foo_mpdsrv is a foobar plugin that gives it a mpd backend for remote control.