Melt the butter in a skillet over medium heat, add the chopped mushrooms, and cook for 7 to 9 minutes, stirring occasionally, until all their liquid has cooked off and they look golden brown rather than wet.
Let the mushrooms cool slightly while you preheat the oven to 325°F and boil a kettle of water.
Grease a standard 12-cup muffin tin or silicone egg bite mold.
Whisk the eggs, milk, thyme, salt and pepper together in a bowl.
Divide the cooked mushrooms and half of the Swiss cheese among the muffin cups.
Pour the egg mixture over top, filling each cup three-quarters full, then scatter the remaining Swiss cheese over each one.
Set the muffin tin inside a larger pan, pour the boiling water until it reaches halfway up the sides, and transfer to the oven.
Bake for 20 to 24 minutes, until the centers are set with only a faint jiggle and the cheese on top is melted and lightly golden.
Cool in the tin for 5 minutes, run a knife around the edges, and lift the egg bites out to serve warm.
Good to Know
Cook the mushrooms until they actually look dry in the pan, not just softened; this is the step that decides whether the bite is silky or watery. Any firm mushroom works here, so use what is already in the fridge.