This is a simple, sturdy mount for a standard sized (15.8 x 27.8 x 10-12mm) limit switch. Mounts directly to the x plates.
I used M3 x 10mm screws to mount to the shapeoko and M3 x 20mm screws for the switch.
This mount places the endstop in the ideal position to maximize the travel without hitting the belt clip. You should decide between the long and short version depending on your switch. The long version should work for most switches. If you can use the short version, it provides 6mm more travel.