For mountain bike endurance, road riding would be my suggestion. Get out there and put in some miles on the road. It can help build stamina and can really help gauge your power output more accurately due to fewer obstacles and less resistance.