A while ago, we had a sample of Mdbg-Python extension that let you use python to script MDbg. It was based off a pre-release Iron Python, and things have since broken. We updated at least once to keep up with the breaks. We're aware of the problems and actively updating it to use the latest python (1.0 RC2). We hope to include it in the next drop of the Mdbg sample, which should come "soon" (we can't commit to any exact dates). Stay tuned ...