You need a long cage, medium cage works on the stand just, but you don’t get hardly any chain wrap with the b tension all the way in..
Which I think necessitates it being a designated “1” model mech, as the 22 mech is only in short and medium.
10spd mtb mechs may work as they have the same cable actuation, when I tried with an X7 it indexed but the mech didn’t have the range to get to the top cog.
11spd mtb mechs have different cable pull so don’t work (I tried a gx).
I ended up with an apex 1 mech, about £50. I run rival 22 shifters on 1×11 10-42.