Server and CLI in one