Since the aftermarket boost solenoid will work on both the MS3 and MS6 (only change in instructions is mounting location), it will probably work on your CX-7, but you would want to check with the manufacturer to make sure if your "Super Glue" fix should fail.
Another option would be to compare the part numbers on your stock part with the numbers for the MS3/MS6 variations. Because the solenoid is "dumb" and relies on the ECU for its intelligence, I would think it would work. The question probably comes down to whether the wiring harness uses the same plug.
Edit: A quick "Google" search suggests that a user named "Havenmess" on another forum M C X 7 . C O M (without the spaces), may have successfully used this boost solenoid on a CX-7. See what he has to say. Good luck.