Walk to the Contemporary and take a cab from there, or take the monorail or ferry to the Ticket & Transportation Center and grab a cab there. No cabs "at" the Magic Kingdom, just Disney transportation.
From the MK itself, the Contemporary would probably be the only place you could reasonably walk to. If you could "beat" the monorail there is something I can't say.