Create mcinterface.py