Sending a Dry Contact Closure from a Mac

Does anyone know of a piece of hardware that I can connect to a Mac via USB that would allow me to activate a simple analog contact closure? In my use case, I would want to push a button on a Stream Deck and have that activate a Keyboard Maestro script that would close a simple low voltage circuit which is connected to a device that accepts contact closures.

I’m pretty sure I can do this with a USB to serial interface, but I wanted to check here first to see if anyone has done this before and knows of something reliable I can use.