Preheat your oven to 350°F (175°C) and line a baking sheet with parchment paper.
In a large mixing bowl, combine the rolled oats, chopped nuts, sunflower seeds, shredded coconut, pumpkin pie spice, and salt. Stir well to combine.
In a separate bowl, mix the pumpkin puree, maple syrup, and vanilla extract until smooth.
Pour the wet mixture over the dry ingredients and stir until everything is well-coated.
Spread the granola mixture evenly onto the prepared baking sheet. Bake in the preheated oven for 25-30 minutes, stirring halfway through to ensure even toasting. The granola should be golden brown and fragrant.
Remove the baking sheet from the oven and let the granola cool completely. It will continue to crisp up as it cools.
Once cooled, stir in the dried cranberries or raisins if using.
Notes
Serve in jars for a rustic look or in bowls with yogurt and honey.