Add an internal API for setting server

No match.