A single-photon server with just one atom