In a small bowl, mix together the butter, pumpkin and egg until fully combined. Add in the sugar, flour, baking soda and pumpkin pie spice until fully incorporated.
Pour the batter into one (or two) microwave-safe mugs, and microwave for 2 minutes. Let stand for a minute before serving.
Top with frosting or whipping cream if you desire.