Magee made his senior debut for Ireland in 2005 against Belgium. He was a member of the Ireland teams that won the 2009 Men's EuroHockey Nations Trophy and the 2011 Men's Hockey Champions Challenge II. Magee also helped Ireland win Men's FIH Hockey World League tournaments in 2012, 2015 and 2017. In May 2015 Magee made his 200th senior appearance for Ireland in a game against France. After Ronan Gormley, he became the second Ireland men's international to reach the 200 mark. Gormley reached his double century earlier in May 2015. He was a member of the Ireland team that won the bronze medal at the 2015 Men's EuroHockey Nations Championship. He also represented Ireland at the 2016 Summer Olympics and at the 2018 Men's Hockey World Cup. In June 2017 Magee was a member of the Ireland team that won the Hamburg Masters, defeating Germany 4–2 in the final. He retired from international hockey after Ireland failed to qualify for the 2020 Summer Olympics.