I noticed that the mpd server must be configured in another way if you want to publish it to other nodes in the network.
For this:- install mpd
- set password and port for mpd
- add music to the mpd directory
- extract the tar from ajaxmp in a php enabled web server
- copy config.php.dist to config.php
- edit the mpd parameters: host, port and password
- copy user.txt.example to user.txt
- add for each person needing access a username and a password separated by tabs