This Silbond stuff is pretty good - I used it on my pellet stove last winter and it's holding up fine.
www.gluehow.com/glues/SilbondRTV
Says it can go up to 500F anf 650F intermittently. It dries red though so if you want something that doesn't show, that site has some food-safe glass to glass...