[Purdue Owl][1] says, "In the case of a group project, list all names of the contributors, giving each name its own line in the header, followed by the remaining MLA header requirements" [1]: https://owl.purdue.edu/owl/research_and_citation/mla_style/mla_formatting_and_style_guide/mla_general_format.html