Roast the pine nuts in a pan without fat until golden brown. Remove from the pan and allow to cool. Clean and wash the rocket and drain well in a sieve. Peel garlic and dice coarsely.
Cut the tofu into cubes. Cook spaghetti in plenty of boiling salted water for 8-9 minutes until al dente. In the meantime, puree pine nuts, 50 ml olive oil and Parmesan cheese with a blender. Put some rocket leaves aside for garnishing.
Add remaining rocket and 75 ml water and mash briefly. Season with salt, pepper and cayenne pepper. Heat the remaining oil in a frying pan and fry the tofu cubes in it until golden brown while turning. Season with cayenne pepper.
Drain spaghetti, quench briefly, mix with pesto. Sprinkle with tofu on two plates and garnish with the remaining rocket. Serve sprinkled with roasted pine nuts as desired.