Egyptian tradition credited the founding of Memphis to Menes, a king remembered as having first united Upper and Lower Egypt and founded the First Dynasty around 3100 BCE, choosing the site precisely because it sat at the geographic hinge between the two halves of the newly joined kingdom; modern historians treat Menes as at least partly legendary, often identified with the archaeologically attested king Narmer, but the city's role as Egypt's political and religious center from the very start of the dynastic period is not in doubt.
Memphis was, above all, the cult center of Ptah, a creator god imagined as a divine craftsman who brought the world into being through thought and speech, and whose great temple, the Hut-ka-Ptah, "the enclosure of the ka of Ptah," is generally understood to lie behind Aigyptos, the Greek name for Egypt, by way of Hikuptah, a corruption of the temple's own name that passed into Greek before becoming, eventually, the Latin and then English word Egypt.
Ptah headed a divine family known as the Memphite Triad alongside his consort Sekhmet, a lioness headed goddess of war and healing, and their son Nefertem, a god associated with the lotus, and a theological text known as the Memphite Theology, preserved on a much later stone inscribed under the Kushite king Shabaka, presents a distinctively Memphite account of creation centered on Ptah's thought and utterance rather than on the more widespread Heliopolitan creation narrative built around the sun god Atum.