I agree with everything that's been said in the comments. IBS can certainly cause mucous in the stool, along with masses, polyps, inflammatory bowel disease, or malabsorption syndromes.
Before attributing it to IBS, I would suggest a colonoscopy to make sure it isn't anything more serious than that. You may also want to consider tests for malabsorption including serum tests for celiac disease or fecal tests for fat malabsorption.
Followup with your personal physician is essential.
This answer is not intended as and does not substitute for medical advice - the information presented is for patient education only. Please see your personal physician for further evaluation of your individual case.
Thanks,
Kevin, M.D.
GI.PA