Is anal mucus discharge part of colitis or proctitis?

Could be but. Also could be due to hemorrhoids, abscess or fistula or tumors of the colon or rectum. If this is chronic , you should be evaluated by a colorectal surgeon or gastroenterologist for a proper evaluation.