Best way to switch magic keyboard and trackpad between work/personal Macs?
I would like to seamlessly switch my Bluetooth devices (headphones, magic keyboard, touch pad) between work / personal Macs without complex repairing.
Has anyone solved this problem?

Yes.
You purchase Bluetooth devices (keyboard, mouse, headset, etc.) that have multiple device support.

The Magic Keyboard, Mouse, and Trackpad are designed to be paired with a single computer (they make no reference to multiple device pairings).  However, products like the Logitech MX series as well as the K380 (typing on it right now) can pair with up to 3 devices and switch with the press of a button.

Sennheiser headphones (my personal choice) can pair with up to 8 devices total and with 2 simultaneously.  There are many other brands (Bose, Apple AirPods, Sony, etc.) that have this functionality.


There’s no software that is going to your initiate your Bluetooth devices to switch from one device to another - you can only imagine the security implications!
Bottom line, to easily switch between devices without complex the re-pairing as you describe, you need devices that support multiple pairings.  If the device doesn’t support it, you’ll need to pair and unpair it each time.