Preheat oven to 350 degrees.
To make the pesto, in a small food processor add the fresh basil, pine nuts, olive oil, water, and parmesan cheese. Process until smooth, season with salt and pepper, and transfer into a glass mason jar. *This pesto will make more than what is needed for the muffin recipe.
Heat a medium skillet over medium heat. Add the coconut oil and allow to melt. Add the green onions and sauté until tender. Add the broccoli shavings and bacon and sauté until bacon is cooked and crispy.
Meanwhile in a large bowl crack the eggs and mix in half of the pesto. Line muffins tins with muffin liners or use the preferred silicone muffin pans. When the bacon is done stir the bacon mixture into the eggs.
Pour the mixture evenly into about 12 muffin cups. Bake for 20-30 minutes, or until tops start to brown and eggs look set. Enjoy hot or cold.