How to add a material output node?
You need to switch the render engine you are using:



The nodes are very different between Cycles and Blender Intrenal materials, so you will notice a lot of incompatibilities if you are in the wrong one.