Would be good to check if the command itself is available at runtime, eg. by running `wp help server`.