01 - Preheat the oven to 400°F. Line a baking sheet with parchment paper and set aside.
02 - Halve the spaghetti squash lengthwise and scoop out the seeds. Place the halves cut side down on the prepared baking sheet. Roast for 35 to 40 minutes until the flesh is tender and shreds easily with a fork.
03 - While the squash roasts, melt the butter in a saucepan over medium heat. Whisk in the flour and cook for 1 minute, stirring constantly, to form a smooth roux.
04 - Gradually whisk in the whole milk until smooth and no lumps remain. Stir in the Dijon mustard, garlic powder, onion powder, salt, and pepper. Continue cooking, stirring constantly, until the sauce thickens, about 3 to 4 minutes.
05 - Remove the saucepan from heat. Add the shredded cheddar and Gruyère cheeses, stirring until fully melted and the sauce is smooth.
06 - Once the squash is cool enough to handle, use a fork to pull the flesh into spaghetti-like strands. Discard the skins.
07 - Add the shredded squash strands to the cheese sauce and toss gently until evenly coated. Transfer the mixture to a greased baking dish.
08 - In a small bowl, combine the gluten-free breadcrumbs, melted butter, and grated Parmesan. Sprinkle the mixture evenly over the squash.
09 - Bake at 400°F for 10 minutes, or until the topping is golden and the sauce is bubbly. Garnish with chopped fresh parsley and serve hot.