You also need to set the host where the database is running. In case you are running the command in the same instance, you can use this command
mongodump --authenticationDatabase admin --username root --password MyPW -d MY_DB -h localhost
I just forwarded this information to our documentation team and it will take care of updating the documentation.
Sorry for the inconvenience.