MGRS is based on UTM. So it shouldn't be too difficult to convert a UTM coordinate to MGRS.
The document here describes MGRS: earth-info.nga.mil/GandG/coordsys/grids/mgrs.doc
I don't think that there is a library / class that already implements this conversion.