Thanks for usingHCM
There are many causes for passing mucus in stool, may not be serious though, you need to evaluated for it. Consult a gastroenterologist
for further management.
It could be due to rectal ulcer, IBS
diseases or some infections too etc
You may need to get complete examination of abdomen, stool test
, few others depending on cause.
Have a good health, take care