Libmpd is a library to easily connect to a mpd server. 
It wraps around libmpdclient and provides a higher level api.