Under hosting, only files can be uploaded. If we try to upload a directory through drag and drop, the UI returns an error. If we try to do the same through the upload dialog, a directory can't be selected.

The documentation states that we can upload a file, multiple files or file directories: https://docs.mongodb.com/stitch/hosting/upload-content-to-stitch/#upload-files-to-stitch