01 - Set the oven to 350°F and prepare for baking.
02 - In a medium bowl, beat together cream cheese, sour cream, and mayonnaise until smooth.
03 - Fold in garlic, artichoke hearts, spinach, mozzarella, Parmesan, salt, black pepper, and red pepper flakes if using; mix evenly.
04 - Transfer the mixture into a 1-quart baking dish and spread uniformly.
05 - Bake for 20 to 25 minutes until the surface is bubbly and lightly browned.
06 - Present warm with sliced baguette, tortilla chips, or vegetable sticks.