The goal of such a system would be self-replication[1]. So the material that the stirling engine is made from should be sourced locally from the environment. Perhaps iron or aluminium.
Also make use of molten salt energy storage systems to keep the system running over night.
Calculate your doubling time and extrapolate to determine when you've solved the worlds energy problems, or when you've turned it into grey goo. ;)