Send metronome (Sonic Pi to Max)

I want to control and sync my metronome from Sonic Pi to my Max/Msp Patch. Any one know how i need? It is possible directly or i need a OSC software in the middle?
Thanks!!