Preheat oven to 350 degrees. Spray a small baking dish with nonstick baking spray.
Mix cream cheese with pesto. Spread in the bottom of the prepared baking dish. For layered dip spread cream cheese in the bottom of the dish, then spread with a layer of pesto. You'll need about 7 ounces of pesto to make layered dip.
Sprinkle with grated cheese.
Chop sundried tomatoes and sprinkle over the cheese.
Bake 10-15 minutes or until warmed through and the cheese is melted.