Cook gnocchi according to package directions. Set aside a few teaspoons of the water the gnocchi was cooked in.
Meanwhile, heat olive oil in a pan over medium heat.
Slice garlic and add to pan. Cook until soft.
Cut tomatoes in half and add to pan. Cook for a minute, stirring often.
Add gnocchi, cream cheese, salt and pepper. Cook until melted.
Add a teaspoon of the gnocchi water and stir.
Tear basil and add to pan with grated cheese. Stir to combine.
Add more gnocchi water to thin out if its too thick.