Can anyone help with connecting NodeMCU-ESP8266 to Arduino Mega 2560?

I am using MLX90614 infrared temperature sensor and US100 ultrasonic sensor and Mercury M6e reader compatible with arduino Mega 2560.

I will try to compile the code on Node MCU, but if it doesn't support - only option is I have to integrate the NodeMCU with Mega board, so that I can read the data in web.