CampingMPC is a web-based MPD client written in Camping.
You will also need MochiKit.js (put it in the js/ directory) and JSON library.