efetch nucleotide -> protein ids
If you want the cds in fasta format, try:

esearch -db nucleotide -query MT039887 | efetch -format fasta_cds_na


And for the proteins sequence in fasta format:

elink -db nucleotide -target protein -id MT039887 | efetch -format fasta