One of the pivotal challenges presented to urban road traffic controllers is the effective utilisation of transport infrastructure, as a result of growing urbanisation, the finite network capacity, and of the increasing number of road vehicles. In this context, the arrival of connected vehicles present a unique opportunity for a fundamental change in urban traffic control. Urban traffic control approaches should then take an active role in integrating connected vehicles into the mobility ecosystem in order to maximise benefits.To support such integration, in this work we propose to leverage automated planning, a well-studied branch of artificial intelligence, to perform real-time traffic routing in urban areas. We describe the proposed approach, and we demonstrate its effectiveness using real-world historical data of a UK town.