To cite Macbeth in your MLA works cited, you need the playwright, play title, publisher, and year. A Macbeth works cited example looks like:
Shakespeare, William. Macbeth. The Floating Press, 2009.