A gas-rich AGN near the centre of a galaxy cluster at z ~ 1.4