Use this patch to connect your max msp patch to SHIFTR.IO broker via MQTT
id-studiolab/Mqtt-Connection-resources