McKinney is a city in and the county seat of Collin County, Texas, and the second in population to Plano.