Prepare spaghetti according to package directions and brown ground meat.
Place cooked spaghetti in a large bowl and mix cottage cheese, half of the Parmesan and half of the mozzarella cheese, and egg together. In a separate bowl mix together sauce, browned meat and seasonings.
Pour meat sauce into spaghetti and cheese and mix to combine.
Pour into a large greased casserole dish. Sprinkle the top with remaining shredded cheese.
Bake on 350 for 30 minutes till bubbly and cheese is melted.