Well, have a look at the example file "python_functions.mfa". Basically, you can either register the function, or call it by name:
import interface

@interface.register('echo')
def...