The US born argument doesn’t apply to McCain. Children born to military personnel stationed overseas are waivered those born on base are automatic American citizens. All US bases are American soil. Those born in route are waivered by US Ambassadors.
McCain wasn't born on the base. It had no hospital. He was born off-base in a Panamanian hospital.
As to McCain's legal capacity to act as president under Article II, Sec. 1, Par. 4 of the U S Constitution, that is not correct.
First place, according to a post above, McCain was born in a Panamanian hospital 460 yards from the base. That's probably correct since in 1936 when McCain was born, there was no hospital on the base. So he wasn't born in the US even under the Congressional fiction that bases are US territory.
Further, even if he had been born on the base, in my opinion, the Supreme Court would still hold he was not eligible to hold the office of President because the Constitutional test cannot be resolved by Congressional citizenship legislation.
McCain is clearly a citizen. But I think he flunks the Constitutional eligibility test to be president.