In a large pot, heat the olive oil over medium heat. Add the diced onion and sauté for about 5 minutes, until translucent.
Add the minced garlic, diced carrots, and celery to the pot. Cook for another 5-7 minutes, stirring occasionally, until the vegetables start to soften.
Stir in the wild rice, cumin, smoked paprika, cinnamon, salt, and pepper, cooking for an additional minute to toast the spices.
Add the pumpkin puree and vegetable broth, then bring to a boil. Reduce the heat to low and let it simmer, covered, for about 40-45 minutes, or until the wild rice is tender.
If using, stir in the coconut milk for creaminess and let the soup warm up for another 5 minutes.
Add the chopped kale or spinach, cooking for an additional 2-3 minutes until wilted. Adjust seasoning with more salt and pepper as needed.
Serve hot, garnished with fresh parsley for a touch of color and flavor.