I can't find the mitthesis class and I'm not really sure what you are asking. The following MWE may help you on your way (or may not).
% centertocprob.tex SE 528927 Center ToC et al
% centered Large Bold ToC title
You commented out the use of the hyperref package, thus causing the \hypersetup command not to be recognized. Get rid of the %s in front of lines 32--37. See the documentation for the hyperref package regarding setting colors for the various link types.