The mongo client can connect with a standard URI:
mongo mongodb://<dbuser>:<dbpassword>@<server>:<port>/<db>
However, mongodump seems to require an awkward syntax breaking this up into different arguments:
mongodump -u dbuser -p dbpassword -h server -p port -d db ...
Is there a quick and easy way to pass a URI to mongodump as well?