Origins of mcpi-scratch

My son has been learning programming with Scratch. But moving sprites around the screen will only keep his attention for so long, so we’ve been trying to figure out how to get Scratch programs to manipulate Minecraft.