You could write a bash script to do this. Something like:
cd <your mp3 dir>
for file in `ls`
echo "<a href=" $file ">" $file "</a>" >> mp3list.html
Of course would need to make the script recursively transverse directories too. 'man ls' will help.