The Max-as-plugins project that is running on the MOD lives here:
As the README says, that work is based on the official gen~ module export by Cycling74 devs, see https://github.com/Cycling74/gen-plugin-export.
The original project is made with Juce, and only works in Windows and MacOS.
We don't have Juce based plugins working on MOD right now (and it will require some patching to get rid of X11) so I made an experiment to see if it was possible to use DPF the same way it uses Juce.
(DPF is my own very little plugin framework, see https://github.com/DISTRHO/DPF)
At the time I did the experiment Nino was working with me, who knows and uses Max.
We did some experimental plugins first, then Nino made proper good quality ones that we are now using on the MOD.
This is basically how the project came to be.
I have to inform you that I'm not a Max user myself.
I know that Max gen~ objects have an export code option. I simply put the pieces together to make it work as LV2 plugin.
If you're interested on making plugins using this method let me know, I can help you it set it up.
Having this in an automated way might be possible once we have the Developer Console online.