GUI access to Mongo DB inside UTM VM

The same way you connected to it without Compass, but inside of compass. Route it through the VM hiarchy to where the server is.

Make sure you have network pass through and so on as appropriate to the VM itself, you’ll essentially connect to the VM just like you would any other remote server, and then from the remote server into the MongoDB Database.

The hard part in answering this, is this depends all on how you’ve configured your host system, your VM, and MongoDB.