To install it and use it with mpd you have to type:
sudo apt-get install music-applet python-mpd
After installing you can add it to the panel by left clicking on some free space and adding the Music-applet. Then you only have to select in the Options the Mpd Plugin.