iot , node mcu sending data from the rx and tx pins

idoes anyone knows how to connect adafruit (any broker) when the data is received from the server it should send to the rx and tx pin of the node mcu . does anyone knows how to do it?

yes, I know. Serial.write or Serial.print.