I am trying to copy a simple list item but I get an error about multi-factor authentication.
Yes, if you have Multi-factor auth enabled it could affect the action. There are 2 ways to solve it
You can disable MFA or
Create App passwords
Please find more in the documentation