Scotland is a country within the United Kingdom, not a sovereign state. It does not have its own capital city in the international sense.
Edinburgh is often called Scotland's "capital" colloquially because it hosts the devolved legislature and is the historic royal seat, but constitutionally, the UK has one capital: London.