McNair was promoted to temporary lieutenant colonel in August 1917, soon after his arrival in France, and was assigned to the American Expeditionary Forces (AEF) headquarters as chief of artillery training and tactics in the AEF staff's training division (G-5).
In June 1919, McNair was named to the AEF board which was charged with studying the problem of how to provide adequate mobile fire support to infantry during combat.