For anyone else who reads this later, you're asking about the safety valve, not the thermocouple. The thermocouple is the part that connects to the safety valve, and sits in the burner to detect the flame.
As best I recall, looking at the picture, here's the parts I used, from the supply hose...