Wash the pumpkin thoroughly, remove the seeds, and slice thinly.
Whisk the eggs well and season with salt and pepper.
Heat olive oil in a frying pan and grill the pumpkin slices on both sides until golden brown.
Place the grilled pumpkin into a small oven-safe dish.
Pour the egg mixture over the pumpkin and top with cheese.
Bake in a 180°C oven for 10-15 minutes until the eggs are set, then remove from the oven.