Not a Mary Sue, actually. There are no self-insertion characters in here. And Hercules, which as far as I can see is the closest thing to a God in the Machine, is no stronger than he is normally portrayed.
Riku isn't overly adored either. Remember, Sora thought he was cheating in the Struggle.