Eye mucus can also be understand as eye discharges. And the eye discharges often formal in the corneal of the eyes. And usually, the eye discharge is harmless. However, the eye discharge can be a sign of some serious eye problems. As far as i know, eye infection, and some eye diseases can cause eye discharges. If so, you shall treat it immediate. So, consult an eye doctor.