A sectioned view of the model shows the layout:
On the other side, a ramp helps bend the tie toward the MPCNC rail:
Which looks thusly in the realm of applied mathematics:
I’ll leave the OpenSCAD code to your imagination, because the endstop block turns out to be a bit small for the recesses. Eventually, they need a dust cover and some cleanup.