The server library of d2