Chop the onion and sauté in oil until translucent. Add tomatoes and 125 ml of water. Add the granulated stock and thyme and bring to the boil. Season to taste with salt, pepper and sugar.
Put the gnocchi in a baking dish. Pour tomato sauce over it. Bake in the oven for approx. 30 minutes at 200 ° C. 5 minutes before the end of the baking time, cut off the goat cream cheese with a spoon as a cam and spread on the casserole.