Wash the pumpkin thoroughly, remove the seeds, and steam it.
Scoop out the inside of the steamed pumpkin and place it in a bowl.
Crack an egg into the hollowed-out pumpkin.
Season with salt and pepper.
Bake in an air fryer or oven until the egg is cooked.
Top with desired toppings, such as parsley, and serve.