In this article, we obtain a local, BRST-invariant action for QCD at finite temperature, altered from FadeevPopov theory due to the presence of Gribov copies. We carefully derive the horizon condition at finite temperature. Only the zero Matsubara mode is affected, and this result is consistent with the suitably modified Maggiore-Schaden shift, which takes into account temporal periodicity. The large-N limit and other calculational schemes for the magnetic mass and gluon condensates and their relation to the Gribov mass are also discussed.