James Anderson will join the England coaching set-up as a fast-bowling mentor after his retirement from Test cricket, Rob Key has confirmed.