I've been getting into 31-EDO lately, and it's a really mixed bag across various software pieces. The most likely path to success seems to be using MPE and DAW tunings, but afaik Kontakt doesn't support MPE at all.
I'm wondering if anyone has had luck with the recent Kontakt versions and/or libraries.
The one workaround I did find was using the wrench/spanner editor and loading one of the preset scripts for "notes per octave", then picking the number of octave steps (in this case, 31). Regular MIDI notes would convert to the right values after that. But as has probably been pointed out on here, almost all new NI instruments have removed the wrench editor function, and I don't see any other way to adjust that. (Some libraries produce comically bad results with the tuning anyway, but more than I would expect just work, and well.)
Thankfully a lot of the older instruments still have the wrench, but I'm worried that this is going to change as they are updated for high DPI and such.