Create a MNE-X plugin
From MNE-CPP Wiki
A detailed tutorial on how you can create your own MNE-X plugin will follow soon. However, a good starting point ist the DummyToolbox plugin, which you can find under \mne-cpp\applications\mne_x\plugins\dummytoolbox or here.