Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Well, assuming you're talking about DIN MIDI, then you'd need a Thunderbolt 3-compatible MIDI interface (or a USB MIDI interface and the appropriate adapters). If you're talking about USB MIDI you can forego the MIDI interface and connect it using the appropriate adapters.

I don't have any specific experience with a setup such as this.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.