Preheat your oven to 350°F (175°C). Line a baking sheet with parchment paper to prevent sticking and ensure easy cleanup.
In a medium saucepan over low heat, combine the unsweetened chocolate and butter. Stir frequently until melted and smooth. Remove from heat and let it cool slightly.
In a large mixing bowl, whisk together the sugar and the melted chocolate mixture until well combined. Add the eggs, one at a time, whisking well after each addition. Stir in the vanilla extract.
In a separate bowl, whisk together the flour and salt. Gradually add the flour mixture to the wet ingredients, stirring gently until just combined. Be careful not to overmix!
Gently fold in 1 cup of the Patriotic M&Ms or semisweet chocolate chips, reserving the rest for topping the cookies.
Using a cookie scoop or tablespoon, drop rounded balls of dough onto the prepared baking sheet, spacing them about 2 inches apart. Gently press the reserved M&Ms on top of each cookie.
Bake in the preheated oven for 12-15 minutes, or until the edges are set but the centers remain soft. The cookies will continue to firm up as they cool.
Allow the cookies to cool on the baking sheet for 5 minutes before transferring them to a wire rack to cool completely. Enjoy these scrumptious Red White and Blue Brownie Cookies warm or at room temperature!