MKR1010 Sending Data Wirelessly into MaxMSP

Hello! I´m wondering if anyone knows how to connect Arduino to MaxMSP wirelessly? I´m using the Arduino MKR 1010 and cannot be connected to the computer via a USB cable. Would people recommend OSC or through web server? I want to sent Piezo Analog Sensor data into MaxMSP and have done it through serial while having the arduino connected to the computer, but now that the project is going "unplugged" I´m struggling quite a lot.