Allan McGregor's agent has confirmed that the Scotland goalkeeper is closing in on a switch to Premier League newcomers Hull City.