William Alexander McGilvray (April 29, 1883 – May 23, 1952) was a professional baseball player. He was an outfielder for one season (1908) with the Cincinnati Reds. For his career, he compiled no hits in 2 at-bats. An alumnus of Stanford University, he was born in Portland, Oregon and died in Denver Colorado at the age of 69.