Hello Shivam,
I have not done any SAP IDM - MDG integration however I believe its possible and should be same as SAP IDM - SAP ERP integration.
Follow the same procedure and do the integration in your test system. If you find any error then share the screenshots.
Regards,
C Kumar