If you want MQTT support for the RP2040, please ‘thumbs up’ this feature request
Any progress on MQTT support for the Pico W?