Williams, 30, started his professional career at West Ham and has played internationally for Cyprus.
City manager Steve Coppell said: "He'll get the chance to impress over the next couple of games."
The club have ended their trial with former Barnet striker John O'Flynn who accompanied the side on their tour of Sweden.
Source: BBC Sport
Source: BBC Sport