Arturia Keylab MK2 Custom Midi Remote Script ( MKII )

OK, here’s what you can try. Go this post and download the installation file (midiRemote) from there:

Basically in your case, after the installation, just grab the file customMIDIPorts.js from the folder MyPersonalSettings and move it one level up, i.e. at the core folder of the script.
Restart Cubase and the remote should now be automatically detected. There is still a chance that this fails, since there’s a known issue with loopMIDI ports in Win11 after its latest updates. See more here (if needed): Loop Midi hidden in Windows 11 25H2 fix