Line cookie sheet with parchment paper, set aside.
In the bowl of a stand mixer, cream butter and sugars until smooth. Beat in egg, peppermint, and vanilla until thoroughly combined.
In a separate medium mixing bowl, whisk together flour, cocoa powder, cornstarch, baking soda, and salt.
With the mixer on low, slowly add the dry ingredients to the wet ingredients until combined. Using a rubber spatula, fold in ¼ cup of M&Ms.
Using a cookie scoop, form balls about 1 tablespoon in size and drop onto prepared baking sheet. Top with 3 extra M&Ms, gently pressing them in.
Cover cookie sheet with plastic wrap and place the cookie sheet in the freezer for 1 hour.
Preheat the oven to 350 degrees Fahrenheit.
Remove cookies from the freezer. Space the cookies evenly on the cookie sheet. Bake cookies for 10-12 minutes, cookies should appear slightly underbaked.
Allow cookies to cool on a cookie sheet for 5 minutes, then transfer to a cooling rack.