MongoDB running as a local instance exposes a local port where it’s running. Similarly, a cloud-based MongoDB instance would have a URL and port. Any GUI like Robo3T or NoSQL Booster can connect to the MongoDB instance by providing the URL and port of the instance.